From 9145224a6c91a5fcdbaf695086800d19f2a86906 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 24 May 2022 02:10:47 +0000 Subject: [PATCH 1/9] chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1 PiperOrigin-RevId: 450543911 Source-Link: https://github.com/googleapis/googleapis/commit/55283447ab72f10b6c2571d770af0498b593e84f Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9 --- .../v1/ArtifactRegistryGrpc.java | 3494 ----------------- .../v1beta2/ArtifactRegistryGrpc.java | 3275 --------------- .../v1/ArtifactRegistryClient.java | 60 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 7 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 + .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 2628 +++++++++++++ .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 150 + .../artifactregistry/v1/ArtifactProto.java | 119 + .../v1/CreateRepositoryRequest.java | 541 +-- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 +-- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 29 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 127 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 29 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 29 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportAptArtifactsRequest.java | 526 +-- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportYumArtifactsRequest.java | 526 +-- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 +-- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 +-- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 ++- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 +-- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 +-- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 +-- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 +-- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 +-- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 +-- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 ++- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 +-- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 9 + .../devtools/artifactregistry/v1/Package.java | 571 ++- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 122 + .../artifactregistry/v1/ProjectSettings.java | 498 +-- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 ++++----- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 203 + .../artifactregistry/v1/ServiceProto.java | 265 ++ .../artifactregistry/v1/SettingsProto.java | 108 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 147 + .../v1/UpdateProjectSettingsRequest.java | 481 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 +-- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 141 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 ++- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 148 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../v1beta2/ArtifactRegistryClient.java | 49 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 7 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 + .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1beta2/ArtifactRegistryGrpc.java | 2456 ++++++++++++ .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 157 + .../v1beta2/CreateRepositoryRequest.java | 556 +-- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 +-- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 29 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 29 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 29 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 130 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 29 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 29 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 29 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 29 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportAptArtifactsRequest.java | 580 ++- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportYumArtifactsRequest.java | 580 ++- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 +-- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 +-- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 +-- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 +-- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 +-- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 +-- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 +-- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 +-- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 ++- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 +-- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 9 + .../artifactregistry/v1beta2/Package.java | 578 ++- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 115 + .../v1beta2/ProjectSettings.java | 506 +-- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 ++++----- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 208 + .../v1beta2/ServiceProto.java | 262 ++ .../v1beta2/SettingsProto.java | 112 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 151 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 +-- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 +-- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 145 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 ++- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 155 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 .../artifactregistry/v1/AptArtifactProto.java | 168 - .../artifactregistry/v1/ArtifactProto.java | 137 - .../v1/DeleteRepositoryRequestOrBuilder.java | 54 - .../v1/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1/FileProto.java | 146 - .../v1/GetDockerImageRequestOrBuilder.java | 54 - .../v1/GetFileRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../v1/GetRepositoryRequestOrBuilder.java | 54 - .../v1/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1/OperationMetadataOrBuilder.java | 24 - .../artifactregistry/v1/PackageProto.java | 141 - .../artifactregistry/v1/RepositoryProto.java | 238 -- .../artifactregistry/v1/ServiceProto.java | 278 -- .../artifactregistry/v1/SettingsProto.java | 125 - .../artifactregistry/v1/TagProto.java | 168 - .../artifactregistry/v1/VersionProto.java | 160 - .../artifactregistry/v1/YumArtifactProto.java | 166 - .../v1beta2/AptArtifactProto.java | 175 - .../DeletePackageRequestOrBuilder.java | 50 - .../DeleteRepositoryRequestOrBuilder.java | 54 - .../v1beta2/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1beta2/FileProto.java | 149 - .../v1beta2/GetFileRequestOrBuilder.java | 50 - .../v1beta2/GetPackageRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../GetRepositoryRequestOrBuilder.java | 54 - .../v1beta2/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1beta2/OperationMetadataOrBuilder.java | 24 - .../v1beta2/PackageProto.java | 134 - .../v1beta2/RepositoryProto.java | 243 -- .../v1beta2/ServiceProto.java | 275 -- .../v1beta2/SettingsProto.java | 129 - .../artifactregistry/v1beta2/TagProto.java | 172 - .../v1beta2/VersionProto.java | 164 - .../v1beta2/YumArtifactProto.java | 173 - 301 files changed, 27933 insertions(+), 43524 deletions(-) delete mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index 8dd4c5ad..00000000 --- a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3494 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = - getListDockerImagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = - getGetDockerImageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDockerImagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDockerImageMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.DockerImage> - getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Package> - getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Version> - getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.File> - getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages( - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) - responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage( - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index 63baa4ed..00000000 --- a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = - "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2 - .UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Package> - getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Version> - getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.File> - getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 60015329..1fe6e366 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; @@ -54,11 +53,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -82,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -151,7 +150,6 @@ public static final ArtifactRegistryClient create(ArtifactRegistrySettings setti * Constructs an instance of ArtifactRegistryClient, using the given stub for making calls. This * is for advanced usage - prefer using create(ArtifactRegistrySettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ArtifactRegistryClient create(ArtifactRegistryStub stub) { return new ArtifactRegistryClient(stub); } @@ -167,7 +165,6 @@ protected ArtifactRegistryClient(ArtifactRegistrySettings settings) throws IOExc this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ArtifactRegistryClient(ArtifactRegistryStub stub) { this.settings = null; this.stub = stub; @@ -178,7 +175,6 @@ public final ArtifactRegistrySettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ArtifactRegistryStub getStub() { return stub; } @@ -2762,10 +2758,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2815,10 +2808,7 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2839,10 +2829,7 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2892,10 +2879,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2916,10 +2900,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2968,10 +2949,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2991,10 +2969,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3043,10 +3018,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 4d59eaef..49e8df73 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java @@ -33,6 +33,7 @@ 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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -54,10 +55,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index a58cd64c..16275bcf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index c03da748..491a01f8 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -114,10 +114,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -718,7 +718,6 @@ public UnaryCallSettings getIamPolicySettings() { return updateProjectSettingsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ArtifactRegistryStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index 45335bd2..e0d1bb10 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,6 +84,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..e3ceeee1 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,2628 @@ +package com.google.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDockerImagesMethod() { + io.grpc.MethodDescriptor getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDockerImageMethod() { + io.grpc.MethodDescriptor getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 7117c539..448922b7 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,16 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -617,10 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -629,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -639,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = - (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,103 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -787,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -811,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -839,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -860,8 +786,7 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -876,39 +801,38 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -916,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -959,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -972,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -994,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1016,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1078,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1100,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1122,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1184,103 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1288,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1310,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1332,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1394,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1416,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1438,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1500,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1515,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1564,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1578,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1602,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index 24f2f3e6..ccbfbfba 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..443f6d5f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,150 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..d2e38912 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,119 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { "DockerImages", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 28dde700..73cce54c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -504,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -552,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -569,50 +516,46 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -643,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -657,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -681,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -705,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -773,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -795,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -817,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -879,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -940,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -960,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -972,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -986,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1006,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1015,13 +903,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
@@ -1032,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1047,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index 9816339e..cc064ca5 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index 31cca5ed..bbdbbb62 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,14 +220,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ @java.lang.Override @@ -268,8 +232,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -282,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -320,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,19 +293,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -369,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -497,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -544,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -561,39 +516,38 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -601,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -633,8 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -646,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -668,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -690,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -752,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -774,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -796,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -858,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -919,15 +838,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -938,8 +856,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -950,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -964,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -984,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -993,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1010,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1025,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1052,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -1066,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index 491f3b74..ffc90b5d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index 8f10f939..a84494eb 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @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); } @@ -600,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -615,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index e347b777..8ad16aca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder - extends +public interface DeletePackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index 29138c37..e9c9f3e3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..8199afc8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 0f4b7556..492ecb7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..2a237596 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index 74d8170f..bb45536b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,134 +229,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -388,15 +355,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -430,8 +397,7 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -442,39 +408,38 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -482,9 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -511,8 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -546,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -568,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -646,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,13 +637,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -709,16 +651,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +675,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index fbc7fd65..a845238c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index cc31dfd0..e11da581 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DockerImage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -51,15 +33,16 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,79 +62,71 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tags_.add(s);
-              break;
+            uri_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tags_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 32:
-            {
-              imageSizeBytes_ = input.readInt64();
-              break;
+            tags_.add(s);
+            break;
+          }
+          case 32: {
+
+            imageSizeBytes_ = input.readInt64();
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (uploadTime_ != null) {
+              subBuilder = uploadTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (uploadTime_ != null) {
-                subBuilder = uploadTime_.toBuilder();
-              }
-              uploadTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(uploadTime_);
-                uploadTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(uploadTime_);
+              uploadTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              mediaType_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            mediaType_ = s;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (buildTime_ != null) {
+              subBuilder = buildTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (buildTime_ != null) {
-                subBuilder = buildTime_.toBuilder();
-              }
-              buildTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(buildTime_);
-                buildTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(buildTime_);
+              buildTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +134,8 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -168,27 +144,22 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class,
-            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -203,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -212,15 +182,14 @@ 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. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -235,15 +204,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -254,8 +224,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -263,7 +231,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -272,15 +239,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -288,15 +254,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -307,42 +274,34 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -350,26 +309,22 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -377,7 +332,6 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -388,14 +342,11 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -403,14 +354,11 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ @java.lang.Override @@ -418,8 +366,6 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** - * - * *
    * Time the image was uploaded.
    * 
@@ -434,8 +380,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -444,7 +388,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; - * * @return The mediaType. */ @java.lang.Override @@ -453,15 +396,14 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -470,15 +412,16 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -489,8 +432,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -500,7 +441,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -508,8 +448,6 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -519,7 +457,6 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ @java.lang.Override @@ -527,8 +464,6 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -545,7 +480,6 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -557,7 +491,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -603,16 +538,19 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -622,26 +560,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other =
-        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getUri().equals(other.getUri())) return false;
-    if (!getTagsList().equals(other.getTagsList())) return false;
-    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getUri()
+        .equals(other.getUri())) return false;
+    if (!getTagsList()
+        .equals(other.getTagsList())) return false;
+    if (getImageSizeBytes()
+        != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime().equals(other.getUploadTime())) return false;
+      if (!getUploadTime()
+          .equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType().equals(other.getMediaType())) return false;
+    if (!getMediaType()
+        .equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime().equals(other.getBuildTime())) return false;
+      if (!getBuildTime()
+          .equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -663,7 +607,8 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -680,103 +625,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -788,23 +726,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class,
-              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -812,15 +748,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -850,9 +787,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -871,8 +808,7 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result =
-          new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -901,39 +837,38 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -941,8 +876,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -993,8 +927,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1003,13 +936,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1024,13 +954,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1039,8 +969,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1055,14 +983,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1070,8 +999,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1086,22 +1013,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1116,18 +1041,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1142,16 +1064,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1159,8 +1081,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1168,13 +1088,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1183,8 +1103,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1192,14 +1110,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1207,8 +1126,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1216,22 +1133,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1239,18 +1154,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1258,67 +1170,57 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1326,90 +1228,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -1419,32 +1311,28 @@ public Builder clearTags() { return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_; + private long imageSizeBytes_ ; /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1452,7 +1340,6 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -1460,8 +1347,6 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1469,19 +1354,16 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; - * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1489,11 +1371,10 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; - * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1501,47 +1382,34 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - uploadTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1562,15 +1430,14 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1581,8 +1448,6 @@ public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1593,7 +1458,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1605,8 +1470,6 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1625,8 +1488,6 @@ public Builder clearUploadTime() { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1634,13 +1495,11 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1651,14 +1510,11 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1666,17 +1522,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), getParentForChildren(), isClean()); + uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), + getParentForChildren(), + isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1684,8 +1537,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1694,13 +1545,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; - * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1709,8 +1560,6 @@ public java.lang.String getMediaType() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1719,14 +1568,15 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1734,8 +1584,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1744,22 +1592,20 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
      * 
* * string media_type = 6; - * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType(java.lang.String value) { + public Builder setMediaType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1768,18 +1614,15 @@ public Builder setMediaType(java.lang.String value) {
      * 
* * string media_type = 6; - * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1788,16 +1631,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; - * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1805,13 +1648,8 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - buildTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1821,15 +1659,12 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1839,7 +1674,6 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1850,8 +1684,6 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1876,8 +1708,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1888,7 +1718,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1899,8 +1730,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1915,7 +1744,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1927,8 +1756,6 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1951,8 +1778,6 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1964,13 +1789,11 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-
+      
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1985,12 +1808,11 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -2002,24 +1824,21 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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> 
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(), getParentForChildren(), isClean());
+        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(),
+                getParentForChildren(),
+                isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
-
     @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);
     }
 
@@ -2029,12 +1848,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -2043,16 +1862,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DockerImage parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new DockerImage(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DockerImage parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new DockerImage(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2067,4 +1886,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 23262b8c..320f9fe3 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder
-    extends
+public interface DockerImageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,13 +22,10 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -61,14 +40,12 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -76,13 +53,10 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -90,65 +64,53 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -156,38 +118,29 @@ public interface DockerImageOrBuilder
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
@@ -197,8 +150,6 @@ public interface DockerImageOrBuilder com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -207,13 +158,10 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The mediaType. */ java.lang.String getMediaType(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -222,14 +170,12 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString getMediaTypeBytes(); + com.google.protobuf.ByteString + getMediaTypeBytes(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -239,13 +185,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -255,13 +198,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index ce45d8df..6c52e7ff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -156,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -184,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -193,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -209,15 +178,16 @@ 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 { @@ -228,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -246,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -259,8 +224,6 @@ public java.util.List getHashesLis return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -268,13 +231,11 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -286,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -299,8 +258,6 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -308,21 +265,19 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -330,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -345,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -361,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -376,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -391,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -407,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -423,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -454,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -498,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -520,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = - (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -574,127 +523,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -702,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -765,8 +705,7 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = - new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -798,39 +737,38 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); } else { super.mergeFrom(other); return this; @@ -864,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -911,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -940,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -949,14 +881,15 @@ 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 { @@ -964,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -973,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -996,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1015,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1047,60 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1115,8 +1026,6 @@ public java.util.List getHashesLis } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1131,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1147,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1169,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1189,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1211,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1233,15 +1134,14 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes( + com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1252,8 +1152,6 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder bu return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1272,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1284,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1292,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1311,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1330,44 +1223,39 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1375,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1384,48 +1270,42 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1433,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1494,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1513,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1525,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1537,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1557,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1566,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1583,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1598,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1616,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1677,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1696,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1708,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1720,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1740,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1749,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1766,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1781,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1799,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1821,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1843,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1914,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1928,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 1fcb148d..647b4921 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..b27baa2c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,127 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index f871a896..6adf4d6d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDockerImageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = - new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -630,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..36dc5023 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index 3f8a0fad..ecee545f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = - (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = - new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..8a742290 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index dedb9b29..10915d11 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 76ccce9a..4875af8f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder - extends +public interface GetPackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 3627d4ab..020c6eea 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..35c962cf --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 583d7cc7..048b50e2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -513,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -537,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -629,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..323cd5a0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index 7b8ad00d..b8001a05 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = - (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = - new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..9c1264a9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index acecfccc..87991098 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -455,8 +408,7 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -467,39 +419,38 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -535,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -570,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -592,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -654,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -722,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -770,16 +690,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,4 +714,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index e84fc09e..da00f2d4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index c47f21a7..1c03545a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,49 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -279,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -333,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -363,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,16 +331,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = - (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +361,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -537,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -578,8 +522,7 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = - new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -590,39 +533,38 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); } else { super.mergeFrom(other); return this; @@ -668,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -736,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -761,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -776,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -825,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -839,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index be94835f..d8e3f7f4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index 9c9acac2..bb7e4513 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 421580d3..01ea3691 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 98066536..7ae60022 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index af98cad2..5fc859fc 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 7d39fbec..4ca45085 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..c24b837d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 559cb1cf..8259205d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index 7d91344c..f70fc673 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 6f0a6f0a..2dc5cfd3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -125,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getAp return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index da3615ea..7c5e3ba3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 8a621732..6cdd7e6a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index f04be65c..845066fd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index 85d8b6ca..d6815dc2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index 0771527b..a4a49e76 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 14ed5254..1833db60 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fba0379 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index 82bcbf4b..b2984499 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 2f447836..38d3e8bd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index c3ec50ce..8a51de85 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -125,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getYu return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index 50fe871f..e42fa5ab 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index 5102e43d..d180c24c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -497,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -510,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -584,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -620,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -642,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -719,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -756,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -778,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -800,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 30b4accd..5ba1a827 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder - extends +public interface ListDockerImagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index ac237ea9..4ab80e6e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dockerImages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.DockerImage.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dockerImages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -115,27 +94,22 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** - * - * *
    * The docker images returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getDo return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -174,8 +144,6 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** - * - * *
    * The docker images returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** - * - * *
    * The docker images returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDockerImagesList() + .equals(other.getDockerImagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -456,17 +411,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) { getDockerImagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDockerImagesFieldBuilder() - : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDockerImagesFieldBuilder() : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList( - dockerImages_); + dockerImages_ = new java.util.ArrayList(dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> - dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesList() { + public java.util.List getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -669,8 +605,6 @@ private void ensureDockerImagesIsMutable() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -685,8 +619,6 @@ public int getDockerImagesCount() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** - * - * *
      * The docker images returned.
      * 
@@ -724,8 +654,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -744,8 +672,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -766,8 +692,6 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -789,8 +713,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -809,8 +731,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -829,8 +749,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearDockerImages() { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeDockerImages(int index) { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The docker images returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); - } else { + return dockerImages_.get(index); } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** - * - * *
      * The docker images returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index e0d919e8..c2023b9e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder - extends +public interface ListDockerImagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List getDockerImagesList(); + java.util.List + getDockerImagesList(); /** - * - * *
    * The docker images returned.
    * 
@@ -44,8 +25,6 @@ public interface ListDockerImagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** - * - * *
    * The docker images returned.
    * 
@@ -54,51 +33,43 @@ public interface ListDockerImagesResponseOrBuilder */ int getDockerImagesCount(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 411fed6c..3d55fa27 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -46,15 +28,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +99,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -162,30 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -196,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -211,7 +183,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -220,15 +191,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -242,15 +212,16 @@ 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 { @@ -261,14 +232,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -279,14 +247,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -295,29 +260,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -328,14 +293,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -344,29 +306,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; } } /** - * - * *
    * The field to order the results by.
    * 
* * 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 { @@ -375,7 +337,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -416,7 +378,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -435,19 +398,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.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,127 +442,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -603,15 +560,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +587,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -650,8 +608,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -665,39 +622,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -705,8 +661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -745,8 +700,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -758,21 +712,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -781,22 +733,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -804,64 +755,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,8 +813,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -884,13 +826,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -899,8 +841,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -914,14 +854,15 @@ 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 { @@ -929,8 +870,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -944,22 +883,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -973,18 +910,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -998,31 +932,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1030,36 +961,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1067,20 +992,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1089,21 +1012,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1111,61 +1033,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1173,20 +1088,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The field to order the results by.
      * 
* * 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; @@ -1195,21 +1108,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The field to order the results by.
      * 
* * 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 { @@ -1217,68 +1129,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1288,12 +1193,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1302,16 +1207,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1326,4 +1231,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index b5e92315..1c397163 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,71 +60,58 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index e084224a..9ec076ca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -113,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getFilesList return files_; } /** - * - * *
    * The files returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -172,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -453,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getFilesList } } /** - * - * *
      * The files returned.
      * 
@@ -675,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
@@ -733,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -755,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles( + com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder bui return this; } /** - * - * *
      * The files returned.
      * 
@@ -816,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i } } /** - * - * *
      * The files returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index 1233e9a3..c336fc53 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index 71e6ae6d..a0f89423 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -496,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -509,39 +472,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -581,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -616,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -638,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -715,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -752,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -774,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -796,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -881,16 +812,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index d503daf4..060f2b1f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index de6c46c8..3a627415 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -114,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getPackag return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -173,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -454,17 +411,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) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getPackag } } /** - * - * *
      * The packages returned.
      * 
@@ -679,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -737,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -759,15 +692,14 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -801,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -821,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -879,20 +802,17 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( + int index) { return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** - * - * *
      * The packages returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { - return getPackagesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( + int index) { + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index b1ee1f50..c8f36957 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index 82160ab1..f1d9d7e9 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -457,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -501,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -514,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -626,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -650,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -770,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -792,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -814,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index 90b52eae..fde383a0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 803da10f..1eb77068 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -115,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getRep return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -174,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -456,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -669,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -685,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** - * - * *
      * The repositories returned.
      * 
@@ -724,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -744,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -766,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -789,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -809,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -829,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** - * - * *
      * The repositories returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index 1654957b..ac72a01a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,51 +33,43 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 968a6cf3..86938b7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -574,8 +535,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -588,39 +548,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -664,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -677,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -699,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -721,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -795,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -810,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -822,14 +765,15 @@ 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 { @@ -837,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -849,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -875,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -897,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -929,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -966,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -988,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1010,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1095,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 0bf5fee0..338c640b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index f93eed7a..c34a1b83 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -113,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTagsList() return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -172,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -453,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getTagsList() } } /** - * - * *
      * The tags returned.
      * 
@@ -675,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
@@ -733,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -755,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder build return this; } /** - * - * *
      * The tags returned.
      * 
@@ -816,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int } } /** - * - * *
      * The tags returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 8a0a118f..53f7130a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index b73c0779..7e27c2e6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -625,8 +571,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -640,39 +585,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; @@ -680,8 +624,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -719,8 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -754,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -776,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -853,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -890,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -912,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -934,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -996,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1064,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1089,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1111,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1133,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1204,12 +1088,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1218,16 +1102,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,4 +1126,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index bbed7b15..039f3d9b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 1acb4394..7ef4d76b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -114,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getVersio return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -173,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -454,17 +411,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) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getVersio } } /** - * - * *
      * The versions returned.
      * 
@@ -679,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -737,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -759,15 +692,14 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -801,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -821,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -879,20 +802,17 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( + int index) { return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** - * - * *
      * The versions returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { - return getVersionsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( + int index) { + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index 610ee3e0..d7fd7ec0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index 6737d59a..d94e616c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = - (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = - new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -432,16 +400,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..e3a558ac --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index 1736129a..b8110e19 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,33 +106,29 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -172,15 +144,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -188,15 +159,16 @@ 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 { @@ -207,14 +179,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -223,29 +192,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -256,14 +225,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -271,14 +237,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -286,8 +249,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -302,15 +263,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -318,15 +276,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -334,8 +289,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -349,7 +302,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -361,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -390,10 +343,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -403,23 +358,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other =
-        (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -449,127 +407,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -577,15 +526,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -630,8 +580,7 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = - new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -652,39 +601,38 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); } else { super.mergeFrom(other); return this; @@ -692,8 +640,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -739,8 +686,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -748,13 +693,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -763,8 +708,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -772,14 +715,15 @@ 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 { @@ -787,8 +731,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -796,22 +738,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -819,18 +759,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -838,16 +775,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -855,20 +792,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -877,21 +812,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -899,61 +833,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -961,47 +888,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1022,15 +936,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1041,8 +954,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1053,7 +964,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1065,8 +976,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1085,8 +994,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1094,13 +1001,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1111,14 +1016,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1126,17 +1028,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1144,49 +1043,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1208,8 +1094,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1217,7 +1101,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1228,8 +1113,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1241,7 +1124,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1253,8 +1136,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1274,8 +1155,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1284,13 +1163,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1302,14 +1179,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1318,24 +1192,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1345,12 +1216,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1359,16 +1230,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1383,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 23149f99..94ad9830 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -33,13 +15,10 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -47,63 +26,50 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -113,34 +79,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..7b437e4a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa" +
+      "ckage.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032\037google/pro" +
+      "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" +
+      "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" +
+      "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" +
+      "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" +
+      "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" +
+      "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
+      "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" +
+      "ckages\030\001 \003(\0132,.google.devtools.artifactr" +
+      "egistry.v1.Package\022\027\n\017next_page_token\030\002 " +
+      "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" +
+      "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" +
+      "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" +
+      "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" +
+      "g.org/genproto/googleapis/devtools/artif" +
+      "actregistry/v1;artifactregistry\252\002 Google" +
+      ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" +
+      "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" +
+      "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 3be659f8..4f9ae440 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = - (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -654,8 +578,7 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = - new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -666,39 +589,38 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -706,8 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -734,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -747,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -758,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -773,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -784,14 +700,15 @@ 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 { @@ -799,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -810,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -835,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -856,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -873,112 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -988,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -1002,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index fba88646..0eb8aa35 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2b2685c2..2a08d6b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,51 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -860,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -880,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -896,16 +761,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -919,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -927,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1031,8 +883,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -1041,42 +891,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                    .class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1088,22 +934,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-            .getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1111,10 +954,8 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -1125,54 +966,46 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom(
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
+        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other
-            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1194,14 +1027,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
-            null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1211,17 +1041,14 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_;
+      private boolean allowSnapshotOverwrites_ ;
       /**
-       *
-       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1229,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1268,113 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1387,33 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1457,36 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1494,61 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1557,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1591,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1645,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1676,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1701,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1713,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1740,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1757,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1778,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1792,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1807,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1822,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1838,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1853,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1868,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1884,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1894,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1903,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1920,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1937,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1949,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1973,9 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1989,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2031,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = - (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2105,146 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -2252,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2291,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2312,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = - new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2347,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); } else { super.mergeFrom(other); return this; @@ -2387,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2400,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2412,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2441,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2451,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2469,21 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2491,49 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2547,19 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2570,29 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2608,15 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2635,101 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2738,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2761,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2826,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2894,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2919,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2941,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2963,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3049,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3061,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3105,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3127,11 +2744,12 @@ public 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();
       }
@@ -3139,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3155,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3180,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3204,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3272,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3291,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3303,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3315,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3335,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3344,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3361,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3376,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3394,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3455,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3474,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3486,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3498,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3518,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3527,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3544,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3559,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3577,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3587,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3602,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3612,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3627,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3637,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3661,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3681,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3707,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3721,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3745,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 7d3073f7..2924cb46 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,150 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -157,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -169,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -186,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -202,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -219,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -257,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -292,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -302,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -317,10 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..c29b26fa --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,203 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..cf63a61d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..db067c93 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 685934c5..2fdced91 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class,
-            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = - (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class,
-              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result =
-          new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -580,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -595,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -606,14 +566,15 @@ 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 { @@ -621,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -657,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -678,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -705,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -720,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -730,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -755,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -779,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -799,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -839,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index 5051621c..b4c2b5af 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..a0942140 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 942b8253..68968ca2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -180,22 +146,18 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -232,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -261,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,21 +233,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -315,145 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,16 +422,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -496,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -516,51 +462,46 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -586,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -682,22 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -709,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -729,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -772,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -790,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -851,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -870,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -882,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -894,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -914,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -940,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -955,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -982,32 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1019,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 21bc4289..4b6628d6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
@@ -59,32 +35,24 @@ public interface UpdateProjectSettingsRequestOrBuilder com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 5076bc12..04973de1 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -448,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -498,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -518,50 +468,46 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -587,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -662,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -682,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -694,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -708,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -728,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -737,13 +658,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -754,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -769,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -787,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -801,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -817,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -854,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -864,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -875,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -889,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -901,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -923,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -934,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -953,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -970,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -997,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 3fd08ad0..2c406dff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 067c0f7b..578f5f70 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,14 +127,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ @java.lang.Override @@ -168,8 +139,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -184,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -193,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -201,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -210,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -234,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -246,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -263,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -276,21 +239,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -317,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -445,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -494,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -514,39 +468,38 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -554,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -581,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -655,15 +593,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -674,8 +611,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -686,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -700,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -720,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -729,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -746,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -761,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -779,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -793,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -809,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -846,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -856,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -867,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -881,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -893,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -915,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -926,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -945,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -962,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -989,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -1003,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1027,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 08f6fdb8..11c3721e 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index 75a5b997..f20b3e2a 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,83 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -168,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class,
-            com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -197,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -206,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -223,15 +190,16 @@ 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 { @@ -242,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -258,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -291,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -306,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -321,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -337,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -352,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -367,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -383,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,8 +344,6 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -407,13 +352,11 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -426,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -440,8 +381,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -450,15 +389,14 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -467,7 +405,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -475,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -485,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -493,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -510,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -557,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -576,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other =
-        (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -635,104 +576,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -741,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class,
-              com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -765,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -811,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -832,8 +764,7 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result =
-          new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -869,39 +800,38 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -909,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -943,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -983,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -998,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1013,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1023,14 +946,15 @@ 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 { @@ -1038,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1048,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1072,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1092,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1109,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1131,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1153,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1215,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1276,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1295,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1307,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1319,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1339,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1348,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1365,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1380,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1398,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1459,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1478,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1490,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1502,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1522,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1531,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1548,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1563,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1614,8 +1458,6 @@ public java.util.List getRelatedTag
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1631,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1657,7 +1495,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1671,8 +1510,6 @@ public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1692,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1715,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1724,7 +1557,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1738,8 +1572,6 @@ public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1759,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1780,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1793,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1801,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1821,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1841,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1850,12 +1673,11 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
+        int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1863,16 +1685,14 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+        int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1880,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1889,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1899,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1912,13 +1728,12 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
+        int index) {
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1926,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag,
-            com.google.devtools.artifactregistry.v1.Tag.Builder,
-            com.google.devtools.artifactregistry.v1.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1.Tag,
-                com.google.devtools.artifactregistry.v1.Tag.Builder,
-                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1950,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1964,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1982,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1995,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2004,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2021,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2030,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2044,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2053,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2072,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2081,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2096,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2105,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2123,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2143,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2174,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -2188,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2212,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index ec27cb32..c340f728 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..e4184f9e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,141 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve" +
+      "rsion.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032-google/dev" +
+      "tools/artifactregistry/v1/tag.proto\032\034goo" +
+      "gle/protobuf/struct.proto\032\037google/protob" +
+      "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" +
+      " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" +
+      "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" +
+      "date_time\030\006 \001(\0132\032.google.protobuf.Timest" +
+      "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" +
+      "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" +
+      "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" +
+      "\222\001\n\'artifactregistry.googleapis.com/Vers" +
+      "ion\022gprojects/{project}/locations/{locat" +
+      "ion}/repositories/{repository}/packages/" +
+      "{package}/versions/{version}\"\243\001\n\023ListVer" +
+      "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" +
+      "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" +
+      "\01620.google.devtools.artifactregistry.v1." +
+      "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" +
+      "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" +
+      "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" +
+      " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" +
+      "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" +
+      "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" +
+      "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" +
+      ".org/genproto/googleapis/devtools/artifa" +
+      "ctregistry/v1;artifactregistry\252\002 Google." +
+      "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" +
+      "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" +
+      "tifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index c210c72e..95df7c74 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index d66ad118..6b5bbc99 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,16 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -528,10 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -544,18 +480,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = - (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -581,126 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -708,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -753,8 +683,7 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = - new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -767,39 +696,38 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -807,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -843,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -878,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -900,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -962,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -984,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1006,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1068,103 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1172,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1194,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1216,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1301,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index a9ba7500..856803b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..1ec8e04d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index 50503b9f..66fc7c60 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -151,7 +151,6 @@ public static final ArtifactRegistryClient create(ArtifactRegistrySettings setti * Constructs an instance of ArtifactRegistryClient, using the given stub for making calls. This * is for advanced usage - prefer using create(ArtifactRegistrySettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ArtifactRegistryClient create(ArtifactRegistryStub stub) { return new ArtifactRegistryClient(stub); } @@ -167,7 +166,6 @@ protected ArtifactRegistryClient(ArtifactRegistrySettings settings) throws IOExc this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ArtifactRegistryClient(ArtifactRegistryStub stub) { this.settings = null; this.stub = stub; @@ -178,7 +176,6 @@ public final ArtifactRegistrySettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ArtifactRegistryStub getStub() { return stub; } @@ -2521,10 +2518,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2574,10 +2568,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2598,10 +2589,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2650,10 +2638,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2673,10 +2658,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2725,10 +2707,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 3968efc5..88a97d40 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -32,6 +32,7 @@ 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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -53,10 +54,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index 2ee2d5f4..ce7d976f 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index ca96c19f..99f45e74 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -109,10 +109,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -639,7 +639,6 @@ public UnaryCallSettings getIamPolicySettings() { return updateProjectSettingsSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ArtifactRegistryStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index 322bd754..d73deacf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,6 +80,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..bf2e6f04 --- /dev/null +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,2456 @@ +package com.google.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index 3a443e11..e93240c0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,17 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -618,11 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -631,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -641,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = - (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,104 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -790,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -814,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -842,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -863,8 +786,7 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -879,39 +801,38 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -919,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -962,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -975,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -997,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1019,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1103,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1125,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1187,104 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1292,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1314,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1336,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1398,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1420,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1442,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1504,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1519,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1568,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1582,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1606,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index a2e2ce07..7b69ee0c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..eabaa203 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,157 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 6f9907ad..5eeab420 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,145 +334,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,16 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -555,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -572,51 +516,46 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -647,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -685,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -709,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -777,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -799,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -821,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -883,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -944,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -964,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -976,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -990,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1010,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1019,32 +903,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1052,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index ab7b42c5..d37c1ca1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index 6368405b..a7c5ac4d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,25 +220,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -284,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,19 +293,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -371,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -499,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -547,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -564,39 +516,38 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -604,9 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -637,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -651,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -673,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -695,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -757,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -779,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -801,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -863,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -924,8 +838,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -944,8 +856,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -956,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -970,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -990,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -999,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1016,14 +918,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1031,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1058,13 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -1073,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index e1d4607a..ed0dccb9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 798482af..5a0dd439 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -397,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to delete.
      * 
* * 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; @@ -511,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * 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 { @@ -533,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -604,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..0df0c1b7 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 4f00f9d2..3c964b02 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -402,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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; @@ -519,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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 { @@ -543,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..b29d4e2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index 3b450a74..ee36923c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -616,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..9be43f2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index 21e0714d..bcba882b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,152 +229,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -432,8 +397,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -444,50 +408,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -514,9 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -550,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -572,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -650,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -698,32 +637,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,8 +672,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index fd9ab4b4..ddd7183c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index 19f64d27..deb68c74 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,75 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Hash.parser(), - extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -158,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -186,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -195,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -211,15 +178,16 @@ 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 { @@ -230,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -248,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -261,8 +224,6 @@ public java.util.List getHash return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -270,13 +231,11 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -288,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -301,8 +258,6 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -310,21 +265,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -332,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -347,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -363,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -378,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -393,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -409,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -425,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -456,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -500,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -522,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = - (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -556,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -577,126 +524,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -704,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -746,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -767,8 +705,7 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = - new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -800,39 +737,38 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); } else { super.mergeFrom(other); return this; @@ -840,8 +776,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -867,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -905,8 +839,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -915,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -929,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -944,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -953,14 +881,15 @@ 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 { @@ -968,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -977,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1000,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1019,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1051,61 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(hashes_); + hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1120,8 +1026,6 @@ public java.util.List getHash } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1136,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1152,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1174,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1194,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1216,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,8 +1134,6 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1258,8 +1152,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1278,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1290,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1298,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1317,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1336,20 +1223,17 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1359,22 +1243,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1382,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1391,49 +1270,42 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1441,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1502,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1521,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1533,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1545,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1565,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1574,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1591,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1606,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1624,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1685,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1704,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1716,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1728,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1748,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1757,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1774,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1789,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1807,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1829,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1851,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1922,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1936,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1960,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 6fc1602c..2e62a87b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..c605f981 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index 40e5c38d..ffea4ef0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..13fd2797 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 3dd93b09..43d6340d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..0521cb2b --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 0d6fbab2..417bc48f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,22 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -520,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -544,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..cfd70f3e --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index 83e7a0f8..cc80cc1e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..ad095e24 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index c4aa4f3b..6c60c285 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..31d1c627 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 231f4729..3855cba7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,14 +387,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -456,8 +408,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -468,39 +419,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -508,9 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -537,9 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -573,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -595,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -657,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -725,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,32 +676,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,8 +711,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index 991586f3..d1805c3b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index 9607e51d..b4fae80f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,51 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -281,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -335,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -365,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -381,16 +331,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = - (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,126 +362,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -539,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -580,8 +522,7 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = - new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -592,39 +533,38 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); } else { super.mergeFrom(other); return this; @@ -632,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -659,8 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -740,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -765,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -780,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -829,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -843,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index 9d78385d..c6b768e2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index 04d5baf3..c0d03b94 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 527043cc..70dcd816 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 6fff5d5d..5a2e2a7f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 3f05b9eb..182a79d5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index 946c4375..d8258e0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..343d02be --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 2b0078e5..6c9cd42b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 4a4b7721..89605ee4 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index 6a012515..c1fbf2d9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -127,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -820,18 +710,14 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -889,14 +769,11 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAllAptArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder - getAptArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptAr } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder - addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 2e5dee92..5ddcd053 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 8ed9ed4b..36b62705 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index e9835bbe..97ab4125 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 6167e033..5cfb0ca7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index e113a0a5..3f093feb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index cf222560..27468485 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9ea4c192 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index b66c8aef..c0b1b67b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 195badb7..3becef22 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index c3da7687..db94a329 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -127,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -820,18 +710,14 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -889,14 +769,11 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addAllYumArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder - getYumArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumAr } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder - addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 2bd2c9e0..1a00b12c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 9dfbe84c..64d4e0fa 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -154,30 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -188,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -203,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -212,15 +184,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -234,15 +205,16 @@ 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 { @@ -253,14 +225,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -271,14 +240,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -287,29 +253,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -318,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -356,7 +322,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -372,18 +339,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.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +379,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -537,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -583,8 +543,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -597,39 +556,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -637,9 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -674,9 +630,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,21 +642,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -711,22 +663,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -734,64 +685,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -799,8 +743,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -814,13 +756,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -829,8 +771,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -844,14 +784,15 @@ 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 { @@ -859,8 +800,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -874,22 +813,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -903,18 +840,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -928,31 +862,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -960,36 +891,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -997,20 +922,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1019,21 +942,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1041,68 +963,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,13 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1127,16 +1041,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,4 +1065,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index 6f9f9767..cee62b03 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,46 +60,38 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index 3c6f7a82..fe6a1c0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.File.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -115,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getFile return files_; } /** - * - * *
    * The files returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -174,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -196,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -455,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -503,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -564,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -585,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -617,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -664,8 +605,6 @@ public java.util.List getFile } } /** - * - * *
      * The files returned.
      * 
@@ -680,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -696,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -718,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -738,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -760,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -782,8 +713,6 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -802,8 +731,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -822,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -834,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -861,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -880,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** - * - * *
      * The files returned.
      * 
@@ -934,49 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -984,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1007,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1030,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 4631c3b8..1923defe 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index 5594f7fa..f95a285a 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -178,15 +154,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -197,14 +170,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -213,29 +183,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -244,7 +214,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +249,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -292,17 +263,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +299,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -454,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +440,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -498,8 +461,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -511,50 +473,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -585,9 +543,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,20 +555,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,21 +575,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -643,77 +596,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -721,38 +664,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -760,20 +697,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -782,21 +717,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -804,68 +738,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,32 +802,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,8 +837,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index 1eb63b7c..f687007f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,89 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index c08e1c3b..0d1ba786 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Package.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -115,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getP return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -174,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList( - packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getP } } /** - * - * *
      * The packages returned.
      * 
@@ -686,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** - * - * *
      * The packages returned.
      * 
@@ -725,8 +654,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -745,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -767,8 +692,6 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** - * - * *
      * The packages returned.
      * 
@@ -790,8 +713,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -810,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -830,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -888,8 +802,6 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** - * - * *
      * The packages returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 0064727e..6cf4a9c8 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index a893add6..ddf035ff 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,145 +298,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,16 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); } @java.lang.Override @@ -504,8 +460,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -517,51 +472,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -630,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -654,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -774,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -796,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -818,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index ec5a0872..a32408c1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index d08c8a9d..f5b7cb40 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.Repository>(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -116,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -144,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -158,13 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -176,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -189,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -206,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -223,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -284,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -297,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); } @java.lang.Override @@ -509,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,51 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -593,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -625,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -675,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -691,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -707,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** - * - * *
      * The repositories returned.
      * 
@@ -730,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -739,8 +661,7 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -751,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -773,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -796,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -816,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -825,8 +738,7 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -837,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -846,11 +756,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -858,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -877,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -896,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -909,34 +813,28 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoriesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( + int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -944,22 +842,17 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder - addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -968,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -1005,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1028,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1051,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 93b11eea..1fc05520 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,19 +33,15 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
@@ -77,29 +52,24 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d80c37d7..d1bbfedb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,14 +514,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -575,8 +535,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -589,39 +548,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -629,9 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -666,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -679,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -701,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -723,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -785,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -797,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -812,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -824,14 +765,15 @@ 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 { @@ -839,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -851,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -877,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -899,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -931,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -968,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -990,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1012,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,13 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1098,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index 7748ba51..c77afd7e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index a9ed7183..e80a6480 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -114,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getTagsL return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -173,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -454,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -616,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getTagsL } } /** - * - * *
      * The tags returned.
      * 
@@ -679,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -737,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -759,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -801,8 +731,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -821,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -879,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -924,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** - * - * *
      * The tags returned.
      * 
@@ -933,48 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -982,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1005,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1028,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1117,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index 1b93bf53..fa38f042 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index ae29fb6b..059a89b1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,14 +550,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -626,8 +571,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -641,50 +585,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -722,9 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -758,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -780,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -857,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -916,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -938,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1000,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1068,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1093,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1115,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1137,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1208,32 +1088,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,8 +1123,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index e2fbbdde..2660ddc5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 933564d2..06865407 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Version.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -115,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getV return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -174,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList( - versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getV } } /** - * - * *
      * The versions returned.
      * 
@@ -686,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** - * - * *
      * The versions returned.
      * 
@@ -725,8 +654,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -745,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -767,8 +692,6 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** - * - * *
      * The versions returned.
      * 
@@ -790,8 +713,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -810,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -830,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -888,8 +802,6 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** - * - * *
      * The versions returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index 45175f20..bcc3b1a6 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index 6aa3d9e4..b6258b3e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = - new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -409,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -421,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -458,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..9d96bd08 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index 03b7ad70..d63f5fe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,40 +106,35 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -171,30 +143,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; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -205,14 +177,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -221,29 +190,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -254,14 +223,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -269,14 +235,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -284,8 +247,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -300,15 +261,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -316,15 +274,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -332,8 +287,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -347,7 +300,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -359,7 +311,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -388,10 +341,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -401,23 +356,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other =
-        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -448,126 +406,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -575,15 +524,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -628,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = - new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -650,39 +599,38 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); } else { super.mergeFrom(other); return this; @@ -690,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -725,8 +672,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -738,21 +684,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -761,22 +705,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -784,64 +727,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -849,20 +785,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -871,21 +805,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -893,61 +826,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -955,47 +881,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1016,15 +929,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1035,8 +947,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1047,7 +957,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1059,8 +969,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1079,8 +987,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1088,13 +994,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1105,14 +1009,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1120,17 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1138,49 +1036,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1202,8 +1087,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1211,7 +1094,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1222,8 +1106,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1235,7 +1117,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1247,8 +1129,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1268,8 +1148,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1278,13 +1156,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1296,14 +1172,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1312,24 +1185,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1339,12 +1209,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1353,16 +1223,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1377,4 +1247,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index 104cbf12..cc9c2140 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,107 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -111,34 +77,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0e725b25
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,115 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/package.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\037google/protobuf/time" +
+      "stamp.proto\032\034google/api/annotations.prot" +
+      "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" +
+      "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." +
+      "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" +
+      "\032.google.protobuf.Timestamp\"L\n\023ListPacka" +
+      "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" +
+      "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" +
+      "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" +
+      "tools.artifactregistry.v1beta2.Package\022\027" +
+      "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" +
+      "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" +
+      "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" +
+      ".artifactregistry.v1beta2B\014PackageProtoP" +
+      "\001ZXgoogle.golang.org/genproto/googleapis" +
+      "/devtools/artifactregistry/v1beta2;artif" +
+      "actregistry\252\002%Google.Cloud.ArtifactRegis" +
+      "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" +
+      "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" +
+      "istry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 30b8d123..0fcff33f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,14 +557,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -655,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = - new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -667,39 +589,38 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -707,9 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -736,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -749,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -760,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -775,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -786,14 +700,15 @@ 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 { @@ -801,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -812,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -837,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -858,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -875,113 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,13 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -1006,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index 801c80f6..d633ee88 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index a7778a16..6aec32de 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,52 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -861,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -881,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -897,17 +761,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -921,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -929,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1033,53 +883,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1091,22 +934,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1114,10 +954,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -1128,56 +966,46 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1199,14 +1027,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1216,17 +1041,14 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_; + private boolean allowSnapshotOverwrites_ ; /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1234,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1273,115 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1394,34 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1465,37 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1503,64 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1569,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1603,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1657,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1688,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1713,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1725,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1752,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1769,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1790,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1804,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1819,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1834,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1850,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1865,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1880,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1896,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1906,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1915,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1932,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1949,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1961,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1985,10 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -2002,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2044,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = - (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2118,147 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -2266,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2305,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2326,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = - new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2361,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); } else { super.mergeFrom(other); return this; @@ -2401,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2414,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2426,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2455,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2465,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2483,22 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2506,51 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2564,20 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2588,32 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .newBuilder( - (com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2629,16 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2657,106 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder, - com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2765,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2788,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2853,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2921,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2946,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2968,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2990,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3076,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3115,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3132,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3154,11 +2744,12 @@ public 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();
       }
@@ -3166,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3182,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3207,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3231,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3299,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3318,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3330,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3342,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3362,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3371,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3388,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3403,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3421,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3482,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3501,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3513,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3525,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3545,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3554,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3571,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3586,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3604,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3614,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3629,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3639,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3654,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3664,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3688,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3708,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3734,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3748,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3772,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 56edcd7a..1aabc981 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,153 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -160,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -172,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -189,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -205,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -222,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -260,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -295,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -305,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -320,11 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase - getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..39b40092 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..2ae49699 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..e3b740d3 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,112 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index 468c4c93..ec604378 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = - (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class,
-              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result =
-          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -529,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -570,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -581,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -596,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -607,14 +566,15 @@ 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 { @@ -622,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -633,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -658,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -679,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -706,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -721,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -731,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -746,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -756,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -780,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -800,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -826,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -840,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 16f0d517..3c1dbead 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..392fa000 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,151 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index bce2f426..d90d410d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,46 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = - null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,40 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -156,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -182,22 +146,18 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -205,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -234,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -263,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,22 +233,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,146 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,22 +422,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -500,10 +442,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -522,52 +462,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -589,14 +523,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = - null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -690,23 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( - projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -718,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -738,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -781,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -799,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -860,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -879,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -891,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -903,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -932,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -949,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -964,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -991,33 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 4257f596..8be1bfe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 48b1127b..8d812606 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,145 +281,134 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,16 +428,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -501,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -521,51 +468,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -591,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -666,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -686,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -698,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -712,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -732,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -741,32 +658,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -774,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -792,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -806,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -822,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -859,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -869,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -880,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -894,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -906,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -928,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -939,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -958,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -975,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1002,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1039,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index 2414b1b3..ce37b484 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index b88ad1b8..a3ff1b5c 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -186,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -212,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -236,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -265,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -278,21 +239,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -319,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -447,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -497,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -517,39 +468,38 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -557,9 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -585,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -660,8 +593,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -680,8 +611,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -692,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -706,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -726,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -735,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -752,14 +673,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -767,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -785,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -799,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -815,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -852,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -862,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -873,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -887,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -899,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -921,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -932,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -951,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -968,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -995,13 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -1010,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 8a19edf0..697f83b5 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 414910c1..90c5af7f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,84 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
-                      extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -160,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -169,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class,
-            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -198,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -207,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -224,15 +190,16 @@ 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 { @@ -243,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -259,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -292,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -307,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -322,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -338,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -353,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -368,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -384,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -398,8 +344,6 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -408,13 +352,11 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -427,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -441,8 +381,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -459,8 +397,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -469,7 +405,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -477,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -487,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -495,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -512,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -559,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -578,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other =
-        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -638,103 +577,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -743,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class,
-              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -767,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -813,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -834,8 +764,7 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result =
-          new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -871,39 +800,38 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -911,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -945,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -976,8 +902,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -986,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1001,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1016,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1026,14 +946,15 @@ 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 { @@ -1041,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1051,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1075,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1095,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1112,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1134,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1156,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1218,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1279,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1298,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1310,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1322,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1342,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1351,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1368,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1383,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1401,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1462,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1481,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1493,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1505,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1525,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1534,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1551,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1566,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1617,8 +1458,6 @@ public java.util.List getRelat
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1634,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1651,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1675,8 +1510,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1696,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1719,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1743,8 +1572,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1764,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1785,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1798,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1806,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1826,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1846,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1860,8 +1678,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1872,14 +1688,11 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1887,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1896,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1906,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1921,12 +1730,10 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1934,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1beta2.Tag,
-                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1958,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1972,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1990,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -2003,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2012,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2029,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2038,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2052,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2061,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2080,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2089,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2104,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2113,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2131,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2151,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2182,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -2196,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2220,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 505534fe..1fca4549 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..cd58bc89
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,145 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/version.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\034google/api/annotatio" +
+      "ns.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\0322google/dev" +
+      "tools/artifactregistry/v1beta2/tag.proto" +
+      "\032\034google/protobuf/struct.proto\032\037google/p" +
+      "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" +
+      "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" +
+      "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" +
+      "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" +
+      "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." +
+      "devtools.artifactregistry.v1beta2.Tag\022.\n" +
+      "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" +
+      "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" +
+      "s.com/Version\022gprojects/{project}/locati" +
+      "ons/{location}/repositories/{repository}" +
+      "/packages/{package}/versions/{version}\"\250" +
+      "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" +
+      "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" +
+      "\004view\030\004 \001(\01625.google.devtools.artifactre" +
+      "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" +
+      " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" +
+      "sions\030\001 \003(\01321.google.devtools.artifactre" +
+      "gistry.v1beta2.Version\022\027\n\017next_page_toke" +
+      "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" +
+      "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" +
+      "actregistry.v1beta2.VersionView\"3\n\024Delet" +
+      "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" +
+      " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" +
+      "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" +
+      "oogle.devtools.artifactregistry.v1beta2B" +
+      "\014VersionProtoP\001ZXgoogle.golang.org/genpr" +
+      "oto/googleapis/devtools/artifactregistry" +
+      "/v1beta2;artifactregistry\252\002%Google.Cloud" +
+      ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" +
+      "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" +
+      "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 0621d8af..92d55120 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index 6111a567..c0059766 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,17 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -529,11 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -546,18 +480,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -583,127 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -711,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -756,8 +683,7 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = - new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -770,39 +696,38 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -810,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -846,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -859,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -881,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -903,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -965,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -987,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1009,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1071,104 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1176,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1198,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1220,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1291,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1305,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1329,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index 0be7b093..c61239a2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5e402911 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,155 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index fe9a09c5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" - + "t_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.AptArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" - + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" - + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" - + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" - + "A\214\001\n+artifactregistry.googleapis.com/Apt" - + "Artifact\022]projects/{project}/locations/{" - + "location}/repositories/{repository}/aptA" - + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" - + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" - + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" - + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." - + "artifactregistry.v1.ImportAptArtifactsGc" - + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" - + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" - + "e\030\001 \001(\0132@.google.devtools.artifactregist" - + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" - + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" - + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" - + "rtifacts\030\001 \003(\01320.google.devtools.artifac" - + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" - + "2@.google.devtools.artifactregistry.v1.I" - + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" - + "rtifactsMetadataB\376\001\n\'com.google.devtools" - + ".artifactregistry.v1B\020AptArtifactProtoP\001" - + "ZSgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1;artifactreg" - + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" - + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" - + "ogle::Cloud::ArtifactRegistry::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index 9fd5ca98..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" - + "tifact.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" - + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" - + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" - + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" - + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mage\022]projects/{project}/locations/{loca" - + "tion}/repositories/{repository}/dockerIm" - + "ages/{docker_image}\"U\n\027ListDockerImagesR" - + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" - + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." - + "google.devtools.artifactregistry.v1.Dock" - + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" - + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mageB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { - "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { - "DockerImages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index d2bbba3c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index ea110ac1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index 0a01aeb9..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" - + "le.proto\022#google.devtools.artifactregist" - + "ry.v1\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" - + "pe\030\001 \001(\01622.google.devtools.artifactregis" - + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" - + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" - + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" - + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" - + "gle.devtools.artifactregistry.v1.Hash\022/\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" - + "ifactregistry.googleapis.com/File\022Nproje" - + "cts/{project}/locations/{location}/repos" - + "itories/{repository}/files/{file}\"k\n\020Lis" - + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" - + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" - + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" - + "ifactregistry.v1.File\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" - + "\001\n\'com.google.devtools.artifactregistry." - + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1;artifactregistry\252\002 Google.Cloud.Arti" - + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" - + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" - + "stry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 646394c6..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 0499ed5e..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 0652626c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 5a1488a1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index aa348921..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fffbb74..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9cbb42e5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index 0dec3987..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index a8c0a10a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" - + "ckage.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032\037google/pro" - + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" - + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" - + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" - + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" - + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" - + "ckages\030\001 \003(\0132,.google.devtools.artifactr" - + "egistry.v1.Package\022\027\n\017next_page_token\030\002 " - + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" - + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" - + "g.org/genproto/googleapis/devtools/artif" - + "actregistry/v1;artifactregistry\252\002 Google" - + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" - + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" - + "rtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index d0e9bb14..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" - + "pository.proto\022#google.devtools.artifact" - + "registry.v1\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" - + "en_config\030\t \001(\0132E.google.devtools.artifa" - + "ctregistry.v1.Repository.MavenRepository" - + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" - + ".google.devtools.artifactregistry.v1.Rep" - + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" - + "abels\030\004 \003(\0132;.google.devtools.artifactre" - + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" - + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" - + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" - + "enRepositoryConfig\022!\n\031allow_snapshot_ove" - + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." - + "google.devtools.artifactregistry.v1.Repo" - + "sitory.MavenRepositoryConfig.VersionPoli" - + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" - + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" - + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" - + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" - + "stry.googleapis.com/Repository\022Aprojects" - + "/{project}/locations/{location}/reposito" - + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" - + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" - + "\340A\002\372A,\022*artifactregistry.googleapis.com/" - + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" - + "\014repositories\030\001 \003(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" - + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" - + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" - + "ifactregistry.googleapis.com/Repository\022" - + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" - + "(\0132/.google.devtools.artifactregistry.v1" - + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" - + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" - + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" - + "\340A\002\372A,\n*artifactregistry.googleapis.com/" - + "RepositoryB\375\001\n\'com.google.devtools.artif" - + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1;artifactregistry\252\002" - + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" - + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" - + "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index c1ef77d8..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" - + "rvice.proto\022#google.devtools.artifactreg" - + "istry.v1\032\034google/api/annotations.proto\032\027" - + "google/api/client.proto\0326google/devtools" - + "/artifactregistry/v1/apt_artifact.proto\032" - + "2google/devtools/artifactregistry/v1/art" - + "ifact.proto\032.google/devtools/artifactreg" - + "istry/v1/file.proto\0321google/devtools/art" - + "ifactregistry/v1/package.proto\0324google/d" - + "evtools/artifactregistry/v1/repository.p" - + "roto\0322google/devtools/artifactregistry/v" - + "1/settings.proto\032-google/devtools/artifa" - + "ctregistry/v1/tag.proto\0321google/devtools" - + "/artifactregistry/v1/version.proto\0326goog" - + "le/devtools/artifactregistry/v1/yum_arti" - + "fact.proto\032\036google/iam/v1/iam_policy.pro" - + "to\032\032google/iam/v1/policy.proto\032#google/l" - + "ongrunning/operations.proto\032\033google/prot" - + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" - + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" - + "<.google.devtools.artifactregistry.v1.Li" - + "stDockerImagesRequest\032=.google.devtools." - + "artifactregistry.v1.ListDockerImagesResp" - + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" - + "ations/*/repositories/*}/dockerImages\332A\006" - + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" - + "ols.artifactregistry.v1.GetDockerImageRe" - + "quest\0320.google.devtools.artifactregistry" - + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" - + "cts/*/locations/*/repositories/*/dockerI" - + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" - + ".google.devtools.artifactregistry.v1.Imp" - + "ortAptArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" - + "ects/*/locations/*/repositories/*}/aptAr" - + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" - + "rtifactregistry.v1.ImportAptArtifactsRes" - + "ponse\022>google.devtools.artifactregistry." - + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" - + "YumArtifacts\022>.google.devtools.artifactr" - + "egistry.v1.ImportYumArtifactsRequest\032\035.g" - + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" - + "1/{parent=projects/*/locations/*/reposit" - + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" - + "gle.devtools.artifactregistry.v1.ImportY" - + "umArtifactsResponse\022>google.devtools.art" - + "ifactregistry.v1.ImportYumArtifactsMetad" - + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" - + "ls.artifactregistry.v1.ListRepositoriesR" - + "equest\032=.google.devtools.artifactregistr" - + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" - + "v1/{parent=projects/*/locations/*}/repos" - + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" - + "gle.devtools.artifactregistry.v1.GetRepo" - + "sitoryRequest\032/.google.devtools.artifact" - + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" - + "e=projects/*/locations/*/repositories/*}" - + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" - + "vtools.artifactregistry.v1.CreateReposit" - + "oryRequest\032\035.google.longrunning.Operatio" - + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" - + "ions/*}/repositories:\nrepository\332A\037paren" - + "t,repository,repository_id\312Ag\n.google.de" - + "vtools.artifactregistry.v1.Repository\0225g" - + "oogle.devtools.artifactregistry.v1.Opera" - + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" - + "le.devtools.artifactregistry.v1.UpdateRe" - + "positoryRequest\032/.google.devtools.artifa" - + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" - + "epository.name=projects/*/locations/*/re" - + "positories/*}:\nrepository\332A\026repository,u" - + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" - + ".devtools.artifactregistry.v1.DeleteRepo" - + "sitoryRequest\032\035.google.longrunning.Opera" - + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" - + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" - + "e.protobuf.Empty\0225google.devtools.artifa" - + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" - + "Packages\0228.google.devtools.artifactregis" - + "try.v1.ListPackagesRequest\0329.google.devt" - + "ools.artifactregistry.v1.ListPackagesRes" - + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" - + "cations/*/repositories/*}/packages\332A\006par" - + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" - + "ifactregistry.v1.GetPackageRequest\032,.goo" - + "gle.devtools.artifactregistry.v1.Package" - + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" - + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" - + "\rDeletePackage\0229.google.devtools.artifac" - + "tregistry.v1.DeletePackageRequest\032\035.goog" - + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" - + "name=projects/*/locations/*/repositories" - + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" - + "f.Empty\0225google.devtools.artifactregistr" - + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" - + "8.google.devtools.artifactregistry.v1.Li" - + "stVersionsRequest\0329.google.devtools.arti" - + "factregistry.v1.ListVersionsResponse\"W\202\323" - + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" - + "/repositories/*/packages/*}/versions\332A\006p" - + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" - + "rtifactregistry.v1.GetVersionRequest\032,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" - + "ns/*/repositories/*/packages/*/versions/" - + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" - + "tools.artifactregistry.v1.DeleteVersionR" - + "equest\032\035.google.longrunning.Operation\"\246\001" - + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\312AN\n\025google.protobuf.Empty\0225google." - + "devtools.artifactregistry.v1.OperationMe" - + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" - + "rtifactregistry.v1.ListFilesRequest\0326.go" - + "ogle.devtools.artifactregistry.v1.ListFi" - + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" - + "s/*/locations/*/repositories/*}/files\332A\006" - + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" - + "ifactregistry.v1.GetFileRequest\032).google" - + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" - + "\002;\0229/v1/{name=projects/*/locations/*/rep" - + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" - + "s\0224.google.devtools.artifactregistry.v1." - + "ListTagsRequest\0325.google.devtools.artifa" - + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" - + "/v1/{parent=projects/*/locations/*/repos" - + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" - + "GetTag\0222.google.devtools.artifactregistr" - + "y.v1.GetTagRequest\032(.google.devtools.art" - + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" - + "projects/*/locations/*/repositories/*/pa" - + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." - + "google.devtools.artifactregistry.v1.Crea" - + "teTagRequest\032(.google.devtools.artifactr" - + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" - + "ects/*/locations/*/repositories/*/packag" - + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" - + "UpdateTag\0225.google.devtools.artifactregi" - + "stry.v1.UpdateTagRequest\032(.google.devtoo" - + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" - + "{tag.name=projects/*/locations/*/reposit" - + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" - + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" - + "s.artifactregistry.v1.DeleteTagRequest\032\026" - + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" - + "e=projects/*/locations/*/repositories/*/" - + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" - + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" - + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" - + "urce=projects/*/locations/*/repositories" - + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" - + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" - + "rojects/*/locations/*/repositories/*}:ge" - + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" - + "le.iam.v1.TestIamPermissionsRequest\032).go" - + "ogle.iam.v1.TestIamPermissionsResponse\"R" - + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" - + "ns/*/repositories/*}:testIamPermissions:" - + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" - + "ols.artifactregistry.v1.GetProjectSettin" - + "gsRequest\0324.google.devtools.artifactregi" - + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" - + "me=projects/*/projectSettings}\332A\004name\022\201\002" - + "\n\025UpdateProjectSettings\022A.google.devtool" - + "s.artifactregistry.v1.UpdateProjectSetti" - + "ngsRequest\0324.google.devtools.artifactreg" - + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" - + "roject_settings.name=projects/*/projectS" - + "ettings}:\020project_settings\332A\034project_set" - + "tings,update_mask\032\214\001\312A\037artifactregistry." - + "googleapis.com\322Aghttps://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/cloud-platform.read-only" - + "B\372\001\n\'com.google.devtools.artifactregistr" - + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" - + "genproto/googleapis/devtools/artifactreg" - + "istry/v1;artifactregistry\252\002 Google.Cloud" - + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" - + "factRegistry\\V1\352\002#Google::Cloud::Artifac" - + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index 99a5156a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" - + "ttings.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" - + "state\030\002 \001(\0162E.google.devtools.artifactre" - + "gistry.v1.ProjectSettings.RedirectionSta" - + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" - + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" - + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" - + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" - + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" - + "leapis.com/ProjectSettings\022\"projects/{pr" - + "oject}/projectSettings\"b\n\031GetProjectSett" - + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" - + "actregistry.googleapis.com/ProjectSettin" - + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" - + "roject_settings\030\002 \001(\01324.google.devtools." - + "artifactregistry.v1.ProjectSettings\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index 98a7bb62..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" - + "g.proto\022#google.devtools.artifactregistr" - + "y.v1\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" - + "ags\030\001 \003(\0132(.google.devtools.artifactregi" - + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" - + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" - + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" - + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" - + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" - + "g\030\001 \001(\0132(.google.devtools.artifactregist" - + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" - + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" - + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" - + "ang.org/genproto/googleapis/devtools/art" - + "ifactregistry/v1;artifactregistry\252\002 Goog" - + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" - + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" - + ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index a4451c3a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" - + "rsion.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032-google/dev" - + "tools/artifactregistry/v1/tag.proto\032\034goo" - + "gle/protobuf/struct.proto\032\037google/protob" - + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" - + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" - + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" - + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" - + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" - + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" - + "\222\001\n\'artifactregistry.googleapis.com/Vers" - + "ion\022gprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/packages/" - + "{package}/versions/{version}\"\243\001\n\023ListVer" - + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" - + "\01620.google.devtools.artifactregistry.v1." - + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" - + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" - + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" - + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" - + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" - + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index faf5e918..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" - + "m_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.YumArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" - + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" - + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" - + "ctregistry.googleapis.com/YumArtifact\022]p" - + "rojects/{project}/locations/{location}/r" - + "epositories/{repository}/yumArtifacts/{y" - + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" - + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" - + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" - + "urce\030\002 \001(\0132@.google.devtools.artifactreg" - + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" - + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" - + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" - + "oogle.devtools.artifactregistry.v1.Impor" - + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" - + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" - + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " - + "\003(\01320.google.devtools.artifactregistry.v" - + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" - + "evtools.artifactregistry.v1.ImportYumArt" - + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" - + "adataB\376\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" - + "lang.org/genproto/googleapis/devtools/ar" - + "tifactregistry/v1;artifactregistry\252\002 Goo" - + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" - + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" - + "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index f7549075..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/apt_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.AptArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" - + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" - + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" - + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" - + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" - + "ptArtifact\022]projects/{project}/locations" - + "/{location}/repositories/{repository}/ap" - + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" - + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" - + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" - + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" - + "s.artifactregistry.v1beta2.ImportAptArti" - + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" - + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" - + "s_source\030\001 \001(\0132E.google.devtools.artifac" - + "tregistry.v1beta2.ImportAptArtifactsGcsS" - + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" - + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" - + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" - + "ools.artifactregistry.v1beta2.AptArtifac" - + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" - + "factregistry.v1beta2.ImportAptArtifactsE" - + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" - + "\002\n,com.google.devtools.artifactregistry." - + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" - + "ng.org/genproto/googleapis/devtools/arti" - + "factregistry/v1beta2;artifactregistry\252\002%" - + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" - + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" - + "Google::Cloud::ArtifactRegistry::V1beta2" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index d133ca1d..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index e954d602..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 4e7fb61f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index 8d60b37f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" - + "a2/file.proto\022(google.devtools.artifactr" - + "egistry.v1beta2\032\034google/api/annotations." - + "proto\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" - + "pe\030\001 \001(\01627.google.devtools.artifactregis" - + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" - + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" - + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " - + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" - + "..google.devtools.artifactregistry.v1bet" - + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" - + ":y\352Av\n$artifactregistry.googleapis.com/F" - + "ile\022Nprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/files/{fi" - + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" - + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" - + "iles\030\001 \003(\0132..google.devtools.artifactreg" - + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " - + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," - + "com.google.devtools.artifactregistry.v1b" - + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" - + "proto/googleapis/devtools/artifactregist" - + "ry/v1beta2;artifactregistry\252\002%Google.Clo" - + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" - + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" - + "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 63162f9e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 79b06fba..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 7c22b893..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index c70d1027..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 66b07dde..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 928564d6..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index e9d9fe0f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 5373800b..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0a96b6ee..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/package.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\037google/protobuf/time" - + "stamp.proto\032\034google/api/annotations.prot" - + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" - + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." - + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" - + "\032.google.protobuf.Timestamp\"L\n\023ListPacka" - + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" - + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" - + "tools.artifactregistry.v1beta2.Package\022\027" - + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" - + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" - + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" - + ".artifactregistry.v1beta2B\014PackageProtoP" - + "\001ZXgoogle.golang.org/genproto/googleapis" - + "/devtools/artifactregistry/v1beta2;artif" - + "actregistry\252\002%Google.Cloud.ArtifactRegis" - + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" - + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" - + "istry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 0f89810e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" - + "a2/repository.proto\022(google.devtools.art" - + "ifactregistry.v1beta2\032\034google/api/annota" - + "tions.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" - + "en_config\030\t \001(\0132J.google.devtools.artifa" - + "ctregistry.v1beta2.Repository.MavenRepos" - + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " - + "\001(\0162;.google.devtools.artifactregistry.v" - + "1beta2.Repository.Format\022\023\n\013description\030" - + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." - + "artifactregistry.v1beta2.Repository.Labe" - + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" - + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" - + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" - + "policy\030\002 \001(\0162X.google.devtools.artifactr" - + "egistry.v1beta2.Repository.MavenReposito" - + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" - + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" - + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" - + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" - + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" - + "\010:r\352Ao\n*artifactregistry.googleapis.com/" - + "Repository\022Aprojects/{project}/locations" - + "/{location}/repositories/{repository}B\017\n" - + "\rformat_config\"\204\001\n\027ListRepositoriesReque" - + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" - + "stry.googleapis.com/Repository\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" - + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" - + "4.google.devtools.artifactregistry.v1bet" - + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" - + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" - + "\002\372A,\n*artifactregistry.googleapis.com/Re" - + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" - + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" - + "oogleapis.com/Repository\022\025\n\rrepository_i" - + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" - + "tools.artifactregistry.v1beta2.Repositor" - + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" - + "ory\030\001 \001(\01324.google.devtools.artifactregi" - + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" - + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" - + ",\n*artifactregistry.googleapis.com/Repos" - + "itoryB\226\002\n,com.google.devtools.artifactre" - + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1beta2;artifactregis" - + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" - + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" - + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" - + "1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index d1061ad9..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/service.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032;googl" - + "e/devtools/artifactregistry/v1beta2/apt_" - + "artifact.proto\0323google/devtools/artifact" - + "registry/v1beta2/file.proto\0326google/devt" - + "ools/artifactregistry/v1beta2/package.pr" - + "oto\0329google/devtools/artifactregistry/v1" - + "beta2/repository.proto\0327google/devtools/" - + "artifactregistry/v1beta2/settings.proto\032" - + "2google/devtools/artifactregistry/v1beta" - + "2/tag.proto\0326google/devtools/artifactreg" - + "istry/v1beta2/version.proto\032;google/devt" - + "ools/artifactregistry/v1beta2/yum_artifa" - + "ct.proto\032\036google/iam/v1/iam_policy.proto" - + "\032\032google/iam/v1/policy.proto\032#google/lon" - + "grunning/operations.proto\032\033google/protob" - + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" - + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" - + "C.google.devtools.artifactregistry.v1bet" - + "a2.ImportAptArtifactsRequest\032\035.google.lo" - + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" - + "parent=projects/*/locations/*/repositori" - + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" - + ".devtools.artifactregistry.v1beta2.Impor" - + "tAptArtifactsResponse\022Cgoogle.devtools.a" - + "rtifactregistry.v1beta2.ImportAptArtifac" - + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" - + "le.devtools.artifactregistry.v1beta2.Imp" - + "ortYumArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" - + "=projects/*/locations/*/repositories/*}/" - + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" - + "ols.artifactregistry.v1beta2.ImportYumAr" - + "tifactsResponse\022Cgoogle.devtools.artifac" - + "tregistry.v1beta2.ImportYumArtifactsMeta" - + "data\022\341\001\n\020ListRepositories\022A.google.devto" - + "ols.artifactregistry.v1beta2.ListReposit" - + "oriesRequest\032B.google.devtools.artifactr" - + "egistry.v1beta2.ListRepositoriesResponse" - + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" - + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" - + "Repository\022>.google.devtools.artifactreg" - + "istry.v1beta2.GetRepositoryRequest\0324.goo" - + "gle.devtools.artifactregistry.v1beta2.Re" - + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" - + "s/*/locations/*/repositories/*}\332A\004name\022\326" - + "\002\n\020CreateRepository\022A.google.devtools.ar" - + "tifactregistry.v1beta2.CreateRepositoryR" - + "equest\032\035.google.longrunning.Operation\"\337\001" - + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" - + "tions/*}/repositories:\nrepository\332A\037pare" - + "nt,repository,repository_id\312Aq\n3google.d" - + "evtools.artifactregistry.v1beta2.Reposit" - + "ory\022:google.devtools.artifactregistry.v1" - + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" - + "tory\022A.google.devtools.artifactregistry." - + "v1beta2.UpdateRepositoryRequest\0324.google" - + ".devtools.artifactregistry.v1beta2.Repos" - + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" - + "=projects/*/locations/*/repositories/*}:" - + "\nrepository\332A\026repository,update_mask\022\221\002\n" - + "\020DeleteRepository\022A.google.devtools.arti" - + "factregistry.v1beta2.DeleteRepositoryReq" - + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" - + "\344\223\0027*5/v1beta2/{name=projects/*/location" - + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" - + "otobuf.Empty\022:google.devtools.artifactre" - + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" - + "tPackages\022=.google.devtools.artifactregi" - + "stry.v1beta2.ListPackagesRequest\032>.googl" - + "e.devtools.artifactregistry.v1beta2.List" - + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" - + "nt=projects/*/locations/*/repositories/*" - + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" - + "gle.devtools.artifactregistry.v1beta2.Ge" - + "tPackageRequest\0321.google.devtools.artifa" - + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" - + "eta2/{name=projects/*/locations/*/reposi" - + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" - + "ckage\022>.google.devtools.artifactregistry" - + ".v1beta2.DeletePackageRequest\032\035.google.l" - + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" - + "{name=projects/*/locations/*/repositorie" - + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" - + "uf.Empty\022:google.devtools.artifactregist" - + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" - + "sions\022=.google.devtools.artifactregistry" - + ".v1beta2.ListVersionsRequest\032>.google.de" - + "vtools.artifactregistry.v1beta2.ListVers" - + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" - + "rojects/*/locations/*/repositories/*/pac" - + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" - + "n\022;.google.devtools.artifactregistry.v1b" - + "eta2.GetVersionRequest\0321.google.devtools" - + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" - + "M\022K/v1beta2/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" - + "s.artifactregistry.v1beta2.DeleteVersion" - + "Request\032\035.google.longrunning.Operation\"\260" - + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" - + "ions/*/repositories/*/packages/*/version" - + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" - + "oogle.devtools.artifactregistry.v1beta2." - + "OperationMetadata\022\324\001\n\tListFiles\022:.google" - + ".devtools.artifactregistry.v1beta2.ListF" - + "ilesRequest\032;.google.devtools.artifactre" - + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" - + "\022=/v1beta2/{parent=projects/*/locations/" - + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" - + "File\0228.google.devtools.artifactregistry." - + "v1beta2.GetFileRequest\032..google.devtools" - + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" - + "/v1beta2/{name=projects/*/locations/*/re" - + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" - + "gs\0229.google.devtools.artifactregistry.v1" - + "beta2.ListTagsRequest\032:.google.devtools." - + "artifactregistry.v1beta2.ListTagsRespons" - + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" - + "ocations/*/repositories/*/packages/*}/ta" - + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" - + ".artifactregistry.v1beta2.GetTagRequest\032" - + "-.google.devtools.artifactregistry.v1bet" - + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" - + "vtools.artifactregistry.v1beta2.CreateTa" - + "gRequest\032-.google.devtools.artifactregis" - + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" - + "t=projects/*/locations/*/repositories/*/" - + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" - + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" - + "ctregistry.v1beta2.UpdateTagRequest\032-.go" - + "ogle.devtools.artifactregistry.v1beta2.T" - + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" - + "eTag\022:.google.devtools.artifactregistry." - + "v1beta2.DeleteTagRequest\032\026.google.protob" - + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" - + "s/*/locations/*/repositories/*/packages/" - + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" - + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" - + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" - + "=projects/*/locations/*/repositories/*}:" - + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" - + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" - + "projects/*/locations/*/repositories/*}:g" - + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" - + "gle.iam.v1.TestIamPermissionsRequest\032).g" - + "oogle.iam.v1.TestIamPermissionsResponse\"" - + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" - + "ocations/*/repositories/*}:testIamPermis" - + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" - + ".devtools.artifactregistry.v1beta2.GetPr" - + "ojectSettingsRequest\0329.google.devtools.a" - + "rtifactregistry.v1beta2.ProjectSettings\"" - + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" - + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" - + "ings\022F.google.devtools.artifactregistry." - + "v1beta2.UpdateProjectSettingsRequest\0329.g" - + "oogle.devtools.artifactregistry.v1beta2." - + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" - + "ct_settings.name=projects/*/projectSetti" - + "ngs}:\020project_settings\332A\034project_setting" - + "s,update_mask\032\214\001\312A\037artifactregistry.goog" - + "leapis.com\322Aghttps://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-platform.read-onlyB\223\002\n" - + ",com.google.devtools.artifactregistry.v1" - + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" - + "/genproto/googleapis/devtools/artifactre" - + "gistry/v1beta2;artifactregistry\252\002%Google" - + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" - + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" - + "::Cloud::ArtifactRegistry::V1beta2b\006prot" - + "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index 45e2471c..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" - + "a2/settings.proto\022(google.devtools.artif" - + "actregistry.v1beta2\032\034google/api/annotati" - + "ons.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" - + "state\030\002 \001(\0162J.google.devtools.artifactre" - + "gistry.v1beta2.ProjectSettings.Redirecti" - + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" - + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" - + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" - + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" - + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" - + ".googleapis.com/ProjectSettings\022\"project" - + "s/{project}/projectSettings\"b\n\031GetProjec" - + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" - + "artifactregistry.googleapis.com/ProjectS" - + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" - + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" - + "ools.artifactregistry.v1beta2.ProjectSet" - + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" - + "rtifactregistry.v1beta2B\rSettingsProtoP\001" - + "ZXgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1beta2;artifa" - + "ctregistry\252\002%Google.Cloud.ArtifactRegist" - + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" - + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" - + "stry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 117abb8f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" - + "a2/tag.proto\022(google.devtools.artifactre" - + "gistry.v1beta2\032\034google/api/annotations.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" - + "ags\030\001 \003(\0132-.google.devtools.artifactregi" - + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" - + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" - + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" - + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" - + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\010Ta" - + "gProtoP\001ZXgoogle.golang.org/genproto/goo" - + "gleapis/devtools/artifactregistry/v1beta" - + "2;artifactregistry\252\002%Google.Cloud.Artifa" - + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" - + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" - + "factRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index 5f9a1a41..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/version.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0322google/dev" - + "tools/artifactregistry/v1beta2/tag.proto" - + "\032\034google/protobuf/struct.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" - + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" - + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." - + "devtools.artifactregistry.v1beta2.Tag\022.\n" - + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" - + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" - + "s.com/Version\022gprojects/{project}/locati" - + "ons/{location}/repositories/{repository}" - + "/packages/{package}/versions/{version}\"\250" - + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" - + "\004view\030\004 \001(\01625.google.devtools.artifactre" - + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" - + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" - + "sions\030\001 \003(\01321.google.devtools.artifactre" - + "gistry.v1beta2.Version\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" - + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" - + "actregistry.v1beta2.VersionView\"3\n\024Delet" - + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" - + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" - + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" - + "oogle.devtools.artifactregistry.v1beta2B" - + "\014VersionProtoP\001ZXgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1beta2;artifactregistry\252\002%Google.Cloud" - + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" - + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" - + "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5efcc8f3..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/yum_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.YumArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" - + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" - + "factregistry.googleapis.com/YumArtifact\022" - + "]projects/{project}/locations/{location}" - + "/repositories/{repository}/yumArtifacts/" - + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" - + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" - + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" - + "source\030\002 \001(\0132E.google.devtools.artifactr" - + "egistry.v1beta2.ImportYumArtifactsGcsSou" - + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" - + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " - + "\001(\0132E.google.devtools.artifactregistry.v" - + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" - + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" - + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" - + "artifacts\030\001 \003(\01325.google.devtools.artifa" - + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" - + "\030\002 \003(\0132E.google.devtools.artifactregistr" - + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" - + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\020Yu" - + "mArtifactProtoP\001ZXgoogle.golang.org/genp" - + "roto/googleapis/devtools/artifactregistr" - + "y/v1beta2;artifactregistry\252\002%Google.Clou" - + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" - + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" - + "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From e9343700743c360812aa98b64a8154195f3fc7f9 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 24 May 2022 02:12:29 +0000 Subject: [PATCH 2/9] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/ArtifactRegistryClient.java | 56 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 - .../v1beta2/ArtifactRegistryClient.java | 46 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 - .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 3494 +++++++++++++++++ .../v1beta2/ArtifactRegistryGrpc.java | 3275 +++++++++++++++ .../v1/ArtifactRegistryGrpc.java | 2628 ------------- .../artifactregistry/v1/AptArtifactProto.java | 150 - .../artifactregistry/v1/ArtifactProto.java | 119 - .../v1/DeleteRepositoryRequestOrBuilder.java | 29 - .../v1/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1/FileProto.java | 127 - .../v1/GetDockerImageRequestOrBuilder.java | 29 - .../v1/GetFileRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../v1/GetRepositoryRequestOrBuilder.java | 29 - .../v1/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1/OperationMetadataOrBuilder.java | 9 - .../artifactregistry/v1/PackageProto.java | 122 - .../artifactregistry/v1/RepositoryProto.java | 203 - .../artifactregistry/v1/ServiceProto.java | 265 -- .../artifactregistry/v1/SettingsProto.java | 108 - .../artifactregistry/v1/TagProto.java | 147 - .../artifactregistry/v1/VersionProto.java | 141 - .../artifactregistry/v1/YumArtifactProto.java | 148 - .../v1beta2/ArtifactRegistryGrpc.java | 2456 ------------ .../v1beta2/AptArtifactProto.java | 157 - .../DeletePackageRequestOrBuilder.java | 29 - .../DeleteRepositoryRequestOrBuilder.java | 29 - .../v1beta2/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1beta2/FileProto.java | 130 - .../v1beta2/GetFileRequestOrBuilder.java | 29 - .../v1beta2/GetPackageRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../GetRepositoryRequestOrBuilder.java | 29 - .../v1beta2/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1beta2/OperationMetadataOrBuilder.java | 9 - .../v1beta2/PackageProto.java | 115 - .../v1beta2/RepositoryProto.java | 208 - .../v1beta2/ServiceProto.java | 262 -- .../v1beta2/SettingsProto.java | 112 - .../artifactregistry/v1beta2/TagProto.java | 151 - .../v1beta2/VersionProto.java | 145 - .../v1beta2/YumArtifactProto.java | 155 - .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 168 + .../artifactregistry/v1/ArtifactProto.java | 137 + .../v1/CreateRepositoryRequest.java | 541 ++- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 ++- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 50 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 146 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 50 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 50 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportAptArtifactsRequest.java | 526 ++- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportYumArtifactsRequest.java | 526 ++- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 ++- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 ++- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 +-- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 ++- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 ++- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 ++- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 ++- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 ++- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 ++- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 +-- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 ++- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 24 + .../devtools/artifactregistry/v1/Package.java | 571 +-- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 141 + .../artifactregistry/v1/ProjectSettings.java | 498 ++- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 +++++---- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 238 ++ .../artifactregistry/v1/ServiceProto.java | 278 ++ .../artifactregistry/v1/SettingsProto.java | 125 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 168 + .../v1/UpdateProjectSettingsRequest.java | 481 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 ++- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 160 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 +-- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 166 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 175 + .../v1beta2/CreateRepositoryRequest.java | 556 ++- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 ++- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 50 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 54 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 50 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 149 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 50 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 50 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 54 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 50 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportAptArtifactsRequest.java | 580 +-- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportYumArtifactsRequest.java | 580 +-- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 ++- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 ++- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 ++- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 ++- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 ++- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 ++- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 ++- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 ++- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 +-- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 ++- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 24 + .../artifactregistry/v1beta2/Package.java | 578 +-- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 134 + .../v1beta2/ProjectSettings.java | 506 ++- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 +++++---- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 243 ++ .../v1beta2/ServiceProto.java | 275 ++ .../v1beta2/SettingsProto.java | 129 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 172 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 ++- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 ++- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 164 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 +-- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 173 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 301 files changed, 43515 insertions(+), 27933 deletions(-) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java create mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 1fe6e366..53df3de6 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -53,11 +53,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2758,7 +2758,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2808,7 +2811,10 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2829,7 +2835,10 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2879,7 +2888,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2900,7 +2912,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2949,7 +2964,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2969,7 +2987,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3018,7 +3039,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 49e8df73..4d59eaef 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java @@ -33,7 +33,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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -55,10 +54,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index 16275bcf..a58cd64c 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index 491a01f8..5625cda8 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -114,10 +114,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index e0d1bb10..45335bd2 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,7 +84,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/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index 66fc7c60..8c5b8276 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2518,7 +2518,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2568,7 +2571,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2589,7 +2595,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2638,7 +2647,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2658,7 +2670,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2707,7 +2722,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 88a97d40..3968efc5 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -32,7 +32,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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -54,10 +53,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index ce7d976f..2ee2d5f4 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index 99f45e74..d1764467 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -109,10 +109,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index d73deacf..322bd754 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,7 +80,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/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..8dd4c5ad --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,3494 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = + getListDockerImagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = + getGetDockerImageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDockerImagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDockerImageMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.DockerImage> + getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Package> + getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Version> + getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.File> + getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages( + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) + responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage( + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..63baa4ed --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,3275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2 + .UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Package> + getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Version> + getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.File> + getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index e3ceeee1..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2628 +0,0 @@ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDockerImagesMethod() { - io.grpc.MethodDescriptor getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDockerImageMethod() { - io.grpc.MethodDescriptor getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index 443f6d5f..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,150 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" + - "t_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.AptArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + - "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + - "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + - "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + - "A\214\001\n+artifactregistry.googleapis.com/Apt" + - "Artifact\022]projects/{project}/locations/{" + - "location}/repositories/{repository}/aptA" + - "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + - "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + - "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + - "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + - "artifactregistry.v1.ImportAptArtifactsGc" + - "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + - "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + - "e\030\001 \001(\0132@.google.devtools.artifactregist" + - "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + - "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + - "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + - "rtifacts\030\001 \003(\01320.google.devtools.artifac" + - "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + - "2@.google.devtools.artifactregistry.v1.I" + - "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + - "rtifactsMetadataB\376\001\n\'com.google.devtools" + - ".artifactregistry.v1B\020AptArtifactProtoP\001" + - "ZSgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1;artifactreg" + - "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + - "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + - "ogle::Cloud::ArtifactRegistry::V1b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index d2e38912..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,119 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" + - "tifact.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032\037google/pr" + - "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + - "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + - "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + - "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + - " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mage\022]projects/{project}/locations/{loca" + - "tion}/repositories/{repository}/dockerIm" + - "ages/{docker_image}\"U\n\027ListDockerImagesR" + - "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + - "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + - "google.devtools.artifactregistry.v1.Dock" + - "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + - "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mageB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { "DockerImages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 8199afc8..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 2a237596..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index b27baa2c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,127 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + - "le.proto\022#google.devtools.artifactregist" + - "ry.v1\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + - "pe\030\001 \001(\01622.google.devtools.artifactregis" + - "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + - "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + - "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + - "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + - "gle.devtools.artifactregistry.v1.Hash\022/\n" + - "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + - "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + - "ifactregistry.googleapis.com/File\022Nproje" + - "cts/{project}/locations/{location}/repos" + - "itories/{repository}/files/{file}\"k\n\020Lis" + - "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + - "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + - " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + - "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + - "ifactregistry.v1.File\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + - "\001\n\'com.google.devtools.artifactregistry." + - "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1;artifactregistry\252\002 Google.Cloud.Arti" + - "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + - "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + - "stry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 36dc5023..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 8a742290..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 35c962cf..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 323cd5a0..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index 9c1264a9..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index c24b837d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fba0379..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index e3a558ac..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index 7b437e4a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" + - "ckage.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032\037google/pro" + - "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" + - "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" + - "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" + - "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" + - "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" + - "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" + - "ckages\030\001 \003(\0132,.google.devtools.artifactr" + - "egistry.v1.Package\022\027\n\017next_page_token\030\002 " + - "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" + - "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" + - "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" + - "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" + - "g.org/genproto/googleapis/devtools/artif" + - "actregistry/v1;artifactregistry\252\002 Google" + - ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" + - "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" + - "rtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index c29b26fa..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,203 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" + - "pository.proto\022#google.devtools.artifact" + - "registry.v1\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + - "en_config\030\t \001(\0132E.google.devtools.artifa" + - "ctregistry.v1.Repository.MavenRepository" + - "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + - ".google.devtools.artifactregistry.v1.Rep" + - "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + - "abels\030\004 \003(\0132;.google.devtools.artifactre" + - "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + - "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + - ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + - "enRepositoryConfig\022!\n\031allow_snapshot_ove" + - "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + - "google.devtools.artifactregistry.v1.Repo" + - "sitory.MavenRepositoryConfig.VersionPoli" + - "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + - "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + - "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + - "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + - "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + - "stry.googleapis.com/Repository\022Aprojects" + - "/{project}/locations/{location}/reposito" + - "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + - "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + - "\340A\002\372A,\022*artifactregistry.googleapis.com/" + - "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + - "\014repositories\030\001 \003(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + - "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + - "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + - "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + - "ifactregistry.googleapis.com/Repository\022" + - "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + - "(\0132/.google.devtools.artifactregistry.v1" + - ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + - "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022/\n\013update_m" + - "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + - "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + - "\340A\002\372A,\n*artifactregistry.googleapis.com/" + - "RepositoryB\375\001\n\'com.google.devtools.artif" + - "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1;artifactregistry\252\002" + - " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + - "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + - "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index cf63a61d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,265 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" + - "rvice.proto\022#google.devtools.artifactreg" + - "istry.v1\032\034google/api/annotations.proto\032\027" + - "google/api/client.proto\0326google/devtools" + - "/artifactregistry/v1/apt_artifact.proto\032" + - "2google/devtools/artifactregistry/v1/art" + - "ifact.proto\032.google/devtools/artifactreg" + - "istry/v1/file.proto\0321google/devtools/art" + - "ifactregistry/v1/package.proto\0324google/d" + - "evtools/artifactregistry/v1/repository.p" + - "roto\0322google/devtools/artifactregistry/v" + - "1/settings.proto\032-google/devtools/artifa" + - "ctregistry/v1/tag.proto\0321google/devtools" + - "/artifactregistry/v1/version.proto\0326goog" + - "le/devtools/artifactregistry/v1/yum_arti" + - "fact.proto\032\036google/iam/v1/iam_policy.pro" + - "to\032\032google/iam/v1/policy.proto\032#google/l" + - "ongrunning/operations.proto\032\033google/prot" + - "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + - "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + - "<.google.devtools.artifactregistry.v1.Li" + - "stDockerImagesRequest\032=.google.devtools." + - "artifactregistry.v1.ListDockerImagesResp" + - "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + - "ations/*/repositories/*}/dockerImages\332A\006" + - "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + - "ols.artifactregistry.v1.GetDockerImageRe" + - "quest\0320.google.devtools.artifactregistry" + - ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + - "cts/*/locations/*/repositories/*/dockerI" + - "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + - ".google.devtools.artifactregistry.v1.Imp" + - "ortAptArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + - "ects/*/locations/*/repositories/*}/aptAr" + - "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + - "rtifactregistry.v1.ImportAptArtifactsRes" + - "ponse\022>google.devtools.artifactregistry." + - "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + - "YumArtifacts\022>.google.devtools.artifactr" + - "egistry.v1.ImportYumArtifactsRequest\032\035.g" + - "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + - "1/{parent=projects/*/locations/*/reposit" + - "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + - "gle.devtools.artifactregistry.v1.ImportY" + - "umArtifactsResponse\022>google.devtools.art" + - "ifactregistry.v1.ImportYumArtifactsMetad" + - "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + - "ls.artifactregistry.v1.ListRepositoriesR" + - "equest\032=.google.devtools.artifactregistr" + - "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + - "v1/{parent=projects/*/locations/*}/repos" + - "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + - "gle.devtools.artifactregistry.v1.GetRepo" + - "sitoryRequest\032/.google.devtools.artifact" + - "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + - "e=projects/*/locations/*/repositories/*}" + - "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + - "vtools.artifactregistry.v1.CreateReposit" + - "oryRequest\032\035.google.longrunning.Operatio" + - "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + - "ions/*}/repositories:\nrepository\332A\037paren" + - "t,repository,repository_id\312Ag\n.google.de" + - "vtools.artifactregistry.v1.Repository\0225g" + - "oogle.devtools.artifactregistry.v1.Opera" + - "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + - "le.devtools.artifactregistry.v1.UpdateRe" + - "positoryRequest\032/.google.devtools.artifa" + - "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + - "epository.name=projects/*/locations/*/re" + - "positories/*}:\nrepository\332A\026repository,u" + - "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + - ".devtools.artifactregistry.v1.DeleteRepo" + - "sitoryRequest\032\035.google.longrunning.Opera" + - "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + - "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + - "e.protobuf.Empty\0225google.devtools.artifa" + - "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + - "Packages\0228.google.devtools.artifactregis" + - "try.v1.ListPackagesRequest\0329.google.devt" + - "ools.artifactregistry.v1.ListPackagesRes" + - "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + - "cations/*/repositories/*}/packages\332A\006par" + - "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + - "ifactregistry.v1.GetPackageRequest\032,.goo" + - "gle.devtools.artifactregistry.v1.Package" + - "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + - "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + - "\rDeletePackage\0229.google.devtools.artifac" + - "tregistry.v1.DeletePackageRequest\032\035.goog" + - "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + - "name=projects/*/locations/*/repositories" + - "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + - "f.Empty\0225google.devtools.artifactregistr" + - "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + - "8.google.devtools.artifactregistry.v1.Li" + - "stVersionsRequest\0329.google.devtools.arti" + - "factregistry.v1.ListVersionsResponse\"W\202\323" + - "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + - "/repositories/*/packages/*}/versions\332A\006p" + - "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + - "rtifactregistry.v1.GetVersionRequest\032,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + - "ns/*/repositories/*/packages/*/versions/" + - "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + - "tools.artifactregistry.v1.DeleteVersionR" + - "equest\032\035.google.longrunning.Operation\"\246\001" + - "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\312AN\n\025google.protobuf.Empty\0225google." + - "devtools.artifactregistry.v1.OperationMe" + - "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + - "rtifactregistry.v1.ListFilesRequest\0326.go" + - "ogle.devtools.artifactregistry.v1.ListFi" + - "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + - "s/*/locations/*/repositories/*}/files\332A\006" + - "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + - "ifactregistry.v1.GetFileRequest\032).google" + - ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + - "\002;\0229/v1/{name=projects/*/locations/*/rep" + - "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + - "s\0224.google.devtools.artifactregistry.v1." + - "ListTagsRequest\0325.google.devtools.artifa" + - "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + - "/v1/{parent=projects/*/locations/*/repos" + - "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + - "GetTag\0222.google.devtools.artifactregistr" + - "y.v1.GetTagRequest\032(.google.devtools.art" + - "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + - "projects/*/locations/*/repositories/*/pa" + - "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + - "google.devtools.artifactregistry.v1.Crea" + - "teTagRequest\032(.google.devtools.artifactr" + - "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + - "ects/*/locations/*/repositories/*/packag" + - "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + - "UpdateTag\0225.google.devtools.artifactregi" + - "stry.v1.UpdateTagRequest\032(.google.devtoo" + - "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + - "{tag.name=projects/*/locations/*/reposit" + - "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + - "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + - "s.artifactregistry.v1.DeleteTagRequest\032\026" + - ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + - "e=projects/*/locations/*/repositories/*/" + - "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + - "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + - ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + - "urce=projects/*/locations/*/repositories" + - "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + - "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + - "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + - "rojects/*/locations/*/repositories/*}:ge" + - "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + - "le.iam.v1.TestIamPermissionsRequest\032).go" + - "ogle.iam.v1.TestIamPermissionsResponse\"R" + - "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + - "ns/*/repositories/*}:testIamPermissions:" + - "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + - "ols.artifactregistry.v1.GetProjectSettin" + - "gsRequest\0324.google.devtools.artifactregi" + - "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + - "me=projects/*/projectSettings}\332A\004name\022\201\002" + - "\n\025UpdateProjectSettings\022A.google.devtool" + - "s.artifactregistry.v1.UpdateProjectSetti" + - "ngsRequest\0324.google.devtools.artifactreg" + - "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + - "roject_settings.name=projects/*/projectS" + - "ettings}:\020project_settings\332A\034project_set" + - "tings,update_mask\032\214\001\312A\037artifactregistry." + - "googleapis.com\322Aghttps://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/cloud-platform.read-only" + - "B\372\001\n\'com.google.devtools.artifactregistr" + - "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + - "genproto/googleapis/devtools/artifactreg" + - "istry/v1;artifactregistry\252\002 Google.Cloud" + - ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + - "factRegistry\\V1\352\002#Google::Cloud::Artifac" + - "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index db067c93..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" + - "ttings.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + - "state\030\002 \001(\0162E.google.devtools.artifactre" + - "gistry.v1.ProjectSettings.RedirectionSta" + - "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + - "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + - "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + - "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + - "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + - "leapis.com/ProjectSettings\022\"projects/{pr" + - "oject}/projectSettings\"b\n\031GetProjectSett" + - "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + - "actregistry.googleapis.com/ProjectSettin" + - "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + - "roject_settings\030\002 \001(\01324.google.devtools." + - "artifactregistry.v1.ProjectSettings\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "MaskB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index a0942140..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,147 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + - "g.proto\022#google.devtools.artifactregistr" + - "y.v1\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + - "ags\030\001 \003(\0132(.google.devtools.artifactregi" + - "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + - "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + - "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + - "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + - "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + - "g\030\001 \001(\0132(.google.devtools.artifactregist" + - "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + - "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + - "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + - "ang.org/genproto/googleapis/devtools/art" + - "ifactregistry/v1;artifactregistry\252\002 Goog" + - "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + - "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + - ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index e4184f9e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,141 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" + - "rsion.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032-google/dev" + - "tools/artifactregistry/v1/tag.proto\032\034goo" + - "gle/protobuf/struct.proto\032\037google/protob" + - "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" + - " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" + - "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" + - "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" + - "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" + - "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" + - "\222\001\n\'artifactregistry.googleapis.com/Vers" + - "ion\022gprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/packages/" + - "{package}/versions/{version}\"\243\001\n\023ListVer" + - "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" + - "\01620.google.devtools.artifactregistry.v1." + - "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" + - "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" + - "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" + - " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" + - "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" + - "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index 1ec8e04d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" + - "m_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.YumArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + - "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + - "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + - "ctregistry.googleapis.com/YumArtifact\022]p" + - "rojects/{project}/locations/{location}/r" + - "epositories/{repository}/yumArtifacts/{y" + - "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + - "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + - "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + - "urce\030\002 \001(\0132@.google.devtools.artifactreg" + - "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + - "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + - "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + - "oogle.devtools.artifactregistry.v1.Impor" + - "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + - "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + - "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + - "\003(\01320.google.devtools.artifactregistry.v" + - "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + - "evtools.artifactregistry.v1.ImportYumArt" + - "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + - "adataB\376\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + - "lang.org/genproto/googleapis/devtools/ar" + - "tifactregistry/v1;artifactregistry\252\002 Goo" + - "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + - "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + - "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index bf2e6f04..00000000 --- a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2456 +0,0 @@ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index eabaa203..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,157 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/apt_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.AptArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + - "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + - " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + - "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + - "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + - "ptArtifact\022]projects/{project}/locations" + - "/{location}/repositories/{repository}/ap" + - "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + - "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + - "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + - "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + - "s.artifactregistry.v1beta2.ImportAptArti" + - "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + - "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + - "s_source\030\001 \001(\0132E.google.devtools.artifac" + - "tregistry.v1beta2.ImportAptArtifactsGcsS" + - "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + - "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + - "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + - "ools.artifactregistry.v1beta2.AptArtifac" + - "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + - "factregistry.v1beta2.ImportAptArtifactsE" + - "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + - "\002\n,com.google.devtools.artifactregistry." + - "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + - "ng.org/genproto/googleapis/devtools/arti" + - "factregistry/v1beta2;artifactregistry\252\002%" + - "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + - "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + - "Google::Cloud::ArtifactRegistry::V1beta2" + - "b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index 0df0c1b7..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index b29d4e2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 9be43f2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index c605f981..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,130 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" + - "a2/file.proto\022(google.devtools.artifactr" + - "egistry.v1beta2\032\034google/api/annotations." + - "proto\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + - "pe\030\001 \001(\01627.google.devtools.artifactregis" + - "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + - "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + - "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + - "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + - "..google.devtools.artifactregistry.v1bet" + - "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + - ":y\352Av\n$artifactregistry.googleapis.com/F" + - "ile\022Nprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/files/{fi" + - "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + - "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + - "iles\030\001 \003(\0132..google.devtools.artifactreg" + - "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + - "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + - "com.google.devtools.artifactregistry.v1b" + - "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + - "proto/googleapis/devtools/artifactregist" + - "ry/v1beta2;artifactregistry\252\002%Google.Clo" + - "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + - "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + - "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 13fd2797..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 0521cb2b..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index cfd70f3e..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index ad095e24..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 31d1c627..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 343d02be..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9ea4c192..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 9d96bd08..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0e725b25..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,115 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/package.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\037google/protobuf/time" + - "stamp.proto\032\034google/api/annotations.prot" + - "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." + - "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" + - "\032.google.protobuf.Timestamp\"L\n\023ListPacka" + - "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" + - "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" + - "tools.artifactregistry.v1beta2.Package\022\027" + - "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" + - "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" + - "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" + - ".artifactregistry.v1beta2B\014PackageProtoP" + - "\001ZXgoogle.golang.org/genproto/googleapis" + - "/devtools/artifactregistry/v1beta2;artif" + - "actregistry\252\002%Google.Cloud.ArtifactRegis" + - "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" + - "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" + - "istry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 39b40092..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" + - "a2/repository.proto\022(google.devtools.art" + - "ifactregistry.v1beta2\032\034google/api/annota" + - "tions.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + - "en_config\030\t \001(\0132J.google.devtools.artifa" + - "ctregistry.v1beta2.Repository.MavenRepos" + - "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + - "\001(\0162;.google.devtools.artifactregistry.v" + - "1beta2.Repository.Format\022\023\n\013description\030" + - "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + - "artifactregistry.v1beta2.Repository.Labe" + - "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + - "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + - "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + - "policy\030\002 \001(\0162X.google.devtools.artifactr" + - "egistry.v1beta2.Repository.MavenReposito" + - "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + - "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + - "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + - "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + - "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + - "\010:r\352Ao\n*artifactregistry.googleapis.com/" + - "Repository\022Aprojects/{project}/locations" + - "/{location}/repositories/{repository}B\017\n" + - "\rformat_config\"\204\001\n\027ListRepositoriesReque" + - "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + - "stry.googleapis.com/Repository\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + - "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + - "4.google.devtools.artifactregistry.v1bet" + - "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + - "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + - "\002\372A,\n*artifactregistry.googleapis.com/Re" + - "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + - "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + - "oogleapis.com/Repository\022\025\n\rrepository_i" + - "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + - "tools.artifactregistry.v1beta2.Repositor" + - "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + - "ory\030\001 \001(\01324.google.devtools.artifactregi" + - "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + - "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + - ",\n*artifactregistry.googleapis.com/Repos" + - "itoryB\226\002\n,com.google.devtools.artifactre" + - "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1beta2;artifactregis" + - "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + - "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + - "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + - "1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index 2ae49699..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,262 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/service.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032;googl" + - "e/devtools/artifactregistry/v1beta2/apt_" + - "artifact.proto\0323google/devtools/artifact" + - "registry/v1beta2/file.proto\0326google/devt" + - "ools/artifactregistry/v1beta2/package.pr" + - "oto\0329google/devtools/artifactregistry/v1" + - "beta2/repository.proto\0327google/devtools/" + - "artifactregistry/v1beta2/settings.proto\032" + - "2google/devtools/artifactregistry/v1beta" + - "2/tag.proto\0326google/devtools/artifactreg" + - "istry/v1beta2/version.proto\032;google/devt" + - "ools/artifactregistry/v1beta2/yum_artifa" + - "ct.proto\032\036google/iam/v1/iam_policy.proto" + - "\032\032google/iam/v1/policy.proto\032#google/lon" + - "grunning/operations.proto\032\033google/protob" + - "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + - "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + - "C.google.devtools.artifactregistry.v1bet" + - "a2.ImportAptArtifactsRequest\032\035.google.lo" + - "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + - "parent=projects/*/locations/*/repositori" + - "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + - ".devtools.artifactregistry.v1beta2.Impor" + - "tAptArtifactsResponse\022Cgoogle.devtools.a" + - "rtifactregistry.v1beta2.ImportAptArtifac" + - "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + - "le.devtools.artifactregistry.v1beta2.Imp" + - "ortYumArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + - "=projects/*/locations/*/repositories/*}/" + - "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + - "ols.artifactregistry.v1beta2.ImportYumAr" + - "tifactsResponse\022Cgoogle.devtools.artifac" + - "tregistry.v1beta2.ImportYumArtifactsMeta" + - "data\022\341\001\n\020ListRepositories\022A.google.devto" + - "ols.artifactregistry.v1beta2.ListReposit" + - "oriesRequest\032B.google.devtools.artifactr" + - "egistry.v1beta2.ListRepositoriesResponse" + - "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + - "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + - "Repository\022>.google.devtools.artifactreg" + - "istry.v1beta2.GetRepositoryRequest\0324.goo" + - "gle.devtools.artifactregistry.v1beta2.Re" + - "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + - "s/*/locations/*/repositories/*}\332A\004name\022\326" + - "\002\n\020CreateRepository\022A.google.devtools.ar" + - "tifactregistry.v1beta2.CreateRepositoryR" + - "equest\032\035.google.longrunning.Operation\"\337\001" + - "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + - "tions/*}/repositories:\nrepository\332A\037pare" + - "nt,repository,repository_id\312Aq\n3google.d" + - "evtools.artifactregistry.v1beta2.Reposit" + - "ory\022:google.devtools.artifactregistry.v1" + - "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + - "tory\022A.google.devtools.artifactregistry." + - "v1beta2.UpdateRepositoryRequest\0324.google" + - ".devtools.artifactregistry.v1beta2.Repos" + - "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + - "=projects/*/locations/*/repositories/*}:" + - "\nrepository\332A\026repository,update_mask\022\221\002\n" + - "\020DeleteRepository\022A.google.devtools.arti" + - "factregistry.v1beta2.DeleteRepositoryReq" + - "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + - "\344\223\0027*5/v1beta2/{name=projects/*/location" + - "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + - "otobuf.Empty\022:google.devtools.artifactre" + - "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + - "tPackages\022=.google.devtools.artifactregi" + - "stry.v1beta2.ListPackagesRequest\032>.googl" + - "e.devtools.artifactregistry.v1beta2.List" + - "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + - "nt=projects/*/locations/*/repositories/*" + - "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + - "gle.devtools.artifactregistry.v1beta2.Ge" + - "tPackageRequest\0321.google.devtools.artifa" + - "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + - "eta2/{name=projects/*/locations/*/reposi" + - "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + - "ckage\022>.google.devtools.artifactregistry" + - ".v1beta2.DeletePackageRequest\032\035.google.l" + - "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + - "{name=projects/*/locations/*/repositorie" + - "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + - "uf.Empty\022:google.devtools.artifactregist" + - "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + - "sions\022=.google.devtools.artifactregistry" + - ".v1beta2.ListVersionsRequest\032>.google.de" + - "vtools.artifactregistry.v1beta2.ListVers" + - "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + - "rojects/*/locations/*/repositories/*/pac" + - "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + - "n\022;.google.devtools.artifactregistry.v1b" + - "eta2.GetVersionRequest\0321.google.devtools" + - ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + - "M\022K/v1beta2/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + - "s.artifactregistry.v1beta2.DeleteVersion" + - "Request\032\035.google.longrunning.Operation\"\260" + - "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + - "ions/*/repositories/*/packages/*/version" + - "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + - "oogle.devtools.artifactregistry.v1beta2." + - "OperationMetadata\022\324\001\n\tListFiles\022:.google" + - ".devtools.artifactregistry.v1beta2.ListF" + - "ilesRequest\032;.google.devtools.artifactre" + - "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + - "\022=/v1beta2/{parent=projects/*/locations/" + - "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + - "File\0228.google.devtools.artifactregistry." + - "v1beta2.GetFileRequest\032..google.devtools" + - ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + - "/v1beta2/{name=projects/*/locations/*/re" + - "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + - "gs\0229.google.devtools.artifactregistry.v1" + - "beta2.ListTagsRequest\032:.google.devtools." + - "artifactregistry.v1beta2.ListTagsRespons" + - "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + - "ocations/*/repositories/*/packages/*}/ta" + - "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + - ".artifactregistry.v1beta2.GetTagRequest\032" + - "-.google.devtools.artifactregistry.v1bet" + - "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + - "vtools.artifactregistry.v1beta2.CreateTa" + - "gRequest\032-.google.devtools.artifactregis" + - "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + - "t=projects/*/locations/*/repositories/*/" + - "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + - "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + - "ctregistry.v1beta2.UpdateTagRequest\032-.go" + - "ogle.devtools.artifactregistry.v1beta2.T" + - "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + - "eTag\022:.google.devtools.artifactregistry." + - "v1beta2.DeleteTagRequest\032\026.google.protob" + - "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + - "s/*/locations/*/repositories/*/packages/" + - "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + - "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + - "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + - "=projects/*/locations/*/repositories/*}:" + - "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + - "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + - "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + - "projects/*/locations/*/repositories/*}:g" + - "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + - "gle.iam.v1.TestIamPermissionsRequest\032).g" + - "oogle.iam.v1.TestIamPermissionsResponse\"" + - "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + - "ocations/*/repositories/*}:testIamPermis" + - "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + - ".devtools.artifactregistry.v1beta2.GetPr" + - "ojectSettingsRequest\0329.google.devtools.a" + - "rtifactregistry.v1beta2.ProjectSettings\"" + - "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + - "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + - "ings\022F.google.devtools.artifactregistry." + - "v1beta2.UpdateProjectSettingsRequest\0329.g" + - "oogle.devtools.artifactregistry.v1beta2." + - "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + - "ct_settings.name=projects/*/projectSetti" + - "ngs}:\020project_settings\332A\034project_setting" + - "s,update_mask\032\214\001\312A\037artifactregistry.goog" + - "leapis.com\322Aghttps://www.googleapis.com/" + - "auth/cloud-platform,https://www.googleap" + - "is.com/auth/cloud-platform.read-onlyB\223\002\n" + - ",com.google.devtools.artifactregistry.v1" + - "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + - "/genproto/googleapis/devtools/artifactre" + - "gistry/v1beta2;artifactregistry\252\002%Google" + - ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + - "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + - "::Cloud::ArtifactRegistry::V1beta2b\006prot" + - "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index e3b740d3..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,112 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" + - "a2/settings.proto\022(google.devtools.artif" + - "actregistry.v1beta2\032\034google/api/annotati" + - "ons.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + - "state\030\002 \001(\0162J.google.devtools.artifactre" + - "gistry.v1beta2.ProjectSettings.Redirecti" + - "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + - "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + - "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + - "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + - "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + - ".googleapis.com/ProjectSettings\022\"project" + - "s/{project}/projectSettings\"b\n\031GetProjec" + - "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + - "artifactregistry.googleapis.com/ProjectS" + - "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + - "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + - "ools.artifactregistry.v1beta2.ProjectSet" + - "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + - "rtifactregistry.v1beta2B\rSettingsProtoP\001" + - "ZXgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1beta2;artifa" + - "ctregistry\252\002%Google.Cloud.ArtifactRegist" + - "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + - "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + - "stry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 392fa000..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,151 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" + - "a2/tag.proto\022(google.devtools.artifactre" + - "gistry.v1beta2\032\034google/api/annotations.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + - "ags\030\001 \003(\0132-.google.devtools.artifactregi" + - "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + - "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + - "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + - " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + - "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + - "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\010Ta" + - "gProtoP\001ZXgoogle.golang.org/genproto/goo" + - "gleapis/devtools/artifactregistry/v1beta" + - "2;artifactregistry\252\002%Google.Cloud.Artifa" + - "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + - "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + - "factRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index cd58bc89..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,145 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/version.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\0322google/dev" + - "tools/artifactregistry/v1beta2/tag.proto" + - "\032\034google/protobuf/struct.proto\032\037google/p" + - "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" + - "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." + - "devtools.artifactregistry.v1beta2.Tag\022.\n" + - "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" + - "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" + - "s.com/Version\022gprojects/{project}/locati" + - "ons/{location}/repositories/{repository}" + - "/packages/{package}/versions/{version}\"\250" + - "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" + - "\004view\030\004 \001(\01625.google.devtools.artifactre" + - "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" + - " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" + - "sions\030\001 \003(\01321.google.devtools.artifactre" + - "gistry.v1beta2.Version\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" + - "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" + - "actregistry.v1beta2.VersionView\"3\n\024Delet" + - "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" + - " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" + - "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" + - "oogle.devtools.artifactregistry.v1beta2B" + - "\014VersionProtoP\001ZXgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1beta2;artifactregistry\252\002%Google.Cloud" + - ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" + - "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" + - "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5e402911..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,155 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/yum_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.YumArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + - "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + - "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + - "factregistry.googleapis.com/YumArtifact\022" + - "]projects/{project}/locations/{location}" + - "/repositories/{repository}/yumArtifacts/" + - "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + - "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + - "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + - "source\030\002 \001(\0132E.google.devtools.artifactr" + - "egistry.v1beta2.ImportYumArtifactsGcsSou" + - "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + - "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + - "\001(\0132E.google.devtools.artifactregistry.v" + - "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + - "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + - "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + - "artifacts\030\001 \003(\01325.google.devtools.artifa" + - "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + - "\030\002 \003(\0132E.google.devtools.artifactregistr" + - "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + - "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\020Yu" + - "mArtifactProtoP\001ZXgoogle.golang.org/genp" + - "roto/googleapis/devtools/artifactregistr" + - "y/v1beta2;artifactregistry\252\002%Google.Clou" + - "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + - "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + - "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 448922b7..7117c539 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +617,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +629,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +639,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.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = + (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +682,103 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +787,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -736,16 +811,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +839,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +860,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +876,39 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +916,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +959,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +972,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +994,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1016,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1078,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1100,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1122,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1184,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1288,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1310,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1332,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1394,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1416,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1438,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1500,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1515,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1421,16 +1578,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1602,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index ccbfbfba..24f2f3e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..fe9a09c5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..9fd5ca98 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { + "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { + "DockerImages", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 73cce54c..28dde700 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +376,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -452,16 +504,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +530,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -500,7 +552,8 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +569,50 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +643,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +657,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +681,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +705,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +773,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +795,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +817,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +879,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +940,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +960,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +972,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +986,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1006,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,11 +1015,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
@@ -918,11 +1032,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1047,24 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1074,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1111,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index cc064ca5..9816339e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index bbdbbb62..31cca5ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,11 +253,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ @java.lang.Override @@ -232,6 +268,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +282,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +294,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_); } @@ -282,8 +320,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +330,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +369,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -452,16 +497,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -500,7 +544,8 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +561,39 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +633,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +646,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +668,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +690,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +752,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +774,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +796,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +858,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,14 +919,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -856,6 +938,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +950,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +964,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +984,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +993,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1010,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1025,24 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -968,16 +1066,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index ffc90b5d..491f3b74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index a84494eb..8f10f939 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +485,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +507,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +529,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +600,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -566,16 +615,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index 8ad16aca..e347b777 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder extends +public interface DeletePackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index e9c9f3e3..29138c37 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +515,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +539,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +616,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..d2bbba3c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 492ecb7a..0f4b7556 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..ea110ac1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index bb45536b..74d8170f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,125 +253,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -355,16 +388,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +408,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +430,8 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,38 +442,39 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +482,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +511,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +524,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +546,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +568,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +646,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,12 +694,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -651,16 +709,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index a845238c..fbc7fd65 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index e11da581..cc31dfd0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -33,16 +51,15 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,71 +79,79 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uri_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tags_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            tags_.add(s);
-            break;
-          }
-          case 32: {
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            imageSizeBytes_ = input.readInt64();
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (uploadTime_ != null) {
-              subBuilder = uploadTime_.toBuilder();
+              uri_ = s;
+              break;
             }
-            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(uploadTime_);
-              uploadTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              tags_.add(s);
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            mediaType_ = s;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (buildTime_ != null) {
-              subBuilder = buildTime_.toBuilder();
+          case 32:
+            {
+              imageSizeBytes_ = input.readInt64();
+              break;
             }
-            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(buildTime_);
-              buildTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (uploadTime_ != null) {
+                subBuilder = uploadTime_.toBuilder();
+              }
+              uploadTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(uploadTime_);
+                uploadTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              mediaType_ = s;
+              break;
+            }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (buildTime_ != null) {
+                subBuilder = buildTime_.toBuilder();
+              }
+              buildTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(buildTime_);
+                buildTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -134,8 +159,7 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -144,22 +168,27 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class,
+            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -174,6 +203,7 @@ private DockerImage(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -182,14 +212,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; } } /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -204,16 +235,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -224,6 +254,8 @@ public java.lang.String getName() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -231,6 +263,7 @@ public java.lang.String getName() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -239,14 +272,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -254,16 +288,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -274,34 +307,42 @@ public java.lang.String getUri() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -309,22 +350,26 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -332,6 +377,7 @@ public java.lang.String getTags(int index) {
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -342,11 +388,14 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -354,11 +403,14 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ @java.lang.Override @@ -366,6 +418,8 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** + * + * *
    * Time the image was uploaded.
    * 
@@ -380,6 +434,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -388,6 +444,7 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; + * * @return The mediaType. */ @java.lang.Override @@ -396,14 +453,15 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -412,16 +470,15 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -432,6 +489,8 @@ public java.lang.String getMediaType() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -441,6 +500,7 @@ public java.lang.String getMediaType() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -448,6 +508,8 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -457,6 +519,7 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ @java.lang.Override @@ -464,6 +527,8 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -480,6 +545,7 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -491,8 +557,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_);
     }
@@ -538,19 +603,16 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -560,32 +622,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other =
+        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getUri()
-        .equals(other.getUri())) return false;
-    if (!getTagsList()
-        .equals(other.getTagsList())) return false;
-    if (getImageSizeBytes()
-        != other.getImageSizeBytes()) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getUri().equals(other.getUri())) return false;
+    if (!getTagsList().equals(other.getTagsList())) return false;
+    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime()
-          .equals(other.getUploadTime())) return false;
+      if (!getUploadTime().equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType()
-        .equals(other.getMediaType())) return false;
+    if (!getMediaType().equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime()
-          .equals(other.getBuildTime())) return false;
+      if (!getBuildTime().equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -607,8 +663,7 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -625,96 +680,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -726,21 +788,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class,
+              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -748,16 +812,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -787,9 +850,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -808,7 +871,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result =
+          new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -837,38 +901,39 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,7 +941,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -927,7 +993,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -936,10 +1003,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -954,13 +1024,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -969,6 +1039,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -983,15 +1055,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -999,6 +1070,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1013,20 +1086,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1041,15 +1116,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1064,16 +1142,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,6 +1159,8 @@ public Builder setNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1088,13 +1168,13 @@ public Builder setNameBytes(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1103,6 +1183,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1110,15 +1192,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1126,6 +1207,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1133,20 +1216,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1154,15 +1239,18 @@ public Builder setUri(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1170,57 +1258,67 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1228,80 +1326,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -1311,28 +1419,32 @@ public Builder clearTags() { return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_ ; + private long imageSizeBytes_; /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1340,6 +1452,7 @@ public Builder addTagsBytes(
      * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -1347,6 +1460,8 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1354,16 +1469,19 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; + * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1371,10 +1489,11 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; + * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1382,34 +1501,47 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + uploadTimeBuilder_; /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1430,14 +1562,15 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1448,6 +1581,8 @@ public Builder setUploadTime( return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1458,7 +1593,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1470,6 +1605,8 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1488,6 +1625,8 @@ public Builder clearUploadTime() { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1495,11 +1634,13 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1510,11 +1651,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1522,14 +1666,17 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), - getParentForChildren(), - isClean()); + uploadTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), getParentForChildren(), isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1537,6 +1684,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1545,13 +1694,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; + * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1560,6 +1709,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1568,15 +1719,14 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1584,6 +1734,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1592,20 +1744,22 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType( - java.lang.String value) { + public Builder setMediaType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1614,15 +1768,18 @@ public Builder setMediaType(
      * 
* * string media_type = 6; + * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1631,16 +1788,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; + * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1648,8 +1805,13 @@ public Builder setMediaTypeBytes( private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + buildTimeBuilder_; /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1659,12 +1821,15 @@ public Builder setMediaTypeBytes(
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1674,6 +1839,7 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1684,6 +1850,8 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1708,6 +1876,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1718,8 +1888,7 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1730,6 +1899,8 @@ public Builder setBuildTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1744,7 +1915,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1756,6 +1927,8 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1778,6 +1951,8 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1789,11 +1964,13 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-      
+
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1808,11 +1985,12 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1824,21 +2002,24 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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>
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(),
-                getParentForChildren(),
-                isClean());
+        buildTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(), getParentForChildren(), isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
+
     @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);
     }
 
@@ -1848,12 +2029,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -1862,16 +2043,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DockerImage parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new DockerImage(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DockerImage parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new DockerImage(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1886,6 +2067,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 320f9fe3..23262b8c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder extends
+public interface DockerImageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -22,10 +40,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,12 +61,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -53,10 +76,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -64,53 +90,65 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -118,29 +156,38 @@ public interface DockerImageOrBuilder extends
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
@@ -150,6 +197,8 @@ public interface DockerImageOrBuilder extends com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -158,10 +207,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The mediaType. */ java.lang.String getMediaType(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -170,12 +222,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString - getMediaTypeBytes(); + com.google.protobuf.ByteString getMediaTypeBytes(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -185,10 +239,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -198,10 +255,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index 6c52e7ff..ce45d8df 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,73 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +147,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +156,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +184,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +193,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +209,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 { @@ -198,11 +228,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +246,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +259,8 @@ public java.util.List getHashesLis return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +268,13 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +286,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +299,8 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +308,21 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +330,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +345,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +361,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +376,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +391,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +407,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +423,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +454,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +466,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_); } @@ -437,20 +498,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +520,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = + (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +554,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -523,118 +574,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -642,17 +702,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -705,7 +765,8 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = + new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +798,39 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); } else { super.mergeFrom(other); return this; @@ -802,9 +864,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -848,10 +911,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +925,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +940,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +949,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 { @@ -897,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +973,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +996,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1015,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1047,60 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1115,8 @@ public java.util.List getHashesLis } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1131,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1147,15 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1169,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1189,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1211,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,14 +1233,15 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1152,6 +1252,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1272,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1284,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1292,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1311,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,39 +1330,44 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1375,8 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1384,48 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1433,47 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1494,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1513,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1525,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1537,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1557,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1566,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1583,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1598,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1616,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1677,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1696,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1708,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1720,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1740,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1749,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1766,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1781,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1799,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1821,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1843,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1914,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1742,16 +1928,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 647b4921..1fcb148d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..0a01aeb9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,146 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "OrderBy", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index 6adf4d6d..f871a896 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = + new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -566,16 +630,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..646394c6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index ecee545f..3f8a0fad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = + (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = + new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..0499ed5e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index 10915d11..dedb9b29 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 4875af8f..76ccce9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder extends +public interface GetPackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 020c6eea..3627d4ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..0652626c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 048b50e2..583d7cc7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +513,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +537,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +614,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -566,16 +629,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..5a1488a1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index b8001a05..7b8ad00d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = + (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = + new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..aa348921 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index 87991098..acecfccc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -408,7 +455,8 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +467,39 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +535,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +548,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +570,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +592,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +654,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +722,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -690,16 +770,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,6 +794,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index da00f2d4..e84fc09e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index 1c03545a..c47f21a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +279,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +333,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +345,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +363,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +379,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = + (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,118 +409,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -480,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -522,7 +578,8 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = + new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +590,39 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); } else { super.mergeFrom(other); return this; @@ -610,51 +668,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +736,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +761,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +776,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -753,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index d8e3f7f4..be94835f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index bb7e4513..9c9acac2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 01ea3691..421580d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 7ae60022..98066536 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index 5fc859fc..af98cad2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 4ca45085..7d39fbec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fffbb74 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 8259205d..559cb1cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index f70fc673..7d91344c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 2dc5cfd3..6f0a6f0a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +125,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getAp return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getAp } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index 7c5e3ba3..da3615ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 6cdd7e6a..8a621732 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index 845066fd..f04be65c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index d6815dc2..85d8b6ca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index a4a49e76..0771527b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 1833db60..14ed5254 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9cbb42e5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index b2984499..82bcbf4b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 38d3e8bd..2f447836 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index 8a51de85..c3ec50ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +125,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getYu return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getYu } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index e42fa5ab..50fe871f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index d180c24c..5102e43d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -460,7 +497,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +510,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +584,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +598,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +620,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +642,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +719,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +756,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +778,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +800,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +871,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +908,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 5ba1a827..30b4accd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder extends +public interface ListDockerImagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index 4ab80e6e..ac237ea9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dockerImages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.DockerImage.parser(), + extensionRegistry)); + break; } - dockerImages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -94,22 +115,27 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** + * + * *
    * The docker images returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getDo return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -144,6 +174,8 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** + * + * *
    * The docker images returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** + * + * *
    * The docker images returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList() - .equals(other.getDockerImagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -411,17 +456,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) { getDockerImagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) + return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImage dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDockerImagesFieldBuilder() : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDockerImagesFieldBuilder() + : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(dockerImages_); + dockerImages_ = + new java.util.ArrayList( + dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + dockerImagesBuilder_; /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List getDockerImagesList() { + public java.util.List + getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -605,6 +669,8 @@ public java.util.List getDo } } /** + * + * *
      * The docker images returned.
      * 
@@ -619,6 +685,8 @@ public int getDockerImagesCount() { } } /** + * + * *
      * The docker images returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** + * + * *
      * The docker images returned.
      * 
@@ -654,6 +724,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -672,6 +744,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -692,6 +766,8 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -713,6 +789,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -731,6 +809,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -749,6 +829,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearDockerImages() { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeDockerImages(int index) { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The docker images returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); } else { + return dockerImages_.get(index); + } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** + * + * *
      * The docker images returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dockerImagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index c2023b9e..e0d919e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder extends +public interface ListDockerImagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List - getDockerImagesList(); + java.util.List getDockerImagesList(); /** + * + * *
    * The docker images returned.
    * 
@@ -25,6 +44,8 @@ public interface ListDockerImagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** + * + * *
    * The docker images returned.
    * 
@@ -33,43 +54,51 @@ public interface ListDockerImagesResponseOrBuilder extends */ int getDockerImagesCount(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 3d55fa27..411fed6c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -28,16 +46,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -136,30 +162,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +196,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -183,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -191,14 +220,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -212,16 +242,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 { @@ -232,11 +261,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -247,11 +279,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -260,29 +295,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -293,11 +328,14 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -306,29 +344,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; } } /** + * + * *
    * The field to order the results by.
    * 
* * 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 { @@ -337,6 +375,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -378,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -398,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -442,117 +475,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -560,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -608,7 +650,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -622,38 +665,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -661,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -700,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -712,19 +758,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -733,21 +781,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -755,57 +804,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -826,13 +884,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -841,6 +899,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -854,15 +914,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 { @@ -870,6 +929,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -883,20 +944,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -910,15 +973,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -932,28 +998,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -961,30 +1030,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -992,18 +1067,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1012,20 +1089,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1033,54 +1111,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1088,18 +1173,20 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The field to order the results by.
      * 
* * 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; @@ -1108,20 +1195,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * 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 { @@ -1129,61 +1217,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1193,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1207,16 +1302,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index 1c397163..b5e92315 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,58 +86,71 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index 9ec076ca..e084224a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +113,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getFilesList return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +172,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -411,17 +453,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getFilesList } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +675,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +733,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +755,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +816,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index c336fc53..1233e9a3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index a0f89423..71e6ae6d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -460,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,38 +509,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; @@ -511,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +594,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +616,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +638,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +715,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +752,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +774,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +796,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -812,16 +881,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,6 +905,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index 060f2b1f..d503daf4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index 3a627415..de6c46c8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +114,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getPackag return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +173,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -411,17 +454,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) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getPackag } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +679,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +737,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,14 +759,15 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +801,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +821,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,17 +879,20 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** + * + * *
      * The packages returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( - int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { + return getPackagesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index c8f36957..b1ee1f50 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index f1d9d7e9..82160ab1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +329,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -416,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -460,7 +501,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +514,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +588,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +602,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +626,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +650,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +733,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +770,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +792,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +814,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +885,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index fde383a0..90b52eae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 1eb77068..803da10f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +115,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getRep return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +174,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) + return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositorie repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +669,8 @@ public java.util.List getRep } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +685,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +724,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -672,6 +744,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +766,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +789,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +809,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -749,6 +829,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** + * + * *
      * The repositories returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index ac72a01a..1654957b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,43 +54,51 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 86938b7a..968a6cf3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -535,7 +574,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +588,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +664,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +677,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +699,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +721,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +783,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +795,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +810,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +822,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 { @@ -781,6 +837,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +849,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +875,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +897,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +929,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +966,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +988,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1010,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1013,16 +1095,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 338c640b..0bf5fee0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index c34a1b83..f93eed7a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +113,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTagsList() return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +172,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -411,17 +453,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getTagsList() } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +675,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +733,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +755,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +816,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 53f7130a..8a0a118f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index 7e27c2e6..b73c0779 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -571,7 +625,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,38 +640,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -624,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +732,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +754,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +776,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +853,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +890,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +912,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +934,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +996,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1064,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1089,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1111,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1133,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1102,16 +1218,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,6 +1242,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index 039f3d9b..bbed7b15 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 7ef4d76b..1acb4394 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +114,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getVersio return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +173,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -411,17 +454,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) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getVersio } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +679,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +737,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,14 +759,15 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +801,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +821,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,17 +879,20 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** + * + * *
      * The versions returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( - int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { + return getVersionsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index d7fd7ec0..610ee3e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index d94e616c..6737d59a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = + (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = + new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -400,16 +432,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..0dec3987 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index b8110e19..1736129a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,29 +129,33 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -136,6 +163,7 @@ private Package(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -144,14 +172,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -159,16 +188,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 { @@ -179,11 +207,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -192,29 +223,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -225,11 +256,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -237,11 +271,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -249,6 +286,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -263,12 +302,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -276,12 +318,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -289,6 +334,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -302,6 +349,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +361,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_);
     }
@@ -343,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -358,26 +403,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.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other =
+        (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -407,118 +449,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -526,16 +577,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +609,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -580,7 +630,8 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = + new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -601,38 +652,39 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); } else { super.mergeFrom(other); return this; @@ -640,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -686,6 +739,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -693,13 +748,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -708,6 +763,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -715,15 +772,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 { @@ -731,6 +787,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -738,20 +796,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -759,15 +819,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -775,16 +838,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -792,18 +855,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -812,20 +877,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -833,54 +899,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -888,34 +961,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -936,14 +1022,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -954,6 +1041,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -964,7 +1053,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -976,6 +1065,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,6 +1085,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -1001,11 +1094,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1016,11 +1111,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1028,14 +1126,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1043,36 +1144,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,6 +1208,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1101,8 +1217,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1113,6 +1228,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1124,7 +1241,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1136,6 +1253,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1155,6 +1274,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1163,11 +1284,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1179,11 +1302,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1192,21 +1318,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1216,12 +1345,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1230,16 +1359,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1383,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 94ad9830..23149f99 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -15,10 +33,13 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -26,50 +47,63 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -79,26 +113,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..a8c0a10a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,141 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa"
+          + "ckage.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032\037google/pro"
+          + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam"
+          + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_"
+          + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/"
+          + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti"
+          + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent"
+          + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
+          + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa"
+          + "ckages\030\001 \003(\0132,.google.devtools.artifactr"
+          + "egistry.v1.Package\022\027\n\017next_page_token\030\002 "
+          + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003"
+          + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001("
+          + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr"
+          + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan"
+          + "g.org/genproto/googleapis/devtools/artif"
+          + "actregistry/v1;artifactregistry\252\002 Google"
+          + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou"
+          + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A"
+          + "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 4f9ae440..3be659f8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = + (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -578,7 +654,8 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = + new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +666,39 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +706,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +734,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +747,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +758,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +773,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +784,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 { @@ -716,6 +799,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +810,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +835,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +856,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +873,112 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -880,16 +1002,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1026,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index 0eb8aa35..fba88646 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2a08d6b3..2b2685c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,51 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +860,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +880,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +896,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +919,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +927,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,6 +1031,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -891,38 +1041,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using
+      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -934,19 +1088,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -954,8 +1111,10 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -966,46 +1125,54 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
+        if (other
+            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom(
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other
+            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+                .getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1027,11 +1194,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1041,14 +1211,17 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_ ;
+      private boolean allowSnapshotOverwrites_;
       /**
+       *
+       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1229,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1268,113 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1387,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1425,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1457,36 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1494,61 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1557,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1591,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1645,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1676,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1701,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1713,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1740,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1757,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1778,11 @@ public 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();
     }
@@ -1535,11 +1792,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1807,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1822,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1838,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1853,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1868,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1884,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1894,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1903,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1920,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1937,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1949,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1973,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +1989,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2031,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = + (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2105,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -1973,16 +2252,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2312,8 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = + new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2347,39 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2387,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2400,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2412,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2441,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2451,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2469,21 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2491,49 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2547,19 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2570,29 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2608,15 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Reposito return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2635,101 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2738,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2761,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2826,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2894,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2919,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2941,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2963,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3049,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3061,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3088,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3105,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3127,11 @@ public 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();
       }
@@ -2757,11 +3139,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3155,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3180,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3204,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3272,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3291,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3303,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3315,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3335,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3344,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3361,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3376,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3394,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3455,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3474,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3486,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3498,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3518,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3527,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3544,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3559,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3577,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3587,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3602,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3612,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3627,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3637,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3661,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3681,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3276,16 +3721,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3745,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 2924cb46..7d3073f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,104 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +157,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +169,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +186,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +202,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +219,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +257,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +292,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +302,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +317,10 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..d0e9bb14 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..c1ef77d8 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,278 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..99a5156a --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 2fdced91..685934c5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class,
+            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = + (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class,
+              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result =
+          new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,6 +569,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +580,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +606,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 { @@ -582,6 +621,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +632,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +657,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +678,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +695,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +705,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +720,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +730,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +745,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +755,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +779,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +799,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -783,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index b4c2b5af..5051621c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..98a7bb62 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 68968ca2..942b8253 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +180,22 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +203,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +232,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +244,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +261,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +274,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +315,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +473,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -443,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +516,51 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -527,7 +586,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +600,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +662,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.Projec return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +682,22 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +709,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.Proj return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +729,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +772,17 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +790,47 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +851,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +870,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +882,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +894,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +914,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +923,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +940,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +955,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +982,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1019,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 4b6628d6..21bc4289 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
@@ -35,24 +59,32 @@ public interface UpdateProjectSettingsRequestOrBuilder extends com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 04973de1..5076bc12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -399,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -449,7 +498,8 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +518,50 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) + return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +587,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +601,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +662,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +682,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +694,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +708,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +728,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,11 +737,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -673,11 +754,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +769,17 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +787,13 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +801,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +817,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +854,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +864,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +875,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +889,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +901,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +923,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +934,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +953,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +970,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +997,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1034,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 2c406dff..3fd08ad0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 578f5f70..067c0f7b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,11 +153,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ @java.lang.Override @@ -139,6 +168,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +184,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +193,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +201,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +210,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +246,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +263,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +276,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +317,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -399,16 +445,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -449,7 +494,8 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +514,39 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +594,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,14 +655,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -611,6 +674,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +686,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +700,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +720,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +729,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +746,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +761,17 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +779,13 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +793,15 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +809,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +846,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +856,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +867,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +881,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +893,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +915,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +926,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +945,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +962,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +989,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -896,16 +1003,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 11c3721e..08f6fdb8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index f20b3e2a..75a5b997 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,83 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +159,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +168,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class,
+            com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +197,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +206,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +223,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 { @@ -210,11 +242,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +258,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +291,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +306,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +321,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +337,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +352,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +367,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +383,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +397,8 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +407,13 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +426,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +440,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -389,14 +450,15 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +467,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +475,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +485,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +493,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +510,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +522,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_);
     }
@@ -489,20 +557,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +576,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other =
+        (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -576,97 +635,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +741,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class,
+              com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -697,17 +765,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +811,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +832,8 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result =
+          new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +869,39 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +909,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +943,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -911,10 +983,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +998,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1013,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1023,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 { @@ -962,6 +1038,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1048,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1072,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1092,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1109,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1131,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1153,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1215,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1276,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1295,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1307,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1319,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1339,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1348,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1365,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1380,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1398,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1459,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1478,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1490,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1502,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1522,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1531,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1548,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1563,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1614,8 @@ public java.util.List getRelatedTag
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1631,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1648,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1495,8 +1657,7 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1510,6 +1671,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1692,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1715,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1557,8 +1724,7 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1572,6 +1738,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1759,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1780,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1793,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1801,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1821,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1841,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1673,11 +1850,12 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1685,14 +1863,16 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1880,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1889,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1899,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1728,12 +1912,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
-        int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1926,23 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1.Tag,
+            com.google.devtools.artifactregistry.v1.Tag.Builder,
+            com.google.devtools.artifactregistry.v1.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1.Tag,
+                com.google.devtools.artifactregistry.v1.Tag.Builder,
+                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1950,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1964,17 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1982,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +1995,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2004,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2021,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2030,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2044,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2053,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2072,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2081,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2096,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2105,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2123,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2143,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -1967,16 +2188,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2212,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index c340f728..ec27cb32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..a4451c3a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,160 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve"
+          + "rsion.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032-google/dev"
+          + "tools/artifactregistry/v1/tag.proto\032\034goo"
+          + "gle/protobuf/struct.proto\032\037google/protob"
+          + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001"
+          + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time"
+          + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up"
+          + "date_time\030\006 \001(\0132\032.google.protobuf.Timest"
+          + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto"
+          + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030"
+          + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A"
+          + "\222\001\n\'artifactregistry.googleapis.com/Vers"
+          + "ion\022gprojects/{project}/locations/{locat"
+          + "ion}/repositories/{repository}/packages/"
+          + "{package}/versions/{version}\"\243\001\n\023ListVer"
+          + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz"
+          + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001("
+          + "\01620.google.devtools.artifactregistry.v1."
+          + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li"
+          + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio"
+          + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001"
+          + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE"
+          + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F"
+          + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre"
+          + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang"
+          + ".org/genproto/googleapis/devtools/artifa"
+          + "ctregistry/v1;artifactregistry\252\002 Google."
+          + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud"
+          + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar"
+          + "tifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index 95df7c74..c210c72e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index 6b5bbc99..d66ad118 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +528,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +544,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = + (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +581,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -637,16 +708,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +753,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = + new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +767,39 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +843,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +856,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +878,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +900,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +962,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +984,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1006,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1068,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1172,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1194,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1216,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1167,16 +1301,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1325,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index 856803b3..a9ba7500 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..faf5e918 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index e93240c0..3a443e11 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +618,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +631,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +641,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.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = + (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +684,104 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +790,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -736,16 +814,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +842,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +863,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +879,39 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +919,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +962,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +975,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +997,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1019,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1081,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1103,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1125,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1187,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1292,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1314,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1336,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1398,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1420,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1442,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1504,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1519,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1568,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1421,16 +1582,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index 7b69ee0c..a2e2ce07 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..f7549075 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,175 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 5eeab420..6f9907ad 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +532,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -500,7 +555,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +572,51 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +647,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +661,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +685,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +709,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +777,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +799,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +821,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +883,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +944,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +964,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +976,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +990,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1010,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,26 +1019,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1052,24 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1079,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1116,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index d37c1ca1..ab7b42c5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index a7c5ac4d..6368405b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,18 +253,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +284,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +296,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_); } @@ -282,8 +322,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +332,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +371,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -452,16 +499,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +525,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -500,7 +547,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +564,39 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +604,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +637,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +651,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +673,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +695,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +757,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +779,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +801,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +863,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,6 +924,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -856,6 +944,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +956,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +970,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +990,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +999,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1016,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1031,24 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1058,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -968,16 +1073,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index ed0dccb9..e1d4607a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 5a0dd439..798482af 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +227,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +375,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +397,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +408,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +475,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to delete.
      * 
* * 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; @@ -467,20 +511,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * 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 { @@ -488,61 +533,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +604,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +641,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..d133ca1d --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 3c964b02..4f00f9d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -362,7 +402,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +519,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +543,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +620,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..e954d602 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index ee36923c..3b450a74 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +601,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -566,16 +616,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..4e7fb61f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index bcba882b..21e0714d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,142 +253,152 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +432,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,46 +444,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +514,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +528,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +550,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +572,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +650,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,30 +698,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,9 +735,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index ddd7183c..fd9ab4b4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index deb68c74..19f64d27 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,75 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Hash.parser(), + extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +149,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +158,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +186,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +195,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +211,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 { @@ -198,11 +230,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +248,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +261,8 @@ public java.util.List getHash return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +270,13 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +288,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +301,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +310,21 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +332,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +347,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +363,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +378,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +393,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +409,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +425,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +456,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +468,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_); } @@ -437,20 +500,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +522,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = + (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +556,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -524,117 +577,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -642,17 +704,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +746,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -705,7 +767,8 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = + new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +800,39 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); } else { super.mergeFrom(other); return this; @@ -776,7 +840,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -802,9 +867,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -839,7 +905,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -848,10 +915,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +929,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +944,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +953,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 { @@ -897,6 +968,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +977,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +1000,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1019,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1051,61 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(hashes_); + hashes_ = + new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1120,8 @@ public java.util.List getHash } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1136,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1152,15 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1174,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1194,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1216,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,6 +1238,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1152,6 +1258,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1278,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1290,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1298,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1317,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,17 +1336,20 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1243,19 +1359,22 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1382,8 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1391,49 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1441,47 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1502,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1521,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1533,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1545,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1565,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1574,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1591,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1606,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1624,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1685,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1704,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1716,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1728,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1748,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1757,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1774,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1789,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1807,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1829,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1851,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1922,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1742,16 +1936,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1960,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 2e62a87b..6fc1602c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..8d60b37f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index ffea4ef0..40e5c38d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..63162f9e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 43d6340d..3dd93b09 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +601,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +638,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..79b06fba --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 417bc48f..0d6fbab2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -362,7 +403,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +496,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +520,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +544,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..7c22b893 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index cc80cc1e..83e7a0f8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..c70d1027 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index 6c60c285..c4aa4f3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..66b07dde --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 3855cba7..231f4729 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,13 +434,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -408,7 +456,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +468,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +508,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +537,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +551,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +573,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +595,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +657,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +725,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,30 +759,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,9 +796,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index d1805c3b..991586f3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index b4fae80f..9607e51d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,51 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() + .getEnumTypes() + .get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +281,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +335,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +347,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +365,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +381,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = + (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -362,117 +412,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -480,16 +539,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -522,7 +580,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = + new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +592,39 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); } else { super.mergeFrom(other); return this; @@ -572,7 +632,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -598,7 +659,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,51 +672,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +740,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +765,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +780,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -753,16 +843,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index c6b768e2..9d78385d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index c0d03b94..04d5baf3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 70dcd816..527043cc 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 5a2e2a7f..6fff5d5d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 182a79d5..3f05b9eb 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index d8258e0f..946c4375 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..928564d6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 6c9cd42b..2b0078e5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 89605ee4..4a4b7721 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index c1fbf2d9..6a012515 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +127,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportAptArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -710,14 +820,18 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -769,11 +889,14 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAllAptArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder + getAptArtifactsOrBuilder(int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder + addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 5ddcd053..2e5dee92 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 36b62705..8ed9ed4b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index 97ab4125..e9835bbe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 5cfb0ca7..6167e033 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index 3f093feb..e113a0a5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index 27468485..cf222560 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..e9d9fe0f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index c0b1b67b..b66c8aef 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 3becef22..195badb7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index db94a329..c3da7687 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +127,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportYumArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -710,14 +820,18 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -769,11 +889,14 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addAllYumArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder + getYumArtifactsOrBuilder(int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder + addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 1a00b12c..2bd2c9e0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 64d4e0fa..9dfbe84c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,30 +154,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @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 { @@ -163,6 +188,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -176,6 +203,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,14 +212,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -205,16 +234,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 { @@ -225,11 +253,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -240,11 +271,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -253,29 +287,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -284,6 +318,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,8 +356,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_); @@ -339,21 +372,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -379,117 +409,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -497,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,13 +561,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -543,7 +583,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -556,38 +597,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -630,7 +674,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,19 +688,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -663,21 +711,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -685,57 +734,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -743,6 +799,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -756,13 +814,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -771,6 +829,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -784,15 +844,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 { @@ -800,6 +859,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -813,20 +874,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -840,15 +903,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -862,28 +928,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -891,30 +960,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -922,18 +997,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -942,20 +1019,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -963,61 +1041,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +1112,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1041,16 +1127,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,6 +1151,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index cee62b03..6f9f9767 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,38 +86,46 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index fe6a1c0f..3c6f7a82 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.File.parser(), + extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +115,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getFile return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +174,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +196,22 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -411,17 +455,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +481,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -458,7 +503,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +585,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +617,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +628,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +664,8 @@ public java.util.List getFile } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +680,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +696,15 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +718,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +738,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +760,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +782,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -731,6 +802,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +822,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +834,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +861,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +880,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +934,49 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +984,21 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1007,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1030,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1141,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 1923defe..4631c3b8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index f95a285a..5594f7fa 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -154,12 +178,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -170,11 +197,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,29 +213,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -214,6 +244,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +256,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_); } @@ -249,8 +279,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_); @@ -263,19 +292,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.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -417,16 +454,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -461,7 +498,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -473,46 +511,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -543,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,18 +599,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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; @@ -575,20 +621,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -596,67 +643,77 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,32 +721,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,18 +760,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -717,20 +782,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -738,61 +804,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,30 +875,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,9 +912,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index f687007f..1eb63b7c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,60 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index 0d1ba786..c08e1c3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Package.parser(), + extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +115,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getP return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +174,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackag packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList( + packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getP } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +686,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** + * + * *
      * The packages returned.
      * 
@@ -654,6 +725,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +745,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,6 +767,8 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** + * + * *
      * The packages returned.
      * 
@@ -713,6 +790,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +810,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +830,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,6 +888,8 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** + * + * *
      * The packages returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 6cf4a9c8..0064727e 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index ddf035ff..a893add6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,134 +329,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +481,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance(); } @java.lang.Override @@ -460,7 +504,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +517,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +606,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +630,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +654,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +737,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +774,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +796,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +818,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +889,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +926,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index a32408c1..ec5a0872 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index f5b7cb40..d08c8a9d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.Repository>(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +116,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -117,10 +144,13 @@ private ListRepositoriesResponse( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +158,13 @@ public java.util.List g * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +176,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +189,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +206,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +223,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +297,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.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +330,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +486,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +509,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +530,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +593,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListReposi repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +625,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +636,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +675,8 @@ public java.util.List g } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +691,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +707,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +730,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -661,7 +739,8 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -672,6 +751,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +773,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +796,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +816,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -738,7 +825,8 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -749,6 +837,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -756,11 +846,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +858,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +877,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +896,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,28 +909,34 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,17 +944,22 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder + addRepositoriesBuilder() { + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +968,36 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +1005,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1028,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1051,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1125,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1162,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 1fc05520..93b11eea 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,15 +54,19 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
@@ -52,24 +77,29 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d1bbfedb..d80c37d7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,13 +553,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -535,7 +575,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +589,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +629,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +666,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +679,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +701,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +723,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +785,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +797,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +812,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +824,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 { @@ -781,6 +839,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +851,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +877,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +899,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +931,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +968,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +990,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1012,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1083,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1013,16 +1098,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index c77afd7e..7748ba51 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index e80a6480..a9ed7183 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), + extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +114,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getTagsL return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +173,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -411,17 +454,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getTagsL } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +679,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +737,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +759,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -731,6 +801,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +821,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +879,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +924,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +933,48 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +982,21 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1005,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1028,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1102,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1016,16 +1117,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index fa38f042..1b93bf53 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index 059a89b1..ae29fb6b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,13 +604,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -571,7 +626,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,46 +641,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +722,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +736,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +758,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +780,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +857,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +894,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +916,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +938,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +1000,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1068,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1093,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1115,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1137,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,30 +1208,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,9 +1245,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index 2660ddc5..e2fbbdde 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 06865407..933564d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Version.parser(), + extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +115,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getV return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +174,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersio versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList( + versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getV } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +686,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** + * + * *
      * The versions returned.
      * 
@@ -654,6 +725,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +745,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,6 +767,8 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** + * + * *
      * The versions returned.
      * 
@@ -713,6 +790,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +810,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +830,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,6 +888,8 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** + * + * *
      * The versions returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index bcc3b1a6..45175f20 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index b6258b3e..6aa3d9e4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = + new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +409,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +421,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +458,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..5373800b --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index d63f5fe3..03b7ad70 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,35 +129,40 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -143,30 +171,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -177,11 +205,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -190,29 +221,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -223,11 +254,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -235,11 +269,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -247,6 +284,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -261,12 +300,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -274,12 +316,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -287,6 +332,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -300,6 +347,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -311,8 +359,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_);
     }
@@ -341,12 +388,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -356,26 +401,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.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other =
+        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -406,117 +448,126 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -524,16 +575,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -578,7 +628,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = + new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -599,38 +650,39 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); } else { super.mergeFrom(other); return this; @@ -638,7 +690,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -672,7 +725,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,19 +738,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -705,21 +761,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -727,57 +784,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -785,18 +849,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -805,20 +871,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -826,54 +893,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -881,34 +955,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -929,14 +1016,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -947,6 +1035,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -957,7 +1047,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -969,6 +1059,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -987,6 +1079,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,11 +1088,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1009,11 +1105,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1021,14 +1120,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1036,36 +1138,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1087,6 +1202,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,8 +1211,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1106,6 +1222,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1117,7 +1235,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1129,6 +1247,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1148,6 +1268,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1156,11 +1278,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1172,11 +1296,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1185,21 +1312,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1209,12 +1339,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1223,16 +1353,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1247,6 +1377,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index cc9c2140..104cbf12 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,73 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -77,26 +111,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0a96b6ee
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/package.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\037google/protobuf/time"
+          + "stamp.proto\032\034google/api/annotations.prot"
+          + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n"
+          + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google."
+          + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132"
+          + "\032.google.protobuf.Timestamp\"L\n\023ListPacka"
+          + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030"
+          + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage"
+          + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev"
+          + "tools.artifactregistry.v1beta2.Package\022\027"
+          + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq"
+          + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque"
+          + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools"
+          + ".artifactregistry.v1beta2B\014PackageProtoP"
+          + "\001ZXgoogle.golang.org/genproto/googleapis"
+          + "/devtools/artifactregistry/v1beta2;artif"
+          + "actregistry\252\002%Google.Cloud.ArtifactRegis"
+          + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis"
+          + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg"
+          + "istry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 0fcff33f..30b8d123 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,13 +633,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -578,7 +655,8 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = + new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +667,39 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +707,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +736,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +749,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +760,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +775,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +786,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 { @@ -716,6 +801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +812,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +837,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +858,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +875,113 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +991,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -880,16 +1006,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index d633ee88..801c80f6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index 6aec32de..a7778a16 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,52 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +861,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +881,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +897,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +921,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +929,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,46 +1033,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -934,19 +1091,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -954,8 +1114,10 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -966,46 +1128,56 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); + if (other + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1027,11 +1199,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1041,14 +1216,17 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_ ; + private boolean allowSnapshotOverwrites_; /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1234,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1273,115 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1394,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1433,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1465,37 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1503,64 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1569,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1603,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1657,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1688,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1713,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1725,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1752,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1769,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1790,11 @@ public 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();
     }
@@ -1535,11 +1804,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1819,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1834,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1850,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1865,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1880,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1896,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1906,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1915,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1932,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1949,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1961,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1985,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +2002,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2044,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = + (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2118,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -1973,16 +2266,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2326,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = + new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2361,39 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2414,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2426,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2455,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2465,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2483,22 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2506,51 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2564,20 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repos return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2588,32 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .newBuilder( + (com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2629,16 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Rep return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2657,106 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder, + com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2765,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2788,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2853,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2921,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2946,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2968,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2990,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3076,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3088,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3115,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3132,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3154,11 @@ public 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();
       }
@@ -2757,11 +3166,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3182,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3207,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3231,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3299,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3318,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3330,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3342,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3362,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3371,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3388,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3403,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3421,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3482,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3501,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3513,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3525,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3545,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3554,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3571,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3586,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3604,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3614,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3629,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3639,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3654,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3664,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3688,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3708,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3276,16 +3748,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3772,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 1aabc981..56edcd7a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,104 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +160,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +172,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +189,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +205,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +222,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +260,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +295,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +305,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +320,11 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase + getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..0f89810e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,243 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..d1061ad9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..45e2471c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index ec604378..468c4c93 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = + (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class,
+              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result =
+          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -533,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +581,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +596,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +607,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 { @@ -582,6 +622,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +633,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +658,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +679,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +696,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +706,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +721,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +731,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +746,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +756,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +780,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +800,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +826,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -783,16 +840,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +864,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 3c1dbead..16f0d517 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..117abb8f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,172 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index d90d410d..bce2f426 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,46 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = + null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +115,40 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +156,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +182,22 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +205,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +246,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +263,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +276,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +318,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,19 +477,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -442,8 +500,10 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +522,52 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -523,11 +589,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +608,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +670,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.P return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +690,23 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( + projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +718,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2 return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +738,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +781,17 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +799,47 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +860,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +879,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +891,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +903,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +932,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +949,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +964,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +991,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1029,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 8be1bfe3..4257f596 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 8d812606..48b1127b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,134 +320,145 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +478,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -449,7 +501,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +521,51 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +591,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +605,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +666,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +686,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +698,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +712,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +732,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,26 +741,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +774,17 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +792,13 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +806,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +822,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +859,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +869,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +880,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +894,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +928,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +939,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +958,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +975,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +1002,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1039,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index ce37b484..2414b1b3 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index a3ff1b5c..b88ad1b8 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +195,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +203,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +212,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +265,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +278,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +319,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -399,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -449,7 +497,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +517,39 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,6 +660,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -611,6 +680,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +692,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +706,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +726,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +735,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +752,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +767,17 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +785,13 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +799,15 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +815,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +852,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +862,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +873,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +887,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +899,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +921,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +932,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +968,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +995,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -896,16 +1010,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1034,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 697f83b5..8a19edf0 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 90c5af7f..414910c1 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,84 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
+                      extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +160,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +169,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class,
+            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +198,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +207,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +224,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 { @@ -210,11 +243,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +259,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +292,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +307,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +322,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +338,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +353,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +368,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +384,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +398,8 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +408,13 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +427,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +441,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,6 +459,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +469,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +477,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +487,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +495,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +512,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +524,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_);
     }
@@ -489,20 +559,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +578,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other =
+        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -577,96 +638,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +743,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class,
+              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -697,17 +767,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +813,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +834,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result =
+          new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +871,39 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +911,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +945,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -902,7 +976,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -911,10 +986,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +1001,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1016,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1026,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 { @@ -962,6 +1041,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1051,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1075,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1095,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1112,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1134,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1156,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1218,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1279,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1298,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1310,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1322,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1342,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1351,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1368,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1383,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1401,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1462,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1481,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1493,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1505,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1525,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1534,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1551,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1566,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1617,8 @@ public java.util.List getRelat
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1634,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1651,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1510,6 +1675,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1696,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1719,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1572,6 +1743,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1764,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1785,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1798,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1806,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1826,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1846,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1678,6 +1860,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1688,11 +1872,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1887,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1896,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1906,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1730,10 +1921,12 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1934,23 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1beta2.Tag,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1beta2.Tag,
+                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1958,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1972,17 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1990,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +2003,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2012,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2029,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2038,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2052,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2061,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2080,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2089,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2104,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2113,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2131,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2151,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -1967,16 +2196,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 1fca4549..505534fe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..5f9a1a41
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,164 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/version.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\034google/api/annotatio"
+          + "ns.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\0322google/dev"
+          + "tools/artifactregistry/v1beta2/tag.proto"
+          + "\032\034google/protobuf/struct.proto\032\037google/p"
+          + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n"
+          + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create"
+          + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022"
+          + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T"
+          + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google."
+          + "devtools.artifactregistry.v1beta2.Tag\022.\n"
+          + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct"
+          + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi"
+          + "s.com/Version\022gprojects/{project}/locati"
+          + "ons/{location}/repositories/{repository}"
+          + "/packages/{package}/versions/{version}\"\250"
+          + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021"
+          + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n"
+          + "\004view\030\004 \001(\01625.google.devtools.artifactre"
+          + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005"
+          + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver"
+          + "sions\030\001 \003(\01321.google.devtools.artifactre"
+          + "gistry.v1beta2.Version\022\027\n\017next_page_toke"
+          + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001"
+          + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif"
+          + "actregistry.v1beta2.VersionView\"3\n\024Delet"
+          + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002"
+          + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP"
+          + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g"
+          + "oogle.devtools.artifactregistry.v1beta2B"
+          + "\014VersionProtoP\001ZXgoogle.golang.org/genpr"
+          + "oto/googleapis/devtools/artifactregistry"
+          + "/v1beta2;artifactregistry\252\002%Google.Cloud"
+          + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud"
+          + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou"
+          + "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 92d55120..0621d8af 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index c0059766..6111a567 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +529,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +546,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +583,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -637,16 +711,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +756,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = + new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +770,39 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +810,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +846,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +859,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +881,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +903,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +965,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +987,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1009,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1071,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1176,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1198,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1220,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1167,16 +1305,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1329,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index c61239a2..0be7b093 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5efcc8f3 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto From d72ecc6992e49e4341422b97af27e544bad68361 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 10 Jun 2022 03:16:33 +0000 Subject: [PATCH 3/9] chore: Integrate new gapic-generator-java and rules_gapic PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9 --- .../v1/ArtifactRegistryGrpc.java | 3494 ----------------- .../v1beta2/ArtifactRegistryGrpc.java | 3275 --------------- .../v1/ArtifactRegistryClient.java | 92 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 + .../v1/ArtifactRegistryClientTest.java | 24 +- .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 2628 +++++++++++++ .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 150 + .../artifactregistry/v1/ArtifactProto.java | 119 + .../v1/CreateRepositoryRequest.java | 541 +-- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 +-- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 29 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 127 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 29 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 29 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportAptArtifactsRequest.java | 526 +-- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportYumArtifactsRequest.java | 526 +-- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 +-- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 +-- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 ++- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 +-- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 +-- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 +-- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 +-- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 +-- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 +-- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 ++- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 +-- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 9 + .../devtools/artifactregistry/v1/Package.java | 571 ++- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 122 + .../artifactregistry/v1/ProjectSettings.java | 498 +-- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 ++++----- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 203 + .../artifactregistry/v1/ServiceProto.java | 265 ++ .../artifactregistry/v1/SettingsProto.java | 108 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 147 + .../v1/UpdateProjectSettingsRequest.java | 481 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 +-- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 141 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 ++- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 148 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../v1beta2/ArtifactRegistryClient.java | 68 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 + .../v1beta2/ArtifactRegistryClientTest.java | 12 +- .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1beta2/ArtifactRegistryGrpc.java | 2456 ++++++++++++ .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 157 + .../v1beta2/CreateRepositoryRequest.java | 556 +-- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 +-- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 29 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 29 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 29 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 130 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 29 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 29 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 29 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 29 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportAptArtifactsRequest.java | 580 ++- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportYumArtifactsRequest.java | 580 ++- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 +-- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 +-- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 +-- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 +-- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 +-- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 +-- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 +-- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 +-- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 ++- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 +-- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 9 + .../artifactregistry/v1beta2/Package.java | 578 ++- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 115 + .../v1beta2/ProjectSettings.java | 506 +-- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 ++++----- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 208 + .../v1beta2/ServiceProto.java | 262 ++ .../v1beta2/SettingsProto.java | 112 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 151 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 +-- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 +-- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 145 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 ++- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 155 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 .../artifactregistry/v1/AptArtifactProto.java | 168 - .../artifactregistry/v1/ArtifactProto.java | 137 - .../v1/DeleteRepositoryRequestOrBuilder.java | 54 - .../v1/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1/FileProto.java | 146 - .../v1/GetDockerImageRequestOrBuilder.java | 54 - .../v1/GetFileRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../v1/GetRepositoryRequestOrBuilder.java | 54 - .../v1/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1/OperationMetadataOrBuilder.java | 24 - .../artifactregistry/v1/PackageProto.java | 141 - .../artifactregistry/v1/RepositoryProto.java | 238 -- .../artifactregistry/v1/ServiceProto.java | 278 -- .../artifactregistry/v1/SettingsProto.java | 125 - .../artifactregistry/v1/TagProto.java | 168 - .../artifactregistry/v1/VersionProto.java | 160 - .../artifactregistry/v1/YumArtifactProto.java | 166 - .../v1beta2/AptArtifactProto.java | 175 - .../DeletePackageRequestOrBuilder.java | 50 - .../DeleteRepositoryRequestOrBuilder.java | 54 - .../v1beta2/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1beta2/FileProto.java | 149 - .../v1beta2/GetFileRequestOrBuilder.java | 50 - .../v1beta2/GetPackageRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../GetRepositoryRequestOrBuilder.java | 54 - .../v1beta2/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1beta2/OperationMetadataOrBuilder.java | 24 - .../v1beta2/PackageProto.java | 134 - .../v1beta2/RepositoryProto.java | 243 -- .../v1beta2/ServiceProto.java | 275 -- .../v1beta2/SettingsProto.java | 129 - .../artifactregistry/v1beta2/TagProto.java | 172 - .../v1beta2/VersionProto.java | 164 - .../v1beta2/YumArtifactProto.java | 173 - 301 files changed, 27968 insertions(+), 43574 deletions(-) delete mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (97%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index 8dd4c5ad..00000000 --- a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3494 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = - getListDockerImagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = - getGetDockerImageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDockerImagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDockerImageMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.DockerImage> - getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Package> - getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Version> - getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.File> - getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages( - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) - responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage( - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index 63baa4ed..00000000 --- a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = - "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2 - .UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Package> - getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Version> - getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.File> - getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 97% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 53df3de6..6d8915b0 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -53,11 +53,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -291,7 +291,7 @@ public final ListDockerImagesPagedResponse listDockerImages(ListDockerImagesRequ * while (true) { * ListDockerImagesResponse response = * artifactRegistryClient.listDockerImagesCallable().call(request); - * for (DockerImage element : response.getResponsesList()) { + * for (DockerImage element : response.getDockerImagesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -703,7 +703,7 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ * while (true) { * ListRepositoriesResponse response = * artifactRegistryClient.listRepositoriesCallable().call(request); - * for (Repository element : response.getResponsesList()) { + * for (Repository element : response.getRepositoriesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1293,7 +1293,7 @@ public final ListPackagesPagedResponse listPackages(ListPackagesRequest request) * .build(); * while (true) { * ListPackagesResponse response = artifactRegistryClient.listPackagesCallable().call(request); - * for (Package element : response.getResponsesList()) { + * for (Package element : response.getPackagesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1582,7 +1582,7 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request) * .build(); * while (true) { * ListVersionsResponse response = artifactRegistryClient.listVersionsCallable().call(request); - * for (Version element : response.getResponsesList()) { + * for (Version element : response.getVersionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1878,7 +1878,7 @@ public final UnaryCallable listFilesPa * .build(); * while (true) { * ListFilesResponse response = artifactRegistryClient.listFilesCallable().call(request); - * for (File element : response.getResponsesList()) { + * for (File element : response.getFilesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2064,7 +2064,7 @@ public final UnaryCallable listTagsPaged * .build(); * while (true) { * ListTagsResponse response = artifactRegistryClient.listTagsCallable().call(request); - * for (Tag element : response.getResponsesList()) { + * for (Tag element : response.getTagsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2384,9 +2384,7 @@ public final UnaryCallable deleteTagCallable() { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() - * .setResource( - * DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - * .toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setPolicy(Policy.newBuilder().build()) * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); @@ -2413,9 +2411,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() - * .setResource( - * DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - * .toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setPolicy(Policy.newBuilder().build()) * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); @@ -2441,9 +2437,7 @@ public final UnaryCallable setIamPolicyCallable() { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource( - * DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - * .toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * Policy response = artifactRegistryClient.getIamPolicy(request); @@ -2469,9 +2463,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource( - * DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - * .toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * ApiFuture future = artifactRegistryClient.getIamPolicyCallable().futureCall(request); @@ -2496,9 +2488,7 @@ public final UnaryCallable getIamPolicyCallable() { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() - * .setResource( - * DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - * .toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .addAllPermissions(new ArrayList()) * .build(); * TestIamPermissionsResponse response = artifactRegistryClient.testIamPermissions(request); @@ -2524,9 +2514,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() - * .setResource( - * DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - * .toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .addAllPermissions(new ArrayList()) * .build(); * ApiFuture future = @@ -2758,10 +2746,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2811,10 +2796,7 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2835,10 +2817,7 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2888,10 +2867,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2912,10 +2888,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2964,10 +2937,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2987,10 +2957,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3039,10 +3006,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 4d59eaef..49e8df73 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java @@ -33,6 +33,7 @@ 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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -54,10 +55,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index a58cd64c..16275bcf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index 5625cda8..491a01f8 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -114,10 +114,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index 45335bd2..e0d1bb10 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,6 +84,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 98% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java index 6276ac70..5d8f4c2d 100644 --- a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java @@ -1311,9 +1311,7 @@ public void setIamPolicyTest() throws Exception { SetIamPolicyRequest request = SetIamPolicyRequest.newBuilder() - .setResource( - DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - .toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setPolicy(Policy.newBuilder().build()) .setUpdateMask(FieldMask.newBuilder().build()) .build(); @@ -1342,9 +1340,7 @@ public void setIamPolicyExceptionTest() throws Exception { try { SetIamPolicyRequest request = SetIamPolicyRequest.newBuilder() - .setResource( - DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - .toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setPolicy(Policy.newBuilder().build()) .setUpdateMask(FieldMask.newBuilder().build()) .build(); @@ -1368,9 +1364,7 @@ public void getIamPolicyTest() throws Exception { GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder() - .setResource( - DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - .toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setOptions(GetPolicyOptions.newBuilder().build()) .build(); @@ -1397,9 +1391,7 @@ public void getIamPolicyExceptionTest() throws Exception { try { GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder() - .setResource( - DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - .toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setOptions(GetPolicyOptions.newBuilder().build()) .build(); client.getIamPolicy(request); @@ -1417,9 +1409,7 @@ public void testIamPermissionsTest() throws Exception { TestIamPermissionsRequest request = TestIamPermissionsRequest.newBuilder() - .setResource( - DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - .toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .addAllPermissions(new ArrayList()) .build(); @@ -1446,9 +1436,7 @@ public void testIamPermissionsExceptionTest() throws Exception { try { TestIamPermissionsRequest request = TestIamPermissionsRequest.newBuilder() - .setResource( - DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") - .toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .addAllPermissions(new ArrayList()) .build(); client.testIamPermissions(request); diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..e3ceeee1 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,2628 @@ +package com.google.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDockerImagesMethod() { + io.grpc.MethodDescriptor getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDockerImageMethod() { + io.grpc.MethodDescriptor getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 7117c539..448922b7 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,16 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -617,10 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -629,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -639,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = - (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,103 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -787,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -811,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -839,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -860,8 +786,7 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -876,39 +801,38 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -916,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -959,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -972,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -994,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1016,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1078,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1100,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1122,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1184,103 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1288,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1310,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1332,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1394,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1416,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1438,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1500,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1515,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1564,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1578,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1602,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index 24f2f3e6..ccbfbfba 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..443f6d5f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,150 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..d2e38912 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,119 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { "DockerImages", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 28dde700..73cce54c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -504,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -552,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -569,50 +516,46 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -643,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -657,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -681,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -705,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -773,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -795,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -817,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -879,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -940,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -960,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -972,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -986,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1006,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1015,13 +903,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
@@ -1032,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1047,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index 9816339e..cc064ca5 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index 31cca5ed..bbdbbb62 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,14 +220,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ @java.lang.Override @@ -268,8 +232,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -282,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -320,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,19 +293,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -369,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -497,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -544,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -561,39 +516,38 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -601,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -633,8 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -646,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -668,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -690,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -752,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -774,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -796,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -858,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -919,15 +838,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -938,8 +856,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -950,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -964,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -984,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -993,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1010,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1025,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1052,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -1066,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index 491f3b74..ffc90b5d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index 8f10f939..a84494eb 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @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); } @@ -600,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -615,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index e347b777..8ad16aca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder - extends +public interface DeletePackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index 29138c37..e9c9f3e3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..8199afc8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 0f4b7556..492ecb7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..2a237596 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index 74d8170f..bb45536b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,134 +229,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -388,15 +355,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -430,8 +397,7 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -442,39 +408,38 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -482,9 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -511,8 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -546,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -568,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -646,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,13 +637,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -709,16 +651,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +675,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index fbc7fd65..a845238c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index cc31dfd0..e11da581 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DockerImage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -51,15 +33,16 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,79 +62,71 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tags_.add(s);
-              break;
+            uri_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tags_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 32:
-            {
-              imageSizeBytes_ = input.readInt64();
-              break;
+            tags_.add(s);
+            break;
+          }
+          case 32: {
+
+            imageSizeBytes_ = input.readInt64();
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (uploadTime_ != null) {
+              subBuilder = uploadTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (uploadTime_ != null) {
-                subBuilder = uploadTime_.toBuilder();
-              }
-              uploadTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(uploadTime_);
-                uploadTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(uploadTime_);
+              uploadTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              mediaType_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            mediaType_ = s;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (buildTime_ != null) {
+              subBuilder = buildTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (buildTime_ != null) {
-                subBuilder = buildTime_.toBuilder();
-              }
-              buildTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(buildTime_);
-                buildTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(buildTime_);
+              buildTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +134,8 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -168,27 +144,22 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class,
-            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -203,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -212,15 +182,14 @@ 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. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -235,15 +204,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -254,8 +224,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -263,7 +231,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -272,15 +239,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -288,15 +254,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -307,42 +274,34 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -350,26 +309,22 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -377,7 +332,6 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -388,14 +342,11 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -403,14 +354,11 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ @java.lang.Override @@ -418,8 +366,6 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** - * - * *
    * Time the image was uploaded.
    * 
@@ -434,8 +380,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -444,7 +388,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; - * * @return The mediaType. */ @java.lang.Override @@ -453,15 +396,14 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -470,15 +412,16 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -489,8 +432,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -500,7 +441,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -508,8 +448,6 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -519,7 +457,6 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ @java.lang.Override @@ -527,8 +464,6 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -545,7 +480,6 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -557,7 +491,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -603,16 +538,19 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -622,26 +560,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other =
-        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getUri().equals(other.getUri())) return false;
-    if (!getTagsList().equals(other.getTagsList())) return false;
-    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getUri()
+        .equals(other.getUri())) return false;
+    if (!getTagsList()
+        .equals(other.getTagsList())) return false;
+    if (getImageSizeBytes()
+        != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime().equals(other.getUploadTime())) return false;
+      if (!getUploadTime()
+          .equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType().equals(other.getMediaType())) return false;
+    if (!getMediaType()
+        .equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime().equals(other.getBuildTime())) return false;
+      if (!getBuildTime()
+          .equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -663,7 +607,8 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -680,103 +625,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -788,23 +726,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class,
-              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -812,15 +748,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -850,9 +787,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -871,8 +808,7 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result =
-          new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -901,39 +837,38 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -941,8 +876,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -993,8 +927,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1003,13 +936,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1024,13 +954,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1039,8 +969,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1055,14 +983,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1070,8 +999,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1086,22 +1013,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1116,18 +1041,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1142,16 +1064,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1159,8 +1081,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1168,13 +1088,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1183,8 +1103,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1192,14 +1110,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1207,8 +1126,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1216,22 +1133,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1239,18 +1154,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1258,67 +1170,57 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1326,90 +1228,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -1419,32 +1311,28 @@ public Builder clearTags() { return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_; + private long imageSizeBytes_ ; /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1452,7 +1340,6 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -1460,8 +1347,6 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1469,19 +1354,16 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; - * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1489,11 +1371,10 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; - * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1501,47 +1382,34 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - uploadTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1562,15 +1430,14 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1581,8 +1448,6 @@ public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1593,7 +1458,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1605,8 +1470,6 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1625,8 +1488,6 @@ public Builder clearUploadTime() { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1634,13 +1495,11 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1651,14 +1510,11 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1666,17 +1522,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), getParentForChildren(), isClean()); + uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), + getParentForChildren(), + isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1684,8 +1537,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1694,13 +1545,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; - * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1709,8 +1560,6 @@ public java.lang.String getMediaType() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1719,14 +1568,15 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1734,8 +1584,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1744,22 +1592,20 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
      * 
* * string media_type = 6; - * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType(java.lang.String value) { + public Builder setMediaType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1768,18 +1614,15 @@ public Builder setMediaType(java.lang.String value) {
      * 
* * string media_type = 6; - * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1788,16 +1631,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; - * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1805,13 +1648,8 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - buildTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1821,15 +1659,12 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1839,7 +1674,6 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1850,8 +1684,6 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1876,8 +1708,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1888,7 +1718,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1899,8 +1730,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1915,7 +1744,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1927,8 +1756,6 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1951,8 +1778,6 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1964,13 +1789,11 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-
+      
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1985,12 +1808,11 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -2002,24 +1824,21 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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> 
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(), getParentForChildren(), isClean());
+        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(),
+                getParentForChildren(),
+                isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
-
     @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);
     }
 
@@ -2029,12 +1848,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -2043,16 +1862,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DockerImage parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new DockerImage(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DockerImage parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new DockerImage(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2067,4 +1886,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 23262b8c..320f9fe3 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder
-    extends
+public interface DockerImageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,13 +22,10 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -61,14 +40,12 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -76,13 +53,10 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -90,65 +64,53 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -156,38 +118,29 @@ public interface DockerImageOrBuilder
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
@@ -197,8 +150,6 @@ public interface DockerImageOrBuilder com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -207,13 +158,10 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The mediaType. */ java.lang.String getMediaType(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -222,14 +170,12 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString getMediaTypeBytes(); + com.google.protobuf.ByteString + getMediaTypeBytes(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -239,13 +185,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -255,13 +198,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index ce45d8df..6c52e7ff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -156,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -184,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -193,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -209,15 +178,16 @@ 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 { @@ -228,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -246,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -259,8 +224,6 @@ public java.util.List getHashesLis return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -268,13 +231,11 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -286,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -299,8 +258,6 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -308,21 +265,19 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -330,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -345,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -361,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -376,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -391,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -407,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -423,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -454,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -498,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -520,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = - (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -574,127 +523,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -702,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -765,8 +705,7 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = - new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -798,39 +737,38 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); } else { super.mergeFrom(other); return this; @@ -864,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -911,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -940,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -949,14 +881,15 @@ 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 { @@ -964,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -973,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -996,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1015,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1047,60 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1115,8 +1026,6 @@ public java.util.List getHashesLis } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1131,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1147,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1169,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1189,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1211,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1233,15 +1134,14 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes( + com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1252,8 +1152,6 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder bu return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1272,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1284,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1292,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1311,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1330,44 +1223,39 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1375,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1384,48 +1270,42 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1433,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1494,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1513,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1525,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1537,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1557,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1566,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1583,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1598,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1616,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1677,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1696,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1708,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1720,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1740,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1749,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1766,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1781,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1799,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1821,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1843,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1914,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1928,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 1fcb148d..647b4921 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..b27baa2c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,127 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index f871a896..6adf4d6d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDockerImageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = - new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -630,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..36dc5023 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index 3f8a0fad..ecee545f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = - (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = - new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..8a742290 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index dedb9b29..10915d11 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 76ccce9a..4875af8f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder - extends +public interface GetPackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 3627d4ab..020c6eea 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..35c962cf --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 583d7cc7..048b50e2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -513,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -537,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -629,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..323cd5a0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index 7b8ad00d..b8001a05 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = - (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = - new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..9c1264a9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index acecfccc..87991098 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -455,8 +408,7 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -467,39 +419,38 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -535,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -570,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -592,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -654,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -722,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -770,16 +690,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,4 +714,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index e84fc09e..da00f2d4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index c47f21a7..1c03545a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,49 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -279,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -333,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -363,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,16 +331,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = - (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +361,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -537,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -578,8 +522,7 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = - new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -590,39 +533,38 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); } else { super.mergeFrom(other); return this; @@ -668,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -736,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -761,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -776,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -825,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -839,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index be94835f..d8e3f7f4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index 9c9acac2..bb7e4513 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 421580d3..01ea3691 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 98066536..7ae60022 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index af98cad2..5fc859fc 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 7d39fbec..4ca45085 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..c24b837d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 559cb1cf..8259205d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index 7d91344c..f70fc673 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 6f0a6f0a..2dc5cfd3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -125,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getAp return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index da3615ea..7c5e3ba3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 8a621732..6cdd7e6a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index f04be65c..845066fd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index 85d8b6ca..d6815dc2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index 0771527b..a4a49e76 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 14ed5254..1833db60 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fba0379 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index 82bcbf4b..b2984499 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 2f447836..38d3e8bd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index c3ec50ce..8a51de85 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -125,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getYu return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index 50fe871f..e42fa5ab 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index 5102e43d..d180c24c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -497,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -510,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -584,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -620,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -642,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -719,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -756,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -778,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -800,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 30b4accd..5ba1a827 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder - extends +public interface ListDockerImagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index ac237ea9..4ab80e6e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dockerImages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.DockerImage.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dockerImages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -115,27 +94,22 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** - * - * *
    * The docker images returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getDo return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -174,8 +144,6 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** - * - * *
    * The docker images returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** - * - * *
    * The docker images returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDockerImagesList() + .equals(other.getDockerImagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -456,17 +411,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) { getDockerImagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDockerImagesFieldBuilder() - : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDockerImagesFieldBuilder() : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList( - dockerImages_); + dockerImages_ = new java.util.ArrayList(dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> - dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesList() { + public java.util.List getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -669,8 +605,6 @@ private void ensureDockerImagesIsMutable() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -685,8 +619,6 @@ public int getDockerImagesCount() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** - * - * *
      * The docker images returned.
      * 
@@ -724,8 +654,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -744,8 +672,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -766,8 +692,6 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -789,8 +713,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -809,8 +731,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -829,8 +749,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearDockerImages() { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeDockerImages(int index) { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The docker images returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); - } else { + return dockerImages_.get(index); } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** - * - * *
      * The docker images returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index e0d919e8..c2023b9e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder - extends +public interface ListDockerImagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List getDockerImagesList(); + java.util.List + getDockerImagesList(); /** - * - * *
    * The docker images returned.
    * 
@@ -44,8 +25,6 @@ public interface ListDockerImagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** - * - * *
    * The docker images returned.
    * 
@@ -54,51 +33,43 @@ public interface ListDockerImagesResponseOrBuilder */ int getDockerImagesCount(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 411fed6c..3d55fa27 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -46,15 +28,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +99,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -162,30 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -196,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -211,7 +183,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -220,15 +191,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -242,15 +212,16 @@ 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 { @@ -261,14 +232,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -279,14 +247,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -295,29 +260,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -328,14 +293,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -344,29 +306,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; } } /** - * - * *
    * The field to order the results by.
    * 
* * 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 { @@ -375,7 +337,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -416,7 +378,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -435,19 +398,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.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,127 +442,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -603,15 +560,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +587,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -650,8 +608,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -665,39 +622,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -705,8 +661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -745,8 +700,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -758,21 +712,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -781,22 +733,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -804,64 +755,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,8 +813,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -884,13 +826,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -899,8 +841,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -914,14 +854,15 @@ 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 { @@ -929,8 +870,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -944,22 +883,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -973,18 +910,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -998,31 +932,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1030,36 +961,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1067,20 +992,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1089,21 +1012,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1111,61 +1033,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1173,20 +1088,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The field to order the results by.
      * 
* * 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; @@ -1195,21 +1108,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The field to order the results by.
      * 
* * 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 { @@ -1217,68 +1129,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1288,12 +1193,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1302,16 +1207,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1326,4 +1231,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index b5e92315..1c397163 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,71 +60,58 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index e084224a..9ec076ca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -113,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getFilesList return files_; } /** - * - * *
    * The files returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -172,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -453,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getFilesList } } /** - * - * *
      * The files returned.
      * 
@@ -675,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
@@ -733,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -755,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles( + com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder bui return this; } /** - * - * *
      * The files returned.
      * 
@@ -816,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i } } /** - * - * *
      * The files returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index 1233e9a3..c336fc53 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index 71e6ae6d..a0f89423 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -496,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -509,39 +472,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -581,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -616,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -638,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -715,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -752,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -774,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -796,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -881,16 +812,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index d503daf4..060f2b1f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index de6c46c8..3a627415 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -114,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getPackag return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -173,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -454,17 +411,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) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getPackag } } /** - * - * *
      * The packages returned.
      * 
@@ -679,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -737,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -759,15 +692,14 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -801,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -821,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -879,20 +802,17 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( + int index) { return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** - * - * *
      * The packages returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { - return getPackagesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( + int index) { + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index b1ee1f50..c8f36957 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index 82160ab1..f1d9d7e9 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -457,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -501,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -514,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -626,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -650,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -770,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -792,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -814,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index 90b52eae..fde383a0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 803da10f..1eb77068 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -115,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getRep return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -174,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -456,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -669,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -685,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** - * - * *
      * The repositories returned.
      * 
@@ -724,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -744,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -766,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -789,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -809,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -829,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** - * - * *
      * The repositories returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index 1654957b..ac72a01a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,51 +33,43 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 968a6cf3..86938b7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -574,8 +535,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -588,39 +548,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -664,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -677,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -699,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -721,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -795,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -810,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -822,14 +765,15 @@ 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 { @@ -837,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -849,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -875,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -897,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -929,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -966,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -988,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1010,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1095,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 0bf5fee0..338c640b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index f93eed7a..c34a1b83 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -113,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTagsList() return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -172,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -453,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getTagsList() } } /** - * - * *
      * The tags returned.
      * 
@@ -675,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
@@ -733,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -755,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder build return this; } /** - * - * *
      * The tags returned.
      * 
@@ -816,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int } } /** - * - * *
      * The tags returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 8a0a118f..53f7130a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index b73c0779..7e27c2e6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -625,8 +571,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -640,39 +585,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; @@ -680,8 +624,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -719,8 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -754,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -776,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -853,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -890,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -912,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -934,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -996,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1064,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1089,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1111,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1133,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1204,12 +1088,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1218,16 +1102,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,4 +1126,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index bbed7b15..039f3d9b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 1acb4394..7ef4d76b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -114,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getVersio return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -173,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -454,17 +411,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) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getVersio } } /** - * - * *
      * The versions returned.
      * 
@@ -679,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -737,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -759,15 +692,14 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -801,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -821,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -879,20 +802,17 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( + int index) { return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** - * - * *
      * The versions returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { - return getVersionsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( + int index) { + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index 610ee3e0..d7fd7ec0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index 6737d59a..d94e616c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = - (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = - new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -432,16 +400,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..e3a558ac --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index 1736129a..b8110e19 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,33 +106,29 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -172,15 +144,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -188,15 +159,16 @@ 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 { @@ -207,14 +179,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -223,29 +192,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -256,14 +225,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -271,14 +237,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -286,8 +249,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -302,15 +263,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -318,15 +276,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -334,8 +289,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -349,7 +302,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -361,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -390,10 +343,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -403,23 +358,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other =
-        (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -449,127 +407,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -577,15 +526,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -630,8 +580,7 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = - new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -652,39 +601,38 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); } else { super.mergeFrom(other); return this; @@ -692,8 +640,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -739,8 +686,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -748,13 +693,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -763,8 +708,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -772,14 +715,15 @@ 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 { @@ -787,8 +731,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -796,22 +738,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -819,18 +759,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -838,16 +775,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -855,20 +792,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -877,21 +812,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -899,61 +833,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -961,47 +888,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1022,15 +936,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1041,8 +954,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1053,7 +964,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1065,8 +976,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1085,8 +994,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1094,13 +1001,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1111,14 +1016,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1126,17 +1028,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1144,49 +1043,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1208,8 +1094,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1217,7 +1101,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1228,8 +1113,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1241,7 +1124,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1253,8 +1136,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1274,8 +1155,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1284,13 +1163,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1302,14 +1179,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1318,24 +1192,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1345,12 +1216,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1359,16 +1230,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1383,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 23149f99..94ad9830 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -33,13 +15,10 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -47,63 +26,50 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -113,34 +79,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..7b437e4a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa" +
+      "ckage.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032\037google/pro" +
+      "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" +
+      "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" +
+      "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" +
+      "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" +
+      "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" +
+      "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
+      "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" +
+      "ckages\030\001 \003(\0132,.google.devtools.artifactr" +
+      "egistry.v1.Package\022\027\n\017next_page_token\030\002 " +
+      "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" +
+      "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" +
+      "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" +
+      "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" +
+      "g.org/genproto/googleapis/devtools/artif" +
+      "actregistry/v1;artifactregistry\252\002 Google" +
+      ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" +
+      "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" +
+      "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 3be659f8..4f9ae440 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = - (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -654,8 +578,7 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = - new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -666,39 +589,38 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -706,8 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -734,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -747,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -758,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -773,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -784,14 +700,15 @@ 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 { @@ -799,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -810,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -835,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -856,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -873,112 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -988,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -1002,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index fba88646..0eb8aa35 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2b2685c2..2a08d6b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,51 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -860,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -880,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -896,16 +761,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -919,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -927,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1031,8 +883,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -1041,42 +891,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                    .class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1088,22 +934,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-            .getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1111,10 +954,8 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -1125,54 +966,46 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom(
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
+        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other
-            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1194,14 +1027,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
-            null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1211,17 +1041,14 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_;
+      private boolean allowSnapshotOverwrites_ ;
       /**
-       *
-       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1229,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1268,113 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1387,33 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1457,36 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1494,61 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1557,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1591,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1645,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1676,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1701,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1713,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1740,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1757,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1778,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1792,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1807,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1822,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1838,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1853,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1868,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1884,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1894,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1903,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1920,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1937,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1949,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1973,9 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1989,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2031,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = - (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2105,146 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -2252,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2291,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2312,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = - new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2347,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); } else { super.mergeFrom(other); return this; @@ -2387,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2400,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2412,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2441,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2451,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2469,21 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2491,49 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2547,19 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2570,29 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2608,15 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2635,101 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2738,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2761,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2826,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2894,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2919,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2941,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2963,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3049,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3061,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3105,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3127,11 +2744,12 @@ public 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();
       }
@@ -3139,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3155,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3180,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3204,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3272,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3291,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3303,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3315,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3335,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3344,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3361,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3376,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3394,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3455,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3474,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3486,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3498,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3518,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3527,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3544,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3559,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3577,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3587,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3602,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3612,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3627,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3637,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3661,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3681,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3707,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3721,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3745,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 7d3073f7..2924cb46 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,150 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -157,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -169,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -186,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -202,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -219,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -257,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -292,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -302,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -317,10 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..c29b26fa --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,203 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..cf63a61d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..db067c93 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 685934c5..2fdced91 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class,
-            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = - (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class,
-              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result =
-          new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -580,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -595,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -606,14 +566,15 @@ 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 { @@ -621,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -657,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -678,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -705,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -720,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -730,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -755,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -779,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -799,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -839,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index 5051621c..b4c2b5af 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..a0942140 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 942b8253..68968ca2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -180,22 +146,18 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -232,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -261,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,21 +233,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -315,145 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,16 +422,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -496,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -516,51 +462,46 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -586,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -682,22 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -709,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -729,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -772,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -790,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -851,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -870,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -882,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -894,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -914,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -940,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -955,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -982,32 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1019,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 21bc4289..4b6628d6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
@@ -59,32 +35,24 @@ public interface UpdateProjectSettingsRequestOrBuilder com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 5076bc12..04973de1 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -448,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -498,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -518,50 +468,46 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -587,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -662,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -682,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -694,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -708,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -728,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -737,13 +658,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -754,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -769,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -787,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -801,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -817,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -854,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -864,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -875,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -889,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -901,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -923,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -934,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -953,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -970,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -997,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 3fd08ad0..2c406dff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 067c0f7b..578f5f70 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,14 +127,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ @java.lang.Override @@ -168,8 +139,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -184,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -193,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -201,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -210,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -234,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -246,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -263,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -276,21 +239,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -317,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -445,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -494,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -514,39 +468,38 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -554,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -581,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -655,15 +593,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -674,8 +611,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -686,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -700,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -720,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -729,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -746,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -761,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -779,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -793,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -809,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -846,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -856,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -867,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -881,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -893,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -915,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -926,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -945,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -962,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -989,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -1003,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1027,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 08f6fdb8..11c3721e 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index 75a5b997..f20b3e2a 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,83 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -168,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class,
-            com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -197,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -206,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -223,15 +190,16 @@ 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 { @@ -242,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -258,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -291,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -306,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -321,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -337,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -352,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -367,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -383,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,8 +344,6 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -407,13 +352,11 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -426,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -440,8 +381,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -450,15 +389,14 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -467,7 +405,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -475,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -485,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -493,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -510,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -557,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -576,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other =
-        (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -635,104 +576,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -741,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class,
-              com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -765,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -811,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -832,8 +764,7 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result =
-          new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -869,39 +800,38 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -909,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -943,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -983,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -998,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1013,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1023,14 +946,15 @@ 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 { @@ -1038,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1048,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1072,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1092,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1109,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1131,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1153,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1215,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1276,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1295,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1307,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1319,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1339,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1348,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1365,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1380,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1398,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1459,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1478,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1490,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1502,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1522,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1531,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1548,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1563,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1614,8 +1458,6 @@ public java.util.List getRelatedTag
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1631,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1657,7 +1495,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1671,8 +1510,6 @@ public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1692,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1715,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1724,7 +1557,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1738,8 +1572,6 @@ public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1759,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1780,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1793,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1801,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1821,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1841,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1850,12 +1673,11 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
+        int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1863,16 +1685,14 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+        int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1880,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1889,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1899,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1912,13 +1728,12 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
+        int index) {
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1926,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag,
-            com.google.devtools.artifactregistry.v1.Tag.Builder,
-            com.google.devtools.artifactregistry.v1.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1.Tag,
-                com.google.devtools.artifactregistry.v1.Tag.Builder,
-                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1950,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1964,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1982,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1995,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2004,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2021,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2030,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2044,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2053,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2072,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2081,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2096,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2105,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2123,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2143,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2174,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -2188,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2212,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index ec27cb32..c340f728 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..e4184f9e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,141 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve" +
+      "rsion.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032-google/dev" +
+      "tools/artifactregistry/v1/tag.proto\032\034goo" +
+      "gle/protobuf/struct.proto\032\037google/protob" +
+      "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" +
+      " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" +
+      "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" +
+      "date_time\030\006 \001(\0132\032.google.protobuf.Timest" +
+      "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" +
+      "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" +
+      "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" +
+      "\222\001\n\'artifactregistry.googleapis.com/Vers" +
+      "ion\022gprojects/{project}/locations/{locat" +
+      "ion}/repositories/{repository}/packages/" +
+      "{package}/versions/{version}\"\243\001\n\023ListVer" +
+      "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" +
+      "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" +
+      "\01620.google.devtools.artifactregistry.v1." +
+      "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" +
+      "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" +
+      "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" +
+      " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" +
+      "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" +
+      "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" +
+      "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" +
+      ".org/genproto/googleapis/devtools/artifa" +
+      "ctregistry/v1;artifactregistry\252\002 Google." +
+      "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" +
+      "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" +
+      "tifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index c210c72e..95df7c74 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index d66ad118..6b5bbc99 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,16 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -528,10 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -544,18 +480,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = - (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -581,126 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -708,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -753,8 +683,7 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = - new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -767,39 +696,38 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -807,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -843,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -878,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -900,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -962,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -984,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1006,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1068,103 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1172,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1194,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1216,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1301,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index a9ba7500..856803b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..1ec8e04d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index 8c5b8276..b3e9e188 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -478,7 +478,7 @@ public final ListRepositoriesPagedResponse listRepositories(ListRepositoriesRequ * while (true) { * ListRepositoriesResponse response = * artifactRegistryClient.listRepositoriesCallable().call(request); - * for (Repository element : response.getResponsesList()) { + * for (Repository element : response.getRepositoriesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1068,7 +1068,7 @@ public final ListPackagesPagedResponse listPackages(ListPackagesRequest request) * .build(); * while (true) { * ListPackagesResponse response = artifactRegistryClient.listPackagesCallable().call(request); - * for (Package element : response.getResponsesList()) { + * for (Package element : response.getPackagesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1357,7 +1357,7 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request) * .build(); * while (true) { * ListVersionsResponse response = artifactRegistryClient.listVersionsCallable().call(request); - * for (Version element : response.getResponsesList()) { + * for (Version element : response.getVersionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1650,7 +1650,7 @@ public final UnaryCallable listFilesPa * .build(); * while (true) { * ListFilesResponse response = artifactRegistryClient.listFilesCallable().call(request); - * for (File element : response.getResponsesList()) { + * for (File element : response.getFilesList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -1836,7 +1836,7 @@ public final UnaryCallable listTagsPaged * .build(); * while (true) { * ListTagsResponse response = artifactRegistryClient.listTagsCallable().call(request); - * for (Tag element : response.getResponsesList()) { + * for (Tag element : response.getTagsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -2156,7 +2156,7 @@ public final UnaryCallable deleteTagCallable() { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() - * .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setPolicy(Policy.newBuilder().build()) * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); @@ -2183,7 +2183,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * SetIamPolicyRequest request = * SetIamPolicyRequest.newBuilder() - * .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setPolicy(Policy.newBuilder().build()) * .setUpdateMask(FieldMask.newBuilder().build()) * .build(); @@ -2209,7 +2209,7 @@ public final UnaryCallable setIamPolicyCallable() { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * Policy response = artifactRegistryClient.getIamPolicy(request); @@ -2235,7 +2235,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * ApiFuture future = artifactRegistryClient.getIamPolicyCallable().futureCall(request); @@ -2260,7 +2260,7 @@ public final UnaryCallable getIamPolicyCallable() { * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() - * .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .addAllPermissions(new ArrayList()) * .build(); * TestIamPermissionsResponse response = artifactRegistryClient.testIamPermissions(request); @@ -2286,7 +2286,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq * try (ArtifactRegistryClient artifactRegistryClient = ArtifactRegistryClient.create()) { * TestIamPermissionsRequest request = * TestIamPermissionsRequest.newBuilder() - * .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + * .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) * .addAllPermissions(new ArrayList()) * .build(); * ApiFuture future = @@ -2518,10 +2518,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2571,10 +2568,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2595,10 +2589,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2647,10 +2638,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2670,10 +2658,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2722,10 +2707,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 3968efc5..88a97d40 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -32,6 +32,7 @@ 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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -53,10 +54,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index 2ee2d5f4..ce7d976f 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index d1764467..99f45e74 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -109,10 +109,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index 322bd754..d73deacf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,6 +80,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 98% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java index f2eb4265..ebee0db6 100644 --- a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java @@ -1172,7 +1172,7 @@ public void setIamPolicyTest() throws Exception { SetIamPolicyRequest request = SetIamPolicyRequest.newBuilder() - .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setPolicy(Policy.newBuilder().build()) .setUpdateMask(FieldMask.newBuilder().build()) .build(); @@ -1201,7 +1201,7 @@ public void setIamPolicyExceptionTest() throws Exception { try { SetIamPolicyRequest request = SetIamPolicyRequest.newBuilder() - .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setPolicy(Policy.newBuilder().build()) .setUpdateMask(FieldMask.newBuilder().build()) .build(); @@ -1225,7 +1225,7 @@ public void getIamPolicyTest() throws Exception { GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder() - .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setOptions(GetPolicyOptions.newBuilder().build()) .build(); @@ -1252,7 +1252,7 @@ public void getIamPolicyExceptionTest() throws Exception { try { GetIamPolicyRequest request = GetIamPolicyRequest.newBuilder() - .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .setOptions(GetPolicyOptions.newBuilder().build()) .build(); client.getIamPolicy(request); @@ -1270,7 +1270,7 @@ public void testIamPermissionsTest() throws Exception { TestIamPermissionsRequest request = TestIamPermissionsRequest.newBuilder() - .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .addAllPermissions(new ArrayList()) .build(); @@ -1297,7 +1297,7 @@ public void testIamPermissionsExceptionTest() throws Exception { try { TestIamPermissionsRequest request = TestIamPermissionsRequest.newBuilder() - .setResource(ProjectSettingsName.of("[PROJECT]").toString()) + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) .addAllPermissions(new ArrayList()) .build(); client.testIamPermissions(request); diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..bf2e6f04 --- /dev/null +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,2456 @@ +package com.google.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index 3a443e11..e93240c0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,17 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -618,11 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -631,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -641,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = - (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,104 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -790,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -814,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -842,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -863,8 +786,7 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -879,39 +801,38 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -919,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -962,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -975,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -997,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1019,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1103,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1125,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1187,104 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1292,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1314,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1336,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1398,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1420,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1442,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1504,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1519,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1568,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1582,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1606,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index a2e2ce07..7b69ee0c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..eabaa203 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,157 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 6f9907ad..5eeab420 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,145 +334,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,16 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -555,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -572,51 +516,46 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -647,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -685,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -709,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -777,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -799,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -821,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -883,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -944,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -964,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -976,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -990,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1010,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1019,32 +903,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1052,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index ab7b42c5..d37c1ca1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index 6368405b..a7c5ac4d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,25 +220,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -284,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,19 +293,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -371,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -499,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -547,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -564,39 +516,38 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -604,9 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -637,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -651,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -673,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -695,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -757,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -779,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -801,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -863,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -924,8 +838,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -944,8 +856,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -956,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -970,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -990,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -999,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1016,14 +918,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1031,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1058,13 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -1073,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index e1d4607a..ed0dccb9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 798482af..5a0dd439 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -397,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to delete.
      * 
* * 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; @@ -511,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * 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 { @@ -533,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -604,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..0df0c1b7 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 4f00f9d2..3c964b02 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -402,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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; @@ -519,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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 { @@ -543,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..b29d4e2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index 3b450a74..ee36923c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -616,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..9be43f2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index 21e0714d..bcba882b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,152 +229,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -432,8 +397,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -444,50 +408,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -514,9 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -550,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -572,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -650,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -698,32 +637,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,8 +672,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index fd9ab4b4..ddd7183c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index 19f64d27..deb68c74 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,75 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Hash.parser(), - extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -158,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -186,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -195,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -211,15 +178,16 @@ 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 { @@ -230,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -248,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -261,8 +224,6 @@ public java.util.List getHash return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -270,13 +231,11 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -288,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -301,8 +258,6 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -310,21 +265,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -332,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -347,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -363,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -378,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -393,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -409,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -425,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -456,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -500,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -522,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = - (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -556,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -577,126 +524,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -704,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -746,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -767,8 +705,7 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = - new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -800,39 +737,38 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); } else { super.mergeFrom(other); return this; @@ -840,8 +776,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -867,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -905,8 +839,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -915,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -929,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -944,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -953,14 +881,15 @@ 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 { @@ -968,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -977,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1000,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1019,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1051,61 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(hashes_); + hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1120,8 +1026,6 @@ public java.util.List getHash } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1136,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1152,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1174,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1194,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1216,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,8 +1134,6 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1258,8 +1152,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1278,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1290,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1298,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1317,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1336,20 +1223,17 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1359,22 +1243,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1382,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1391,49 +1270,42 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1441,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1502,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1521,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1533,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1545,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1565,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1574,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1591,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1606,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1624,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1685,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1704,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1716,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1728,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1748,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1757,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1774,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1789,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1807,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1829,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1851,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1922,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1936,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1960,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 6fc1602c..2e62a87b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..c605f981 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index 40e5c38d..ffea4ef0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..13fd2797 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 3dd93b09..43d6340d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..0521cb2b --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 0d6fbab2..417bc48f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,22 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -520,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -544,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..cfd70f3e --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index 83e7a0f8..cc80cc1e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..ad095e24 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index c4aa4f3b..6c60c285 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..31d1c627 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 231f4729..3855cba7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,14 +387,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -456,8 +408,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -468,39 +419,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -508,9 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -537,9 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -573,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -595,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -657,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -725,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,32 +676,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,8 +711,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index 991586f3..d1805c3b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index 9607e51d..b4fae80f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,51 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -281,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -335,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -365,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -381,16 +331,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = - (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,126 +362,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -539,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -580,8 +522,7 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = - new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -592,39 +533,38 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); } else { super.mergeFrom(other); return this; @@ -632,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -659,8 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -740,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -765,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -780,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -829,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -843,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index 9d78385d..c6b768e2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index 04d5baf3..c0d03b94 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 527043cc..70dcd816 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 6fff5d5d..5a2e2a7f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 3f05b9eb..182a79d5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index 946c4375..d8258e0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..343d02be --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 2b0078e5..6c9cd42b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 4a4b7721..89605ee4 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index 6a012515..c1fbf2d9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -127,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -820,18 +710,14 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -889,14 +769,11 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAllAptArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder - getAptArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptAr } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder - addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 2e5dee92..5ddcd053 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 8ed9ed4b..36b62705 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index e9835bbe..97ab4125 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 6167e033..5cfb0ca7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index e113a0a5..3f093feb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index cf222560..27468485 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9ea4c192 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index b66c8aef..c0b1b67b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 195badb7..3becef22 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index c3da7687..db94a329 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -127,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -820,18 +710,14 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -889,14 +769,11 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addAllYumArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder - getYumArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumAr } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder - addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 2bd2c9e0..1a00b12c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 9dfbe84c..64d4e0fa 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -154,30 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -188,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -203,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -212,15 +184,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -234,15 +205,16 @@ 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 { @@ -253,14 +225,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -271,14 +240,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -287,29 +253,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -318,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -356,7 +322,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -372,18 +339,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.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +379,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -537,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -583,8 +543,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -597,39 +556,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -637,9 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -674,9 +630,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,21 +642,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -711,22 +663,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -734,64 +685,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -799,8 +743,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -814,13 +756,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -829,8 +771,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -844,14 +784,15 @@ 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 { @@ -859,8 +800,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -874,22 +813,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -903,18 +840,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -928,31 +862,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -960,36 +891,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -997,20 +922,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1019,21 +942,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1041,68 +963,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,13 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1127,16 +1041,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,4 +1065,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index 6f9f9767..cee62b03 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,46 +60,38 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index 3c6f7a82..fe6a1c0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.File.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -115,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getFile return files_; } /** - * - * *
    * The files returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -174,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -196,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -455,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -503,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -564,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -585,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -617,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -664,8 +605,6 @@ public java.util.List getFile } } /** - * - * *
      * The files returned.
      * 
@@ -680,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -696,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -718,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -738,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -760,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -782,8 +713,6 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -802,8 +731,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -822,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -834,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -861,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -880,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** - * - * *
      * The files returned.
      * 
@@ -934,49 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -984,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1007,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1030,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 4631c3b8..1923defe 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index 5594f7fa..f95a285a 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -178,15 +154,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -197,14 +170,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -213,29 +183,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -244,7 +214,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +249,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -292,17 +263,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +299,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -454,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +440,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -498,8 +461,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -511,50 +473,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -585,9 +543,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,20 +555,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,21 +575,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -643,77 +596,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -721,38 +664,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -760,20 +697,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -782,21 +717,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -804,68 +738,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,32 +802,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,8 +837,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index 1eb63b7c..f687007f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,89 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index c08e1c3b..0d1ba786 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Package.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -115,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getP return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -174,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList( - packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getP } } /** - * - * *
      * The packages returned.
      * 
@@ -686,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** - * - * *
      * The packages returned.
      * 
@@ -725,8 +654,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -745,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -767,8 +692,6 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** - * - * *
      * The packages returned.
      * 
@@ -790,8 +713,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -810,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -830,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -888,8 +802,6 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** - * - * *
      * The packages returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 0064727e..6cf4a9c8 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index a893add6..ddf035ff 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,145 +298,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,16 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); } @java.lang.Override @@ -504,8 +460,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -517,51 +472,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -630,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -654,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -774,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -796,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -818,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index ec5a0872..a32408c1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index d08c8a9d..f5b7cb40 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.Repository>(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -116,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -144,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -158,13 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -176,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -189,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -206,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -223,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -284,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -297,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); } @java.lang.Override @@ -509,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,51 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -593,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -625,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -675,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -691,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -707,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** - * - * *
      * The repositories returned.
      * 
@@ -730,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -739,8 +661,7 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -751,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -773,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -796,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -816,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -825,8 +738,7 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -837,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -846,11 +756,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -858,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -877,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -896,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -909,34 +813,28 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoriesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( + int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -944,22 +842,17 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder - addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -968,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -1005,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1028,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1051,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 93b11eea..1fc05520 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,19 +33,15 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
@@ -77,29 +52,24 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d80c37d7..d1bbfedb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,14 +514,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -575,8 +535,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -589,39 +548,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -629,9 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -666,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -679,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -701,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -723,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -785,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -797,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -812,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -824,14 +765,15 @@ 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 { @@ -839,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -851,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -877,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -899,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -931,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -968,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -990,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1012,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,13 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1098,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index 7748ba51..c77afd7e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index a9ed7183..e80a6480 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -114,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getTagsL return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -173,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -454,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -616,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getTagsL } } /** - * - * *
      * The tags returned.
      * 
@@ -679,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -737,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -759,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -801,8 +731,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -821,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -879,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -924,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** - * - * *
      * The tags returned.
      * 
@@ -933,48 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -982,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1005,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1028,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1117,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index 1b93bf53..fa38f042 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index ae29fb6b..059a89b1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,14 +550,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -626,8 +571,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -641,50 +585,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -722,9 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -758,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -780,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -857,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -916,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -938,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1000,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1068,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1093,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1115,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1137,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1208,32 +1088,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,8 +1123,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index e2fbbdde..2660ddc5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 933564d2..06865407 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Version.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -115,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getV return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -174,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList( - versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getV } } /** - * - * *
      * The versions returned.
      * 
@@ -686,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** - * - * *
      * The versions returned.
      * 
@@ -725,8 +654,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -745,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -767,8 +692,6 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** - * - * *
      * The versions returned.
      * 
@@ -790,8 +713,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -810,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -830,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -888,8 +802,6 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** - * - * *
      * The versions returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index 45175f20..bcc3b1a6 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index 6aa3d9e4..b6258b3e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = - new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -409,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -421,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -458,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..9d96bd08 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index 03b7ad70..d63f5fe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,40 +106,35 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -171,30 +143,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; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -205,14 +177,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -221,29 +190,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -254,14 +223,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -269,14 +235,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -284,8 +247,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -300,15 +261,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -316,15 +274,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -332,8 +287,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -347,7 +300,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -359,7 +311,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -388,10 +341,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -401,23 +356,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other =
-        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -448,126 +406,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -575,15 +524,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -628,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = - new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -650,39 +599,38 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); } else { super.mergeFrom(other); return this; @@ -690,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -725,8 +672,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -738,21 +684,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -761,22 +705,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -784,64 +727,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -849,20 +785,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -871,21 +805,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -893,61 +826,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -955,47 +881,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1016,15 +929,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1035,8 +947,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1047,7 +957,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1059,8 +969,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1079,8 +987,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1088,13 +994,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1105,14 +1009,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1120,17 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1138,49 +1036,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1202,8 +1087,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1211,7 +1094,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1222,8 +1106,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1235,7 +1117,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1247,8 +1129,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1268,8 +1148,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1278,13 +1156,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1296,14 +1172,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1312,24 +1185,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1339,12 +1209,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1353,16 +1223,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1377,4 +1247,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index 104cbf12..cc9c2140 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,107 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -111,34 +77,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0e725b25
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,115 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/package.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\037google/protobuf/time" +
+      "stamp.proto\032\034google/api/annotations.prot" +
+      "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" +
+      "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." +
+      "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" +
+      "\032.google.protobuf.Timestamp\"L\n\023ListPacka" +
+      "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" +
+      "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" +
+      "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" +
+      "tools.artifactregistry.v1beta2.Package\022\027" +
+      "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" +
+      "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" +
+      "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" +
+      ".artifactregistry.v1beta2B\014PackageProtoP" +
+      "\001ZXgoogle.golang.org/genproto/googleapis" +
+      "/devtools/artifactregistry/v1beta2;artif" +
+      "actregistry\252\002%Google.Cloud.ArtifactRegis" +
+      "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" +
+      "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" +
+      "istry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 30b8d123..0fcff33f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,14 +557,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -655,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = - new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -667,39 +589,38 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -707,9 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -736,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -749,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -760,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -775,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -786,14 +700,15 @@ 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 { @@ -801,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -812,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -837,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -858,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -875,113 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,13 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -1006,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index 801c80f6..d633ee88 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index a7778a16..6aec32de 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,52 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -861,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -881,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -897,17 +761,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -921,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -929,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1033,53 +883,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1091,22 +934,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1114,10 +954,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -1128,56 +966,46 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1199,14 +1027,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1216,17 +1041,14 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_; + private boolean allowSnapshotOverwrites_ ; /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1234,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1273,115 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1394,34 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1465,37 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1503,64 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1569,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1603,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1657,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1688,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1713,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1725,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1752,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1769,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1790,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1804,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1819,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1834,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1850,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1865,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1880,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1896,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1906,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1915,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1932,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1949,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1961,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1985,10 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -2002,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2044,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = - (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2118,147 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -2266,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2305,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2326,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = - new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2361,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); } else { super.mergeFrom(other); return this; @@ -2401,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2414,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2426,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2455,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2465,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2483,22 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2506,51 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2564,20 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2588,32 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .newBuilder( - (com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2629,16 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2657,106 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder, - com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2765,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2788,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2853,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2921,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2946,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2968,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2990,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3076,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3115,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3132,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3154,11 +2744,12 @@ public 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();
       }
@@ -3166,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3182,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3207,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3231,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3299,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3318,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3330,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3342,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3362,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3371,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3388,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3403,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3421,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3482,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3501,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3513,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3525,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3545,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3554,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3571,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3586,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3604,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3614,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3629,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3639,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3654,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3664,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3688,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3708,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3734,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3748,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3772,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 56edcd7a..1aabc981 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,153 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -160,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -172,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -189,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -205,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -222,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -260,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -295,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -305,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -320,11 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase - getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..39b40092 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..2ae49699 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..e3b740d3 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,112 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index 468c4c93..ec604378 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = - (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class,
-              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result =
-          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -529,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -570,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -581,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -596,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -607,14 +566,15 @@ 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 { @@ -622,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -633,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -658,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -679,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -706,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -721,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -731,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -746,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -756,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -780,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -800,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -826,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -840,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 16f0d517..3c1dbead 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..392fa000 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,151 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index bce2f426..d90d410d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,46 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = - null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,40 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -156,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -182,22 +146,18 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -205,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -234,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -263,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,22 +233,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,146 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,22 +422,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -500,10 +442,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -522,52 +462,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -589,14 +523,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = - null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -690,23 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( - projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -718,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -738,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -781,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -799,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -860,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -879,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -891,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -903,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -932,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -949,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -964,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -991,33 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 4257f596..8be1bfe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 48b1127b..8d812606 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,145 +281,134 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,16 +428,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -501,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -521,51 +468,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -591,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -666,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -686,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -698,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -712,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -732,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -741,32 +658,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -774,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -792,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -806,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -822,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -859,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -869,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -880,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -894,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -906,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -928,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -939,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -958,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -975,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1002,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1039,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index 2414b1b3..ce37b484 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index b88ad1b8..a3ff1b5c 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -186,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -212,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -236,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -265,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -278,21 +239,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -319,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -447,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -497,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -517,39 +468,38 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -557,9 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -585,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -660,8 +593,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -680,8 +611,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -692,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -706,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -726,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -735,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -752,14 +673,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -767,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -785,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -799,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -815,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -852,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -862,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -873,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -887,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -899,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -921,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -932,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -951,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -968,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -995,13 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -1010,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 8a19edf0..697f83b5 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 414910c1..90c5af7f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,84 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
-                      extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -160,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -169,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class,
-            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -198,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -207,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -224,15 +190,16 @@ 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 { @@ -243,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -259,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -292,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -307,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -322,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -338,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -353,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -368,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -384,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -398,8 +344,6 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -408,13 +352,11 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -427,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -441,8 +381,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -459,8 +397,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -469,7 +405,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -477,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -487,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -495,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -512,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -559,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -578,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other =
-        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -638,103 +577,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -743,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class,
-              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -767,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -813,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -834,8 +764,7 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result =
-          new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -871,39 +800,38 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -911,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -945,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -976,8 +902,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -986,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1001,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1016,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1026,14 +946,15 @@ 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 { @@ -1041,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1051,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1075,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1095,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1112,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1134,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1156,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1218,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1279,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1298,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1310,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1322,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1342,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1351,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1368,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1383,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1401,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1462,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1481,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1493,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1505,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1525,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1534,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1551,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1566,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1617,8 +1458,6 @@ public java.util.List getRelat
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1634,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1651,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1675,8 +1510,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1696,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1719,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1743,8 +1572,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1764,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1785,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1798,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1806,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1826,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1846,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1860,8 +1678,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1872,14 +1688,11 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1887,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1896,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1906,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1921,12 +1730,10 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1934,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1beta2.Tag,
-                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1958,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1972,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1990,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -2003,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2012,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2029,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2038,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2052,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2061,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2080,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2089,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2104,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2113,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2131,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2151,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2182,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -2196,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2220,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 505534fe..1fca4549 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..cd58bc89
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,145 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/version.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\034google/api/annotatio" +
+      "ns.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\0322google/dev" +
+      "tools/artifactregistry/v1beta2/tag.proto" +
+      "\032\034google/protobuf/struct.proto\032\037google/p" +
+      "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" +
+      "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" +
+      "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" +
+      "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" +
+      "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." +
+      "devtools.artifactregistry.v1beta2.Tag\022.\n" +
+      "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" +
+      "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" +
+      "s.com/Version\022gprojects/{project}/locati" +
+      "ons/{location}/repositories/{repository}" +
+      "/packages/{package}/versions/{version}\"\250" +
+      "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" +
+      "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" +
+      "\004view\030\004 \001(\01625.google.devtools.artifactre" +
+      "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" +
+      " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" +
+      "sions\030\001 \003(\01321.google.devtools.artifactre" +
+      "gistry.v1beta2.Version\022\027\n\017next_page_toke" +
+      "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" +
+      "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" +
+      "actregistry.v1beta2.VersionView\"3\n\024Delet" +
+      "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" +
+      " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" +
+      "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" +
+      "oogle.devtools.artifactregistry.v1beta2B" +
+      "\014VersionProtoP\001ZXgoogle.golang.org/genpr" +
+      "oto/googleapis/devtools/artifactregistry" +
+      "/v1beta2;artifactregistry\252\002%Google.Cloud" +
+      ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" +
+      "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" +
+      "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 0621d8af..92d55120 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index 6111a567..c0059766 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,17 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -529,11 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -546,18 +480,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -583,127 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -711,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -756,8 +683,7 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = - new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -770,39 +696,38 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -810,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -846,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -859,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -881,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -903,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -965,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -987,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1009,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1071,104 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1176,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1198,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1220,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1291,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1305,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1329,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index 0be7b093..c61239a2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5e402911 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,155 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index fe9a09c5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" - + "t_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.AptArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" - + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" - + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" - + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" - + "A\214\001\n+artifactregistry.googleapis.com/Apt" - + "Artifact\022]projects/{project}/locations/{" - + "location}/repositories/{repository}/aptA" - + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" - + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" - + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" - + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." - + "artifactregistry.v1.ImportAptArtifactsGc" - + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" - + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" - + "e\030\001 \001(\0132@.google.devtools.artifactregist" - + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" - + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" - + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" - + "rtifacts\030\001 \003(\01320.google.devtools.artifac" - + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" - + "2@.google.devtools.artifactregistry.v1.I" - + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" - + "rtifactsMetadataB\376\001\n\'com.google.devtools" - + ".artifactregistry.v1B\020AptArtifactProtoP\001" - + "ZSgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1;artifactreg" - + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" - + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" - + "ogle::Cloud::ArtifactRegistry::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index 9fd5ca98..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" - + "tifact.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" - + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" - + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" - + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" - + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mage\022]projects/{project}/locations/{loca" - + "tion}/repositories/{repository}/dockerIm" - + "ages/{docker_image}\"U\n\027ListDockerImagesR" - + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" - + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." - + "google.devtools.artifactregistry.v1.Dock" - + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" - + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mageB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { - "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { - "DockerImages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index d2bbba3c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index ea110ac1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index 0a01aeb9..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" - + "le.proto\022#google.devtools.artifactregist" - + "ry.v1\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" - + "pe\030\001 \001(\01622.google.devtools.artifactregis" - + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" - + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" - + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" - + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" - + "gle.devtools.artifactregistry.v1.Hash\022/\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" - + "ifactregistry.googleapis.com/File\022Nproje" - + "cts/{project}/locations/{location}/repos" - + "itories/{repository}/files/{file}\"k\n\020Lis" - + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" - + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" - + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" - + "ifactregistry.v1.File\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" - + "\001\n\'com.google.devtools.artifactregistry." - + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1;artifactregistry\252\002 Google.Cloud.Arti" - + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" - + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" - + "stry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 646394c6..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 0499ed5e..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 0652626c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 5a1488a1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index aa348921..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fffbb74..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9cbb42e5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index 0dec3987..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index a8c0a10a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" - + "ckage.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032\037google/pro" - + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" - + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" - + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" - + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" - + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" - + "ckages\030\001 \003(\0132,.google.devtools.artifactr" - + "egistry.v1.Package\022\027\n\017next_page_token\030\002 " - + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" - + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" - + "g.org/genproto/googleapis/devtools/artif" - + "actregistry/v1;artifactregistry\252\002 Google" - + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" - + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" - + "rtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index d0e9bb14..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" - + "pository.proto\022#google.devtools.artifact" - + "registry.v1\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" - + "en_config\030\t \001(\0132E.google.devtools.artifa" - + "ctregistry.v1.Repository.MavenRepository" - + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" - + ".google.devtools.artifactregistry.v1.Rep" - + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" - + "abels\030\004 \003(\0132;.google.devtools.artifactre" - + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" - + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" - + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" - + "enRepositoryConfig\022!\n\031allow_snapshot_ove" - + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." - + "google.devtools.artifactregistry.v1.Repo" - + "sitory.MavenRepositoryConfig.VersionPoli" - + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" - + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" - + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" - + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" - + "stry.googleapis.com/Repository\022Aprojects" - + "/{project}/locations/{location}/reposito" - + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" - + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" - + "\340A\002\372A,\022*artifactregistry.googleapis.com/" - + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" - + "\014repositories\030\001 \003(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" - + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" - + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" - + "ifactregistry.googleapis.com/Repository\022" - + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" - + "(\0132/.google.devtools.artifactregistry.v1" - + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" - + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" - + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" - + "\340A\002\372A,\n*artifactregistry.googleapis.com/" - + "RepositoryB\375\001\n\'com.google.devtools.artif" - + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1;artifactregistry\252\002" - + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" - + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" - + "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index c1ef77d8..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" - + "rvice.proto\022#google.devtools.artifactreg" - + "istry.v1\032\034google/api/annotations.proto\032\027" - + "google/api/client.proto\0326google/devtools" - + "/artifactregistry/v1/apt_artifact.proto\032" - + "2google/devtools/artifactregistry/v1/art" - + "ifact.proto\032.google/devtools/artifactreg" - + "istry/v1/file.proto\0321google/devtools/art" - + "ifactregistry/v1/package.proto\0324google/d" - + "evtools/artifactregistry/v1/repository.p" - + "roto\0322google/devtools/artifactregistry/v" - + "1/settings.proto\032-google/devtools/artifa" - + "ctregistry/v1/tag.proto\0321google/devtools" - + "/artifactregistry/v1/version.proto\0326goog" - + "le/devtools/artifactregistry/v1/yum_arti" - + "fact.proto\032\036google/iam/v1/iam_policy.pro" - + "to\032\032google/iam/v1/policy.proto\032#google/l" - + "ongrunning/operations.proto\032\033google/prot" - + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" - + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" - + "<.google.devtools.artifactregistry.v1.Li" - + "stDockerImagesRequest\032=.google.devtools." - + "artifactregistry.v1.ListDockerImagesResp" - + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" - + "ations/*/repositories/*}/dockerImages\332A\006" - + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" - + "ols.artifactregistry.v1.GetDockerImageRe" - + "quest\0320.google.devtools.artifactregistry" - + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" - + "cts/*/locations/*/repositories/*/dockerI" - + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" - + ".google.devtools.artifactregistry.v1.Imp" - + "ortAptArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" - + "ects/*/locations/*/repositories/*}/aptAr" - + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" - + "rtifactregistry.v1.ImportAptArtifactsRes" - + "ponse\022>google.devtools.artifactregistry." - + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" - + "YumArtifacts\022>.google.devtools.artifactr" - + "egistry.v1.ImportYumArtifactsRequest\032\035.g" - + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" - + "1/{parent=projects/*/locations/*/reposit" - + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" - + "gle.devtools.artifactregistry.v1.ImportY" - + "umArtifactsResponse\022>google.devtools.art" - + "ifactregistry.v1.ImportYumArtifactsMetad" - + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" - + "ls.artifactregistry.v1.ListRepositoriesR" - + "equest\032=.google.devtools.artifactregistr" - + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" - + "v1/{parent=projects/*/locations/*}/repos" - + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" - + "gle.devtools.artifactregistry.v1.GetRepo" - + "sitoryRequest\032/.google.devtools.artifact" - + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" - + "e=projects/*/locations/*/repositories/*}" - + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" - + "vtools.artifactregistry.v1.CreateReposit" - + "oryRequest\032\035.google.longrunning.Operatio" - + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" - + "ions/*}/repositories:\nrepository\332A\037paren" - + "t,repository,repository_id\312Ag\n.google.de" - + "vtools.artifactregistry.v1.Repository\0225g" - + "oogle.devtools.artifactregistry.v1.Opera" - + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" - + "le.devtools.artifactregistry.v1.UpdateRe" - + "positoryRequest\032/.google.devtools.artifa" - + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" - + "epository.name=projects/*/locations/*/re" - + "positories/*}:\nrepository\332A\026repository,u" - + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" - + ".devtools.artifactregistry.v1.DeleteRepo" - + "sitoryRequest\032\035.google.longrunning.Opera" - + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" - + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" - + "e.protobuf.Empty\0225google.devtools.artifa" - + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" - + "Packages\0228.google.devtools.artifactregis" - + "try.v1.ListPackagesRequest\0329.google.devt" - + "ools.artifactregistry.v1.ListPackagesRes" - + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" - + "cations/*/repositories/*}/packages\332A\006par" - + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" - + "ifactregistry.v1.GetPackageRequest\032,.goo" - + "gle.devtools.artifactregistry.v1.Package" - + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" - + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" - + "\rDeletePackage\0229.google.devtools.artifac" - + "tregistry.v1.DeletePackageRequest\032\035.goog" - + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" - + "name=projects/*/locations/*/repositories" - + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" - + "f.Empty\0225google.devtools.artifactregistr" - + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" - + "8.google.devtools.artifactregistry.v1.Li" - + "stVersionsRequest\0329.google.devtools.arti" - + "factregistry.v1.ListVersionsResponse\"W\202\323" - + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" - + "/repositories/*/packages/*}/versions\332A\006p" - + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" - + "rtifactregistry.v1.GetVersionRequest\032,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" - + "ns/*/repositories/*/packages/*/versions/" - + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" - + "tools.artifactregistry.v1.DeleteVersionR" - + "equest\032\035.google.longrunning.Operation\"\246\001" - + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\312AN\n\025google.protobuf.Empty\0225google." - + "devtools.artifactregistry.v1.OperationMe" - + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" - + "rtifactregistry.v1.ListFilesRequest\0326.go" - + "ogle.devtools.artifactregistry.v1.ListFi" - + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" - + "s/*/locations/*/repositories/*}/files\332A\006" - + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" - + "ifactregistry.v1.GetFileRequest\032).google" - + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" - + "\002;\0229/v1/{name=projects/*/locations/*/rep" - + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" - + "s\0224.google.devtools.artifactregistry.v1." - + "ListTagsRequest\0325.google.devtools.artifa" - + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" - + "/v1/{parent=projects/*/locations/*/repos" - + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" - + "GetTag\0222.google.devtools.artifactregistr" - + "y.v1.GetTagRequest\032(.google.devtools.art" - + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" - + "projects/*/locations/*/repositories/*/pa" - + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." - + "google.devtools.artifactregistry.v1.Crea" - + "teTagRequest\032(.google.devtools.artifactr" - + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" - + "ects/*/locations/*/repositories/*/packag" - + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" - + "UpdateTag\0225.google.devtools.artifactregi" - + "stry.v1.UpdateTagRequest\032(.google.devtoo" - + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" - + "{tag.name=projects/*/locations/*/reposit" - + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" - + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" - + "s.artifactregistry.v1.DeleteTagRequest\032\026" - + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" - + "e=projects/*/locations/*/repositories/*/" - + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" - + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" - + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" - + "urce=projects/*/locations/*/repositories" - + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" - + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" - + "rojects/*/locations/*/repositories/*}:ge" - + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" - + "le.iam.v1.TestIamPermissionsRequest\032).go" - + "ogle.iam.v1.TestIamPermissionsResponse\"R" - + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" - + "ns/*/repositories/*}:testIamPermissions:" - + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" - + "ols.artifactregistry.v1.GetProjectSettin" - + "gsRequest\0324.google.devtools.artifactregi" - + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" - + "me=projects/*/projectSettings}\332A\004name\022\201\002" - + "\n\025UpdateProjectSettings\022A.google.devtool" - + "s.artifactregistry.v1.UpdateProjectSetti" - + "ngsRequest\0324.google.devtools.artifactreg" - + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" - + "roject_settings.name=projects/*/projectS" - + "ettings}:\020project_settings\332A\034project_set" - + "tings,update_mask\032\214\001\312A\037artifactregistry." - + "googleapis.com\322Aghttps://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/cloud-platform.read-only" - + "B\372\001\n\'com.google.devtools.artifactregistr" - + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" - + "genproto/googleapis/devtools/artifactreg" - + "istry/v1;artifactregistry\252\002 Google.Cloud" - + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" - + "factRegistry\\V1\352\002#Google::Cloud::Artifac" - + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index 99a5156a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" - + "ttings.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" - + "state\030\002 \001(\0162E.google.devtools.artifactre" - + "gistry.v1.ProjectSettings.RedirectionSta" - + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" - + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" - + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" - + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" - + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" - + "leapis.com/ProjectSettings\022\"projects/{pr" - + "oject}/projectSettings\"b\n\031GetProjectSett" - + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" - + "actregistry.googleapis.com/ProjectSettin" - + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" - + "roject_settings\030\002 \001(\01324.google.devtools." - + "artifactregistry.v1.ProjectSettings\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index 98a7bb62..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" - + "g.proto\022#google.devtools.artifactregistr" - + "y.v1\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" - + "ags\030\001 \003(\0132(.google.devtools.artifactregi" - + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" - + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" - + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" - + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" - + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" - + "g\030\001 \001(\0132(.google.devtools.artifactregist" - + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" - + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" - + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" - + "ang.org/genproto/googleapis/devtools/art" - + "ifactregistry/v1;artifactregistry\252\002 Goog" - + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" - + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" - + ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index a4451c3a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" - + "rsion.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032-google/dev" - + "tools/artifactregistry/v1/tag.proto\032\034goo" - + "gle/protobuf/struct.proto\032\037google/protob" - + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" - + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" - + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" - + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" - + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" - + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" - + "\222\001\n\'artifactregistry.googleapis.com/Vers" - + "ion\022gprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/packages/" - + "{package}/versions/{version}\"\243\001\n\023ListVer" - + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" - + "\01620.google.devtools.artifactregistry.v1." - + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" - + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" - + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" - + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" - + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" - + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index faf5e918..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" - + "m_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.YumArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" - + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" - + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" - + "ctregistry.googleapis.com/YumArtifact\022]p" - + "rojects/{project}/locations/{location}/r" - + "epositories/{repository}/yumArtifacts/{y" - + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" - + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" - + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" - + "urce\030\002 \001(\0132@.google.devtools.artifactreg" - + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" - + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" - + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" - + "oogle.devtools.artifactregistry.v1.Impor" - + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" - + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" - + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " - + "\003(\01320.google.devtools.artifactregistry.v" - + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" - + "evtools.artifactregistry.v1.ImportYumArt" - + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" - + "adataB\376\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" - + "lang.org/genproto/googleapis/devtools/ar" - + "tifactregistry/v1;artifactregistry\252\002 Goo" - + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" - + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" - + "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index f7549075..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/apt_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.AptArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" - + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" - + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" - + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" - + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" - + "ptArtifact\022]projects/{project}/locations" - + "/{location}/repositories/{repository}/ap" - + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" - + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" - + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" - + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" - + "s.artifactregistry.v1beta2.ImportAptArti" - + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" - + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" - + "s_source\030\001 \001(\0132E.google.devtools.artifac" - + "tregistry.v1beta2.ImportAptArtifactsGcsS" - + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" - + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" - + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" - + "ools.artifactregistry.v1beta2.AptArtifac" - + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" - + "factregistry.v1beta2.ImportAptArtifactsE" - + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" - + "\002\n,com.google.devtools.artifactregistry." - + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" - + "ng.org/genproto/googleapis/devtools/arti" - + "factregistry/v1beta2;artifactregistry\252\002%" - + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" - + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" - + "Google::Cloud::ArtifactRegistry::V1beta2" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index d133ca1d..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index e954d602..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 4e7fb61f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index 8d60b37f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" - + "a2/file.proto\022(google.devtools.artifactr" - + "egistry.v1beta2\032\034google/api/annotations." - + "proto\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" - + "pe\030\001 \001(\01627.google.devtools.artifactregis" - + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" - + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" - + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " - + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" - + "..google.devtools.artifactregistry.v1bet" - + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" - + ":y\352Av\n$artifactregistry.googleapis.com/F" - + "ile\022Nprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/files/{fi" - + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" - + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" - + "iles\030\001 \003(\0132..google.devtools.artifactreg" - + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " - + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," - + "com.google.devtools.artifactregistry.v1b" - + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" - + "proto/googleapis/devtools/artifactregist" - + "ry/v1beta2;artifactregistry\252\002%Google.Clo" - + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" - + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" - + "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 63162f9e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 79b06fba..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 7c22b893..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index c70d1027..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 66b07dde..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 928564d6..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index e9d9fe0f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 5373800b..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0a96b6ee..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/package.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\037google/protobuf/time" - + "stamp.proto\032\034google/api/annotations.prot" - + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" - + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." - + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" - + "\032.google.protobuf.Timestamp\"L\n\023ListPacka" - + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" - + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" - + "tools.artifactregistry.v1beta2.Package\022\027" - + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" - + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" - + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" - + ".artifactregistry.v1beta2B\014PackageProtoP" - + "\001ZXgoogle.golang.org/genproto/googleapis" - + "/devtools/artifactregistry/v1beta2;artif" - + "actregistry\252\002%Google.Cloud.ArtifactRegis" - + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" - + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" - + "istry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 0f89810e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" - + "a2/repository.proto\022(google.devtools.art" - + "ifactregistry.v1beta2\032\034google/api/annota" - + "tions.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" - + "en_config\030\t \001(\0132J.google.devtools.artifa" - + "ctregistry.v1beta2.Repository.MavenRepos" - + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " - + "\001(\0162;.google.devtools.artifactregistry.v" - + "1beta2.Repository.Format\022\023\n\013description\030" - + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." - + "artifactregistry.v1beta2.Repository.Labe" - + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" - + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" - + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" - + "policy\030\002 \001(\0162X.google.devtools.artifactr" - + "egistry.v1beta2.Repository.MavenReposito" - + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" - + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" - + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" - + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" - + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" - + "\010:r\352Ao\n*artifactregistry.googleapis.com/" - + "Repository\022Aprojects/{project}/locations" - + "/{location}/repositories/{repository}B\017\n" - + "\rformat_config\"\204\001\n\027ListRepositoriesReque" - + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" - + "stry.googleapis.com/Repository\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" - + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" - + "4.google.devtools.artifactregistry.v1bet" - + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" - + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" - + "\002\372A,\n*artifactregistry.googleapis.com/Re" - + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" - + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" - + "oogleapis.com/Repository\022\025\n\rrepository_i" - + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" - + "tools.artifactregistry.v1beta2.Repositor" - + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" - + "ory\030\001 \001(\01324.google.devtools.artifactregi" - + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" - + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" - + ",\n*artifactregistry.googleapis.com/Repos" - + "itoryB\226\002\n,com.google.devtools.artifactre" - + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1beta2;artifactregis" - + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" - + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" - + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" - + "1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index d1061ad9..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/service.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032;googl" - + "e/devtools/artifactregistry/v1beta2/apt_" - + "artifact.proto\0323google/devtools/artifact" - + "registry/v1beta2/file.proto\0326google/devt" - + "ools/artifactregistry/v1beta2/package.pr" - + "oto\0329google/devtools/artifactregistry/v1" - + "beta2/repository.proto\0327google/devtools/" - + "artifactregistry/v1beta2/settings.proto\032" - + "2google/devtools/artifactregistry/v1beta" - + "2/tag.proto\0326google/devtools/artifactreg" - + "istry/v1beta2/version.proto\032;google/devt" - + "ools/artifactregistry/v1beta2/yum_artifa" - + "ct.proto\032\036google/iam/v1/iam_policy.proto" - + "\032\032google/iam/v1/policy.proto\032#google/lon" - + "grunning/operations.proto\032\033google/protob" - + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" - + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" - + "C.google.devtools.artifactregistry.v1bet" - + "a2.ImportAptArtifactsRequest\032\035.google.lo" - + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" - + "parent=projects/*/locations/*/repositori" - + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" - + ".devtools.artifactregistry.v1beta2.Impor" - + "tAptArtifactsResponse\022Cgoogle.devtools.a" - + "rtifactregistry.v1beta2.ImportAptArtifac" - + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" - + "le.devtools.artifactregistry.v1beta2.Imp" - + "ortYumArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" - + "=projects/*/locations/*/repositories/*}/" - + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" - + "ols.artifactregistry.v1beta2.ImportYumAr" - + "tifactsResponse\022Cgoogle.devtools.artifac" - + "tregistry.v1beta2.ImportYumArtifactsMeta" - + "data\022\341\001\n\020ListRepositories\022A.google.devto" - + "ols.artifactregistry.v1beta2.ListReposit" - + "oriesRequest\032B.google.devtools.artifactr" - + "egistry.v1beta2.ListRepositoriesResponse" - + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" - + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" - + "Repository\022>.google.devtools.artifactreg" - + "istry.v1beta2.GetRepositoryRequest\0324.goo" - + "gle.devtools.artifactregistry.v1beta2.Re" - + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" - + "s/*/locations/*/repositories/*}\332A\004name\022\326" - + "\002\n\020CreateRepository\022A.google.devtools.ar" - + "tifactregistry.v1beta2.CreateRepositoryR" - + "equest\032\035.google.longrunning.Operation\"\337\001" - + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" - + "tions/*}/repositories:\nrepository\332A\037pare" - + "nt,repository,repository_id\312Aq\n3google.d" - + "evtools.artifactregistry.v1beta2.Reposit" - + "ory\022:google.devtools.artifactregistry.v1" - + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" - + "tory\022A.google.devtools.artifactregistry." - + "v1beta2.UpdateRepositoryRequest\0324.google" - + ".devtools.artifactregistry.v1beta2.Repos" - + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" - + "=projects/*/locations/*/repositories/*}:" - + "\nrepository\332A\026repository,update_mask\022\221\002\n" - + "\020DeleteRepository\022A.google.devtools.arti" - + "factregistry.v1beta2.DeleteRepositoryReq" - + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" - + "\344\223\0027*5/v1beta2/{name=projects/*/location" - + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" - + "otobuf.Empty\022:google.devtools.artifactre" - + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" - + "tPackages\022=.google.devtools.artifactregi" - + "stry.v1beta2.ListPackagesRequest\032>.googl" - + "e.devtools.artifactregistry.v1beta2.List" - + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" - + "nt=projects/*/locations/*/repositories/*" - + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" - + "gle.devtools.artifactregistry.v1beta2.Ge" - + "tPackageRequest\0321.google.devtools.artifa" - + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" - + "eta2/{name=projects/*/locations/*/reposi" - + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" - + "ckage\022>.google.devtools.artifactregistry" - + ".v1beta2.DeletePackageRequest\032\035.google.l" - + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" - + "{name=projects/*/locations/*/repositorie" - + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" - + "uf.Empty\022:google.devtools.artifactregist" - + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" - + "sions\022=.google.devtools.artifactregistry" - + ".v1beta2.ListVersionsRequest\032>.google.de" - + "vtools.artifactregistry.v1beta2.ListVers" - + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" - + "rojects/*/locations/*/repositories/*/pac" - + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" - + "n\022;.google.devtools.artifactregistry.v1b" - + "eta2.GetVersionRequest\0321.google.devtools" - + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" - + "M\022K/v1beta2/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" - + "s.artifactregistry.v1beta2.DeleteVersion" - + "Request\032\035.google.longrunning.Operation\"\260" - + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" - + "ions/*/repositories/*/packages/*/version" - + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" - + "oogle.devtools.artifactregistry.v1beta2." - + "OperationMetadata\022\324\001\n\tListFiles\022:.google" - + ".devtools.artifactregistry.v1beta2.ListF" - + "ilesRequest\032;.google.devtools.artifactre" - + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" - + "\022=/v1beta2/{parent=projects/*/locations/" - + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" - + "File\0228.google.devtools.artifactregistry." - + "v1beta2.GetFileRequest\032..google.devtools" - + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" - + "/v1beta2/{name=projects/*/locations/*/re" - + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" - + "gs\0229.google.devtools.artifactregistry.v1" - + "beta2.ListTagsRequest\032:.google.devtools." - + "artifactregistry.v1beta2.ListTagsRespons" - + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" - + "ocations/*/repositories/*/packages/*}/ta" - + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" - + ".artifactregistry.v1beta2.GetTagRequest\032" - + "-.google.devtools.artifactregistry.v1bet" - + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" - + "vtools.artifactregistry.v1beta2.CreateTa" - + "gRequest\032-.google.devtools.artifactregis" - + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" - + "t=projects/*/locations/*/repositories/*/" - + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" - + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" - + "ctregistry.v1beta2.UpdateTagRequest\032-.go" - + "ogle.devtools.artifactregistry.v1beta2.T" - + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" - + "eTag\022:.google.devtools.artifactregistry." - + "v1beta2.DeleteTagRequest\032\026.google.protob" - + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" - + "s/*/locations/*/repositories/*/packages/" - + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" - + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" - + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" - + "=projects/*/locations/*/repositories/*}:" - + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" - + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" - + "projects/*/locations/*/repositories/*}:g" - + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" - + "gle.iam.v1.TestIamPermissionsRequest\032).g" - + "oogle.iam.v1.TestIamPermissionsResponse\"" - + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" - + "ocations/*/repositories/*}:testIamPermis" - + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" - + ".devtools.artifactregistry.v1beta2.GetPr" - + "ojectSettingsRequest\0329.google.devtools.a" - + "rtifactregistry.v1beta2.ProjectSettings\"" - + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" - + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" - + "ings\022F.google.devtools.artifactregistry." - + "v1beta2.UpdateProjectSettingsRequest\0329.g" - + "oogle.devtools.artifactregistry.v1beta2." - + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" - + "ct_settings.name=projects/*/projectSetti" - + "ngs}:\020project_settings\332A\034project_setting" - + "s,update_mask\032\214\001\312A\037artifactregistry.goog" - + "leapis.com\322Aghttps://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-platform.read-onlyB\223\002\n" - + ",com.google.devtools.artifactregistry.v1" - + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" - + "/genproto/googleapis/devtools/artifactre" - + "gistry/v1beta2;artifactregistry\252\002%Google" - + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" - + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" - + "::Cloud::ArtifactRegistry::V1beta2b\006prot" - + "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index 45e2471c..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" - + "a2/settings.proto\022(google.devtools.artif" - + "actregistry.v1beta2\032\034google/api/annotati" - + "ons.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" - + "state\030\002 \001(\0162J.google.devtools.artifactre" - + "gistry.v1beta2.ProjectSettings.Redirecti" - + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" - + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" - + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" - + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" - + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" - + ".googleapis.com/ProjectSettings\022\"project" - + "s/{project}/projectSettings\"b\n\031GetProjec" - + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" - + "artifactregistry.googleapis.com/ProjectS" - + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" - + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" - + "ools.artifactregistry.v1beta2.ProjectSet" - + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" - + "rtifactregistry.v1beta2B\rSettingsProtoP\001" - + "ZXgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1beta2;artifa" - + "ctregistry\252\002%Google.Cloud.ArtifactRegist" - + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" - + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" - + "stry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 117abb8f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" - + "a2/tag.proto\022(google.devtools.artifactre" - + "gistry.v1beta2\032\034google/api/annotations.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" - + "ags\030\001 \003(\0132-.google.devtools.artifactregi" - + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" - + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" - + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" - + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" - + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\010Ta" - + "gProtoP\001ZXgoogle.golang.org/genproto/goo" - + "gleapis/devtools/artifactregistry/v1beta" - + "2;artifactregistry\252\002%Google.Cloud.Artifa" - + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" - + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" - + "factRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index 5f9a1a41..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/version.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0322google/dev" - + "tools/artifactregistry/v1beta2/tag.proto" - + "\032\034google/protobuf/struct.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" - + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" - + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." - + "devtools.artifactregistry.v1beta2.Tag\022.\n" - + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" - + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" - + "s.com/Version\022gprojects/{project}/locati" - + "ons/{location}/repositories/{repository}" - + "/packages/{package}/versions/{version}\"\250" - + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" - + "\004view\030\004 \001(\01625.google.devtools.artifactre" - + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" - + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" - + "sions\030\001 \003(\01321.google.devtools.artifactre" - + "gistry.v1beta2.Version\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" - + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" - + "actregistry.v1beta2.VersionView\"3\n\024Delet" - + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" - + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" - + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" - + "oogle.devtools.artifactregistry.v1beta2B" - + "\014VersionProtoP\001ZXgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1beta2;artifactregistry\252\002%Google.Cloud" - + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" - + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" - + "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5efcc8f3..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/yum_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.YumArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" - + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" - + "factregistry.googleapis.com/YumArtifact\022" - + "]projects/{project}/locations/{location}" - + "/repositories/{repository}/yumArtifacts/" - + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" - + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" - + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" - + "source\030\002 \001(\0132E.google.devtools.artifactr" - + "egistry.v1beta2.ImportYumArtifactsGcsSou" - + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" - + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " - + "\001(\0132E.google.devtools.artifactregistry.v" - + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" - + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" - + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" - + "artifacts\030\001 \003(\01325.google.devtools.artifa" - + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" - + "\030\002 \003(\0132E.google.devtools.artifactregistr" - + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" - + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\020Yu" - + "mArtifactProtoP\001ZXgoogle.golang.org/genp" - + "roto/googleapis/devtools/artifactregistr" - + "y/v1beta2;artifactregistry\252\002%Google.Clou" - + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" - + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" - + "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 81bc8eb4816bc6f4570f91cc2c1bd8ea52a704f7 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 10 Jun 2022 03:18:14 +0000 Subject: [PATCH 4/9] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 6 +- .../v1/ArtifactRegistryClient.java | 56 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 - .../v1beta2/ArtifactRegistryClient.java | 46 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 - .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 3494 +++++++++++++++++ .../v1beta2/ArtifactRegistryGrpc.java | 3275 +++++++++++++++ .../v1/ArtifactRegistryGrpc.java | 2628 ------------- .../artifactregistry/v1/AptArtifactProto.java | 150 - .../artifactregistry/v1/ArtifactProto.java | 119 - .../v1/DeleteRepositoryRequestOrBuilder.java | 29 - .../v1/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1/FileProto.java | 127 - .../v1/GetDockerImageRequestOrBuilder.java | 29 - .../v1/GetFileRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../v1/GetRepositoryRequestOrBuilder.java | 29 - .../v1/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1/OperationMetadataOrBuilder.java | 9 - .../artifactregistry/v1/PackageProto.java | 122 - .../artifactregistry/v1/RepositoryProto.java | 203 - .../artifactregistry/v1/ServiceProto.java | 265 -- .../artifactregistry/v1/SettingsProto.java | 108 - .../artifactregistry/v1/TagProto.java | 147 - .../artifactregistry/v1/VersionProto.java | 141 - .../artifactregistry/v1/YumArtifactProto.java | 148 - .../v1beta2/ArtifactRegistryGrpc.java | 2456 ------------ .../v1beta2/AptArtifactProto.java | 157 - .../DeletePackageRequestOrBuilder.java | 29 - .../DeleteRepositoryRequestOrBuilder.java | 29 - .../v1beta2/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1beta2/FileProto.java | 130 - .../v1beta2/GetFileRequestOrBuilder.java | 29 - .../v1beta2/GetPackageRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../GetRepositoryRequestOrBuilder.java | 29 - .../v1beta2/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1beta2/OperationMetadataOrBuilder.java | 9 - .../v1beta2/PackageProto.java | 115 - .../v1beta2/RepositoryProto.java | 208 - .../v1beta2/ServiceProto.java | 262 -- .../v1beta2/SettingsProto.java | 112 - .../artifactregistry/v1beta2/TagProto.java | 151 - .../v1beta2/VersionProto.java | 145 - .../v1beta2/YumArtifactProto.java | 155 - .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 168 + .../artifactregistry/v1/ArtifactProto.java | 137 + .../v1/CreateRepositoryRequest.java | 541 ++- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 ++- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 50 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 146 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 50 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 50 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportAptArtifactsRequest.java | 526 ++- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportYumArtifactsRequest.java | 526 ++- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 ++- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 ++- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 +-- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 ++- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 ++- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 ++- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 ++- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 ++- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 ++- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 +-- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 ++- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 24 + .../devtools/artifactregistry/v1/Package.java | 571 +-- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 141 + .../artifactregistry/v1/ProjectSettings.java | 498 ++- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 +++++---- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 238 ++ .../artifactregistry/v1/ServiceProto.java | 278 ++ .../artifactregistry/v1/SettingsProto.java | 125 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 168 + .../v1/UpdateProjectSettingsRequest.java | 481 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 ++- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 160 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 +-- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 166 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 175 + .../v1beta2/CreateRepositoryRequest.java | 556 ++- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 ++- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 50 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 54 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 50 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 149 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 50 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 50 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 54 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 50 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportAptArtifactsRequest.java | 580 +-- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportYumArtifactsRequest.java | 580 +-- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 ++- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 ++- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 ++- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 ++- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 ++- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 ++- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 ++- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 ++- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 +-- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 ++- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 24 + .../artifactregistry/v1beta2/Package.java | 578 +-- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 134 + .../v1beta2/ProjectSettings.java | 506 ++- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 +++++---- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 243 ++ .../v1beta2/ServiceProto.java | 275 ++ .../v1beta2/SettingsProto.java | 129 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 172 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 ++- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 ++- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 164 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 +-- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 173 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 302 files changed, 43518 insertions(+), 27936 deletions(-) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java create mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) diff --git a/README.md b/README.md index c3762315..de50b6fe 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-artifact-registry - 1.1.2 + 1.2.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-artifact-registry:1.1.2' +implementation 'com.google.cloud:google-cloud-artifact-registry:1.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.1.2" +libraryDependencies += "com.google.cloud" % "google-cloud-artifact-registry" % "1.2.0" ``` ## Authentication diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 6d8915b0..65ad66c6 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -53,11 +53,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2746,7 +2746,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2796,7 +2799,10 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2817,7 +2823,10 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2867,7 +2876,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2888,7 +2900,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2937,7 +2952,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2957,7 +2975,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3006,7 +3027,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 49e8df73..4d59eaef 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java @@ -33,7 +33,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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -55,10 +54,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index 16275bcf..a58cd64c 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index 491a01f8..5625cda8 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -114,10 +114,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index e0d1bb10..45335bd2 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,7 +84,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/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index b3e9e188..c0b7222a 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2518,7 +2518,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2568,7 +2571,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2589,7 +2595,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2638,7 +2647,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2658,7 +2670,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2707,7 +2722,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 88a97d40..3968efc5 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -32,7 +32,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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -54,10 +53,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index ce7d976f..2ee2d5f4 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index 99f45e74..d1764467 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -109,10 +109,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index d73deacf..322bd754 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,7 +80,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/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..8dd4c5ad --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,3494 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = + getListDockerImagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = + getGetDockerImageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDockerImagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDockerImageMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.DockerImage> + getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Package> + getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Version> + getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.File> + getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages( + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) + responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage( + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..63baa4ed --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,3275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2 + .UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Package> + getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Version> + getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.File> + getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index e3ceeee1..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2628 +0,0 @@ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDockerImagesMethod() { - io.grpc.MethodDescriptor getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDockerImageMethod() { - io.grpc.MethodDescriptor getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index 443f6d5f..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,150 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" + - "t_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.AptArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + - "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + - "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + - "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + - "A\214\001\n+artifactregistry.googleapis.com/Apt" + - "Artifact\022]projects/{project}/locations/{" + - "location}/repositories/{repository}/aptA" + - "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + - "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + - "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + - "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + - "artifactregistry.v1.ImportAptArtifactsGc" + - "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + - "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + - "e\030\001 \001(\0132@.google.devtools.artifactregist" + - "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + - "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + - "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + - "rtifacts\030\001 \003(\01320.google.devtools.artifac" + - "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + - "2@.google.devtools.artifactregistry.v1.I" + - "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + - "rtifactsMetadataB\376\001\n\'com.google.devtools" + - ".artifactregistry.v1B\020AptArtifactProtoP\001" + - "ZSgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1;artifactreg" + - "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + - "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + - "ogle::Cloud::ArtifactRegistry::V1b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index d2e38912..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,119 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" + - "tifact.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032\037google/pr" + - "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + - "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + - "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + - "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + - " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mage\022]projects/{project}/locations/{loca" + - "tion}/repositories/{repository}/dockerIm" + - "ages/{docker_image}\"U\n\027ListDockerImagesR" + - "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + - "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + - "google.devtools.artifactregistry.v1.Dock" + - "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + - "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mageB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { "DockerImages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 8199afc8..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 2a237596..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index b27baa2c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,127 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + - "le.proto\022#google.devtools.artifactregist" + - "ry.v1\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + - "pe\030\001 \001(\01622.google.devtools.artifactregis" + - "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + - "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + - "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + - "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + - "gle.devtools.artifactregistry.v1.Hash\022/\n" + - "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + - "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + - "ifactregistry.googleapis.com/File\022Nproje" + - "cts/{project}/locations/{location}/repos" + - "itories/{repository}/files/{file}\"k\n\020Lis" + - "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + - "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + - " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + - "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + - "ifactregistry.v1.File\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + - "\001\n\'com.google.devtools.artifactregistry." + - "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1;artifactregistry\252\002 Google.Cloud.Arti" + - "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + - "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + - "stry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 36dc5023..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 8a742290..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 35c962cf..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 323cd5a0..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index 9c1264a9..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index c24b837d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fba0379..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index e3a558ac..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index 7b437e4a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" + - "ckage.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032\037google/pro" + - "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" + - "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" + - "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" + - "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" + - "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" + - "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" + - "ckages\030\001 \003(\0132,.google.devtools.artifactr" + - "egistry.v1.Package\022\027\n\017next_page_token\030\002 " + - "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" + - "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" + - "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" + - "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" + - "g.org/genproto/googleapis/devtools/artif" + - "actregistry/v1;artifactregistry\252\002 Google" + - ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" + - "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" + - "rtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index c29b26fa..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,203 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" + - "pository.proto\022#google.devtools.artifact" + - "registry.v1\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + - "en_config\030\t \001(\0132E.google.devtools.artifa" + - "ctregistry.v1.Repository.MavenRepository" + - "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + - ".google.devtools.artifactregistry.v1.Rep" + - "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + - "abels\030\004 \003(\0132;.google.devtools.artifactre" + - "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + - "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + - ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + - "enRepositoryConfig\022!\n\031allow_snapshot_ove" + - "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + - "google.devtools.artifactregistry.v1.Repo" + - "sitory.MavenRepositoryConfig.VersionPoli" + - "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + - "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + - "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + - "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + - "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + - "stry.googleapis.com/Repository\022Aprojects" + - "/{project}/locations/{location}/reposito" + - "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + - "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + - "\340A\002\372A,\022*artifactregistry.googleapis.com/" + - "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + - "\014repositories\030\001 \003(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + - "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + - "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + - "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + - "ifactregistry.googleapis.com/Repository\022" + - "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + - "(\0132/.google.devtools.artifactregistry.v1" + - ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + - "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022/\n\013update_m" + - "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + - "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + - "\340A\002\372A,\n*artifactregistry.googleapis.com/" + - "RepositoryB\375\001\n\'com.google.devtools.artif" + - "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1;artifactregistry\252\002" + - " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + - "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + - "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index cf63a61d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,265 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" + - "rvice.proto\022#google.devtools.artifactreg" + - "istry.v1\032\034google/api/annotations.proto\032\027" + - "google/api/client.proto\0326google/devtools" + - "/artifactregistry/v1/apt_artifact.proto\032" + - "2google/devtools/artifactregistry/v1/art" + - "ifact.proto\032.google/devtools/artifactreg" + - "istry/v1/file.proto\0321google/devtools/art" + - "ifactregistry/v1/package.proto\0324google/d" + - "evtools/artifactregistry/v1/repository.p" + - "roto\0322google/devtools/artifactregistry/v" + - "1/settings.proto\032-google/devtools/artifa" + - "ctregistry/v1/tag.proto\0321google/devtools" + - "/artifactregistry/v1/version.proto\0326goog" + - "le/devtools/artifactregistry/v1/yum_arti" + - "fact.proto\032\036google/iam/v1/iam_policy.pro" + - "to\032\032google/iam/v1/policy.proto\032#google/l" + - "ongrunning/operations.proto\032\033google/prot" + - "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + - "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + - "<.google.devtools.artifactregistry.v1.Li" + - "stDockerImagesRequest\032=.google.devtools." + - "artifactregistry.v1.ListDockerImagesResp" + - "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + - "ations/*/repositories/*}/dockerImages\332A\006" + - "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + - "ols.artifactregistry.v1.GetDockerImageRe" + - "quest\0320.google.devtools.artifactregistry" + - ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + - "cts/*/locations/*/repositories/*/dockerI" + - "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + - ".google.devtools.artifactregistry.v1.Imp" + - "ortAptArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + - "ects/*/locations/*/repositories/*}/aptAr" + - "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + - "rtifactregistry.v1.ImportAptArtifactsRes" + - "ponse\022>google.devtools.artifactregistry." + - "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + - "YumArtifacts\022>.google.devtools.artifactr" + - "egistry.v1.ImportYumArtifactsRequest\032\035.g" + - "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + - "1/{parent=projects/*/locations/*/reposit" + - "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + - "gle.devtools.artifactregistry.v1.ImportY" + - "umArtifactsResponse\022>google.devtools.art" + - "ifactregistry.v1.ImportYumArtifactsMetad" + - "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + - "ls.artifactregistry.v1.ListRepositoriesR" + - "equest\032=.google.devtools.artifactregistr" + - "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + - "v1/{parent=projects/*/locations/*}/repos" + - "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + - "gle.devtools.artifactregistry.v1.GetRepo" + - "sitoryRequest\032/.google.devtools.artifact" + - "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + - "e=projects/*/locations/*/repositories/*}" + - "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + - "vtools.artifactregistry.v1.CreateReposit" + - "oryRequest\032\035.google.longrunning.Operatio" + - "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + - "ions/*}/repositories:\nrepository\332A\037paren" + - "t,repository,repository_id\312Ag\n.google.de" + - "vtools.artifactregistry.v1.Repository\0225g" + - "oogle.devtools.artifactregistry.v1.Opera" + - "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + - "le.devtools.artifactregistry.v1.UpdateRe" + - "positoryRequest\032/.google.devtools.artifa" + - "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + - "epository.name=projects/*/locations/*/re" + - "positories/*}:\nrepository\332A\026repository,u" + - "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + - ".devtools.artifactregistry.v1.DeleteRepo" + - "sitoryRequest\032\035.google.longrunning.Opera" + - "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + - "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + - "e.protobuf.Empty\0225google.devtools.artifa" + - "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + - "Packages\0228.google.devtools.artifactregis" + - "try.v1.ListPackagesRequest\0329.google.devt" + - "ools.artifactregistry.v1.ListPackagesRes" + - "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + - "cations/*/repositories/*}/packages\332A\006par" + - "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + - "ifactregistry.v1.GetPackageRequest\032,.goo" + - "gle.devtools.artifactregistry.v1.Package" + - "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + - "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + - "\rDeletePackage\0229.google.devtools.artifac" + - "tregistry.v1.DeletePackageRequest\032\035.goog" + - "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + - "name=projects/*/locations/*/repositories" + - "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + - "f.Empty\0225google.devtools.artifactregistr" + - "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + - "8.google.devtools.artifactregistry.v1.Li" + - "stVersionsRequest\0329.google.devtools.arti" + - "factregistry.v1.ListVersionsResponse\"W\202\323" + - "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + - "/repositories/*/packages/*}/versions\332A\006p" + - "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + - "rtifactregistry.v1.GetVersionRequest\032,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + - "ns/*/repositories/*/packages/*/versions/" + - "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + - "tools.artifactregistry.v1.DeleteVersionR" + - "equest\032\035.google.longrunning.Operation\"\246\001" + - "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\312AN\n\025google.protobuf.Empty\0225google." + - "devtools.artifactregistry.v1.OperationMe" + - "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + - "rtifactregistry.v1.ListFilesRequest\0326.go" + - "ogle.devtools.artifactregistry.v1.ListFi" + - "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + - "s/*/locations/*/repositories/*}/files\332A\006" + - "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + - "ifactregistry.v1.GetFileRequest\032).google" + - ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + - "\002;\0229/v1/{name=projects/*/locations/*/rep" + - "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + - "s\0224.google.devtools.artifactregistry.v1." + - "ListTagsRequest\0325.google.devtools.artifa" + - "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + - "/v1/{parent=projects/*/locations/*/repos" + - "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + - "GetTag\0222.google.devtools.artifactregistr" + - "y.v1.GetTagRequest\032(.google.devtools.art" + - "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + - "projects/*/locations/*/repositories/*/pa" + - "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + - "google.devtools.artifactregistry.v1.Crea" + - "teTagRequest\032(.google.devtools.artifactr" + - "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + - "ects/*/locations/*/repositories/*/packag" + - "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + - "UpdateTag\0225.google.devtools.artifactregi" + - "stry.v1.UpdateTagRequest\032(.google.devtoo" + - "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + - "{tag.name=projects/*/locations/*/reposit" + - "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + - "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + - "s.artifactregistry.v1.DeleteTagRequest\032\026" + - ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + - "e=projects/*/locations/*/repositories/*/" + - "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + - "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + - ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + - "urce=projects/*/locations/*/repositories" + - "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + - "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + - "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + - "rojects/*/locations/*/repositories/*}:ge" + - "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + - "le.iam.v1.TestIamPermissionsRequest\032).go" + - "ogle.iam.v1.TestIamPermissionsResponse\"R" + - "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + - "ns/*/repositories/*}:testIamPermissions:" + - "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + - "ols.artifactregistry.v1.GetProjectSettin" + - "gsRequest\0324.google.devtools.artifactregi" + - "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + - "me=projects/*/projectSettings}\332A\004name\022\201\002" + - "\n\025UpdateProjectSettings\022A.google.devtool" + - "s.artifactregistry.v1.UpdateProjectSetti" + - "ngsRequest\0324.google.devtools.artifactreg" + - "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + - "roject_settings.name=projects/*/projectS" + - "ettings}:\020project_settings\332A\034project_set" + - "tings,update_mask\032\214\001\312A\037artifactregistry." + - "googleapis.com\322Aghttps://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/cloud-platform.read-only" + - "B\372\001\n\'com.google.devtools.artifactregistr" + - "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + - "genproto/googleapis/devtools/artifactreg" + - "istry/v1;artifactregistry\252\002 Google.Cloud" + - ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + - "factRegistry\\V1\352\002#Google::Cloud::Artifac" + - "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index db067c93..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" + - "ttings.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + - "state\030\002 \001(\0162E.google.devtools.artifactre" + - "gistry.v1.ProjectSettings.RedirectionSta" + - "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + - "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + - "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + - "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + - "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + - "leapis.com/ProjectSettings\022\"projects/{pr" + - "oject}/projectSettings\"b\n\031GetProjectSett" + - "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + - "actregistry.googleapis.com/ProjectSettin" + - "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + - "roject_settings\030\002 \001(\01324.google.devtools." + - "artifactregistry.v1.ProjectSettings\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "MaskB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index a0942140..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,147 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + - "g.proto\022#google.devtools.artifactregistr" + - "y.v1\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + - "ags\030\001 \003(\0132(.google.devtools.artifactregi" + - "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + - "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + - "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + - "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + - "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + - "g\030\001 \001(\0132(.google.devtools.artifactregist" + - "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + - "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + - "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + - "ang.org/genproto/googleapis/devtools/art" + - "ifactregistry/v1;artifactregistry\252\002 Goog" + - "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + - "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + - ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index e4184f9e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,141 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" + - "rsion.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032-google/dev" + - "tools/artifactregistry/v1/tag.proto\032\034goo" + - "gle/protobuf/struct.proto\032\037google/protob" + - "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" + - " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" + - "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" + - "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" + - "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" + - "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" + - "\222\001\n\'artifactregistry.googleapis.com/Vers" + - "ion\022gprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/packages/" + - "{package}/versions/{version}\"\243\001\n\023ListVer" + - "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" + - "\01620.google.devtools.artifactregistry.v1." + - "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" + - "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" + - "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" + - " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" + - "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" + - "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index 1ec8e04d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" + - "m_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.YumArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + - "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + - "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + - "ctregistry.googleapis.com/YumArtifact\022]p" + - "rojects/{project}/locations/{location}/r" + - "epositories/{repository}/yumArtifacts/{y" + - "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + - "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + - "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + - "urce\030\002 \001(\0132@.google.devtools.artifactreg" + - "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + - "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + - "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + - "oogle.devtools.artifactregistry.v1.Impor" + - "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + - "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + - "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + - "\003(\01320.google.devtools.artifactregistry.v" + - "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + - "evtools.artifactregistry.v1.ImportYumArt" + - "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + - "adataB\376\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + - "lang.org/genproto/googleapis/devtools/ar" + - "tifactregistry/v1;artifactregistry\252\002 Goo" + - "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + - "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + - "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index bf2e6f04..00000000 --- a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2456 +0,0 @@ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index eabaa203..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,157 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/apt_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.AptArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + - "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + - " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + - "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + - "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + - "ptArtifact\022]projects/{project}/locations" + - "/{location}/repositories/{repository}/ap" + - "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + - "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + - "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + - "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + - "s.artifactregistry.v1beta2.ImportAptArti" + - "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + - "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + - "s_source\030\001 \001(\0132E.google.devtools.artifac" + - "tregistry.v1beta2.ImportAptArtifactsGcsS" + - "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + - "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + - "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + - "ools.artifactregistry.v1beta2.AptArtifac" + - "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + - "factregistry.v1beta2.ImportAptArtifactsE" + - "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + - "\002\n,com.google.devtools.artifactregistry." + - "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + - "ng.org/genproto/googleapis/devtools/arti" + - "factregistry/v1beta2;artifactregistry\252\002%" + - "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + - "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + - "Google::Cloud::ArtifactRegistry::V1beta2" + - "b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index 0df0c1b7..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index b29d4e2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 9be43f2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index c605f981..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,130 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" + - "a2/file.proto\022(google.devtools.artifactr" + - "egistry.v1beta2\032\034google/api/annotations." + - "proto\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + - "pe\030\001 \001(\01627.google.devtools.artifactregis" + - "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + - "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + - "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + - "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + - "..google.devtools.artifactregistry.v1bet" + - "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + - ":y\352Av\n$artifactregistry.googleapis.com/F" + - "ile\022Nprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/files/{fi" + - "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + - "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + - "iles\030\001 \003(\0132..google.devtools.artifactreg" + - "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + - "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + - "com.google.devtools.artifactregistry.v1b" + - "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + - "proto/googleapis/devtools/artifactregist" + - "ry/v1beta2;artifactregistry\252\002%Google.Clo" + - "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + - "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + - "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 13fd2797..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 0521cb2b..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index cfd70f3e..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index ad095e24..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 31d1c627..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 343d02be..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9ea4c192..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 9d96bd08..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0e725b25..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,115 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/package.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\037google/protobuf/time" + - "stamp.proto\032\034google/api/annotations.prot" + - "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." + - "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" + - "\032.google.protobuf.Timestamp\"L\n\023ListPacka" + - "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" + - "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" + - "tools.artifactregistry.v1beta2.Package\022\027" + - "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" + - "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" + - "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" + - ".artifactregistry.v1beta2B\014PackageProtoP" + - "\001ZXgoogle.golang.org/genproto/googleapis" + - "/devtools/artifactregistry/v1beta2;artif" + - "actregistry\252\002%Google.Cloud.ArtifactRegis" + - "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" + - "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" + - "istry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 39b40092..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" + - "a2/repository.proto\022(google.devtools.art" + - "ifactregistry.v1beta2\032\034google/api/annota" + - "tions.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + - "en_config\030\t \001(\0132J.google.devtools.artifa" + - "ctregistry.v1beta2.Repository.MavenRepos" + - "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + - "\001(\0162;.google.devtools.artifactregistry.v" + - "1beta2.Repository.Format\022\023\n\013description\030" + - "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + - "artifactregistry.v1beta2.Repository.Labe" + - "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + - "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + - "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + - "policy\030\002 \001(\0162X.google.devtools.artifactr" + - "egistry.v1beta2.Repository.MavenReposito" + - "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + - "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + - "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + - "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + - "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + - "\010:r\352Ao\n*artifactregistry.googleapis.com/" + - "Repository\022Aprojects/{project}/locations" + - "/{location}/repositories/{repository}B\017\n" + - "\rformat_config\"\204\001\n\027ListRepositoriesReque" + - "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + - "stry.googleapis.com/Repository\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + - "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + - "4.google.devtools.artifactregistry.v1bet" + - "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + - "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + - "\002\372A,\n*artifactregistry.googleapis.com/Re" + - "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + - "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + - "oogleapis.com/Repository\022\025\n\rrepository_i" + - "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + - "tools.artifactregistry.v1beta2.Repositor" + - "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + - "ory\030\001 \001(\01324.google.devtools.artifactregi" + - "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + - "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + - ",\n*artifactregistry.googleapis.com/Repos" + - "itoryB\226\002\n,com.google.devtools.artifactre" + - "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1beta2;artifactregis" + - "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + - "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + - "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + - "1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index 2ae49699..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,262 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/service.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032;googl" + - "e/devtools/artifactregistry/v1beta2/apt_" + - "artifact.proto\0323google/devtools/artifact" + - "registry/v1beta2/file.proto\0326google/devt" + - "ools/artifactregistry/v1beta2/package.pr" + - "oto\0329google/devtools/artifactregistry/v1" + - "beta2/repository.proto\0327google/devtools/" + - "artifactregistry/v1beta2/settings.proto\032" + - "2google/devtools/artifactregistry/v1beta" + - "2/tag.proto\0326google/devtools/artifactreg" + - "istry/v1beta2/version.proto\032;google/devt" + - "ools/artifactregistry/v1beta2/yum_artifa" + - "ct.proto\032\036google/iam/v1/iam_policy.proto" + - "\032\032google/iam/v1/policy.proto\032#google/lon" + - "grunning/operations.proto\032\033google/protob" + - "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + - "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + - "C.google.devtools.artifactregistry.v1bet" + - "a2.ImportAptArtifactsRequest\032\035.google.lo" + - "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + - "parent=projects/*/locations/*/repositori" + - "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + - ".devtools.artifactregistry.v1beta2.Impor" + - "tAptArtifactsResponse\022Cgoogle.devtools.a" + - "rtifactregistry.v1beta2.ImportAptArtifac" + - "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + - "le.devtools.artifactregistry.v1beta2.Imp" + - "ortYumArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + - "=projects/*/locations/*/repositories/*}/" + - "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + - "ols.artifactregistry.v1beta2.ImportYumAr" + - "tifactsResponse\022Cgoogle.devtools.artifac" + - "tregistry.v1beta2.ImportYumArtifactsMeta" + - "data\022\341\001\n\020ListRepositories\022A.google.devto" + - "ols.artifactregistry.v1beta2.ListReposit" + - "oriesRequest\032B.google.devtools.artifactr" + - "egistry.v1beta2.ListRepositoriesResponse" + - "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + - "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + - "Repository\022>.google.devtools.artifactreg" + - "istry.v1beta2.GetRepositoryRequest\0324.goo" + - "gle.devtools.artifactregistry.v1beta2.Re" + - "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + - "s/*/locations/*/repositories/*}\332A\004name\022\326" + - "\002\n\020CreateRepository\022A.google.devtools.ar" + - "tifactregistry.v1beta2.CreateRepositoryR" + - "equest\032\035.google.longrunning.Operation\"\337\001" + - "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + - "tions/*}/repositories:\nrepository\332A\037pare" + - "nt,repository,repository_id\312Aq\n3google.d" + - "evtools.artifactregistry.v1beta2.Reposit" + - "ory\022:google.devtools.artifactregistry.v1" + - "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + - "tory\022A.google.devtools.artifactregistry." + - "v1beta2.UpdateRepositoryRequest\0324.google" + - ".devtools.artifactregistry.v1beta2.Repos" + - "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + - "=projects/*/locations/*/repositories/*}:" + - "\nrepository\332A\026repository,update_mask\022\221\002\n" + - "\020DeleteRepository\022A.google.devtools.arti" + - "factregistry.v1beta2.DeleteRepositoryReq" + - "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + - "\344\223\0027*5/v1beta2/{name=projects/*/location" + - "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + - "otobuf.Empty\022:google.devtools.artifactre" + - "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + - "tPackages\022=.google.devtools.artifactregi" + - "stry.v1beta2.ListPackagesRequest\032>.googl" + - "e.devtools.artifactregistry.v1beta2.List" + - "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + - "nt=projects/*/locations/*/repositories/*" + - "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + - "gle.devtools.artifactregistry.v1beta2.Ge" + - "tPackageRequest\0321.google.devtools.artifa" + - "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + - "eta2/{name=projects/*/locations/*/reposi" + - "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + - "ckage\022>.google.devtools.artifactregistry" + - ".v1beta2.DeletePackageRequest\032\035.google.l" + - "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + - "{name=projects/*/locations/*/repositorie" + - "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + - "uf.Empty\022:google.devtools.artifactregist" + - "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + - "sions\022=.google.devtools.artifactregistry" + - ".v1beta2.ListVersionsRequest\032>.google.de" + - "vtools.artifactregistry.v1beta2.ListVers" + - "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + - "rojects/*/locations/*/repositories/*/pac" + - "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + - "n\022;.google.devtools.artifactregistry.v1b" + - "eta2.GetVersionRequest\0321.google.devtools" + - ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + - "M\022K/v1beta2/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + - "s.artifactregistry.v1beta2.DeleteVersion" + - "Request\032\035.google.longrunning.Operation\"\260" + - "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + - "ions/*/repositories/*/packages/*/version" + - "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + - "oogle.devtools.artifactregistry.v1beta2." + - "OperationMetadata\022\324\001\n\tListFiles\022:.google" + - ".devtools.artifactregistry.v1beta2.ListF" + - "ilesRequest\032;.google.devtools.artifactre" + - "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + - "\022=/v1beta2/{parent=projects/*/locations/" + - "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + - "File\0228.google.devtools.artifactregistry." + - "v1beta2.GetFileRequest\032..google.devtools" + - ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + - "/v1beta2/{name=projects/*/locations/*/re" + - "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + - "gs\0229.google.devtools.artifactregistry.v1" + - "beta2.ListTagsRequest\032:.google.devtools." + - "artifactregistry.v1beta2.ListTagsRespons" + - "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + - "ocations/*/repositories/*/packages/*}/ta" + - "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + - ".artifactregistry.v1beta2.GetTagRequest\032" + - "-.google.devtools.artifactregistry.v1bet" + - "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + - "vtools.artifactregistry.v1beta2.CreateTa" + - "gRequest\032-.google.devtools.artifactregis" + - "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + - "t=projects/*/locations/*/repositories/*/" + - "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + - "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + - "ctregistry.v1beta2.UpdateTagRequest\032-.go" + - "ogle.devtools.artifactregistry.v1beta2.T" + - "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + - "eTag\022:.google.devtools.artifactregistry." + - "v1beta2.DeleteTagRequest\032\026.google.protob" + - "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + - "s/*/locations/*/repositories/*/packages/" + - "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + - "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + - "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + - "=projects/*/locations/*/repositories/*}:" + - "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + - "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + - "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + - "projects/*/locations/*/repositories/*}:g" + - "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + - "gle.iam.v1.TestIamPermissionsRequest\032).g" + - "oogle.iam.v1.TestIamPermissionsResponse\"" + - "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + - "ocations/*/repositories/*}:testIamPermis" + - "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + - ".devtools.artifactregistry.v1beta2.GetPr" + - "ojectSettingsRequest\0329.google.devtools.a" + - "rtifactregistry.v1beta2.ProjectSettings\"" + - "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + - "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + - "ings\022F.google.devtools.artifactregistry." + - "v1beta2.UpdateProjectSettingsRequest\0329.g" + - "oogle.devtools.artifactregistry.v1beta2." + - "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + - "ct_settings.name=projects/*/projectSetti" + - "ngs}:\020project_settings\332A\034project_setting" + - "s,update_mask\032\214\001\312A\037artifactregistry.goog" + - "leapis.com\322Aghttps://www.googleapis.com/" + - "auth/cloud-platform,https://www.googleap" + - "is.com/auth/cloud-platform.read-onlyB\223\002\n" + - ",com.google.devtools.artifactregistry.v1" + - "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + - "/genproto/googleapis/devtools/artifactre" + - "gistry/v1beta2;artifactregistry\252\002%Google" + - ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + - "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + - "::Cloud::ArtifactRegistry::V1beta2b\006prot" + - "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index e3b740d3..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,112 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" + - "a2/settings.proto\022(google.devtools.artif" + - "actregistry.v1beta2\032\034google/api/annotati" + - "ons.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + - "state\030\002 \001(\0162J.google.devtools.artifactre" + - "gistry.v1beta2.ProjectSettings.Redirecti" + - "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + - "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + - "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + - "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + - "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + - ".googleapis.com/ProjectSettings\022\"project" + - "s/{project}/projectSettings\"b\n\031GetProjec" + - "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + - "artifactregistry.googleapis.com/ProjectS" + - "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + - "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + - "ools.artifactregistry.v1beta2.ProjectSet" + - "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + - "rtifactregistry.v1beta2B\rSettingsProtoP\001" + - "ZXgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1beta2;artifa" + - "ctregistry\252\002%Google.Cloud.ArtifactRegist" + - "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + - "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + - "stry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 392fa000..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,151 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" + - "a2/tag.proto\022(google.devtools.artifactre" + - "gistry.v1beta2\032\034google/api/annotations.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + - "ags\030\001 \003(\0132-.google.devtools.artifactregi" + - "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + - "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + - "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + - " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + - "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + - "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\010Ta" + - "gProtoP\001ZXgoogle.golang.org/genproto/goo" + - "gleapis/devtools/artifactregistry/v1beta" + - "2;artifactregistry\252\002%Google.Cloud.Artifa" + - "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + - "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + - "factRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index cd58bc89..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,145 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/version.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\0322google/dev" + - "tools/artifactregistry/v1beta2/tag.proto" + - "\032\034google/protobuf/struct.proto\032\037google/p" + - "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" + - "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." + - "devtools.artifactregistry.v1beta2.Tag\022.\n" + - "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" + - "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" + - "s.com/Version\022gprojects/{project}/locati" + - "ons/{location}/repositories/{repository}" + - "/packages/{package}/versions/{version}\"\250" + - "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" + - "\004view\030\004 \001(\01625.google.devtools.artifactre" + - "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" + - " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" + - "sions\030\001 \003(\01321.google.devtools.artifactre" + - "gistry.v1beta2.Version\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" + - "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" + - "actregistry.v1beta2.VersionView\"3\n\024Delet" + - "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" + - " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" + - "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" + - "oogle.devtools.artifactregistry.v1beta2B" + - "\014VersionProtoP\001ZXgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1beta2;artifactregistry\252\002%Google.Cloud" + - ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" + - "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" + - "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5e402911..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,155 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/yum_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.YumArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + - "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + - "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + - "factregistry.googleapis.com/YumArtifact\022" + - "]projects/{project}/locations/{location}" + - "/repositories/{repository}/yumArtifacts/" + - "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + - "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + - "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + - "source\030\002 \001(\0132E.google.devtools.artifactr" + - "egistry.v1beta2.ImportYumArtifactsGcsSou" + - "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + - "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + - "\001(\0132E.google.devtools.artifactregistry.v" + - "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + - "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + - "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + - "artifacts\030\001 \003(\01325.google.devtools.artifa" + - "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + - "\030\002 \003(\0132E.google.devtools.artifactregistr" + - "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + - "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\020Yu" + - "mArtifactProtoP\001ZXgoogle.golang.org/genp" + - "roto/googleapis/devtools/artifactregistr" + - "y/v1beta2;artifactregistry\252\002%Google.Clou" + - "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + - "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + - "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 448922b7..7117c539 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +617,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +629,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +639,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.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = + (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +682,103 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +787,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -736,16 +811,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +839,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +860,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +876,39 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +916,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +959,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +972,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +994,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1016,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1078,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1100,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1122,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1184,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1288,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1310,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1332,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1394,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1416,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1438,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1500,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1515,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1421,16 +1578,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1602,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index ccbfbfba..24f2f3e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..fe9a09c5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..9fd5ca98 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { + "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { + "DockerImages", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 73cce54c..28dde700 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +376,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -452,16 +504,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +530,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -500,7 +552,8 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +569,50 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +643,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +657,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +681,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +705,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +773,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +795,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +817,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +879,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +940,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +960,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +972,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +986,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1006,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,11 +1015,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
@@ -918,11 +1032,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1047,24 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1074,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1111,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index cc064ca5..9816339e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index bbdbbb62..31cca5ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,11 +253,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ @java.lang.Override @@ -232,6 +268,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +282,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +294,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_); } @@ -282,8 +320,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +330,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +369,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -452,16 +497,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -500,7 +544,8 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +561,39 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +633,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +646,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +668,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +690,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +752,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +774,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +796,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +858,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,14 +919,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -856,6 +938,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +950,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +964,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +984,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +993,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1010,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1025,24 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -968,16 +1066,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index ffc90b5d..491f3b74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index a84494eb..8f10f939 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +485,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +507,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +529,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +600,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -566,16 +615,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index 8ad16aca..e347b777 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder extends +public interface DeletePackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index e9c9f3e3..29138c37 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +515,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +539,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +616,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..d2bbba3c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 492ecb7a..0f4b7556 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..ea110ac1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index bb45536b..74d8170f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,125 +253,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -355,16 +388,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +408,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +430,8 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,38 +442,39 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +482,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +511,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +524,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +546,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +568,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +646,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,12 +694,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -651,16 +709,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index a845238c..fbc7fd65 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index e11da581..cc31dfd0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -33,16 +51,15 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,71 +79,79 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uri_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tags_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            tags_.add(s);
-            break;
-          }
-          case 32: {
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            imageSizeBytes_ = input.readInt64();
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (uploadTime_ != null) {
-              subBuilder = uploadTime_.toBuilder();
+              uri_ = s;
+              break;
             }
-            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(uploadTime_);
-              uploadTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              tags_.add(s);
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            mediaType_ = s;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (buildTime_ != null) {
-              subBuilder = buildTime_.toBuilder();
+          case 32:
+            {
+              imageSizeBytes_ = input.readInt64();
+              break;
             }
-            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(buildTime_);
-              buildTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (uploadTime_ != null) {
+                subBuilder = uploadTime_.toBuilder();
+              }
+              uploadTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(uploadTime_);
+                uploadTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              mediaType_ = s;
+              break;
+            }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (buildTime_ != null) {
+                subBuilder = buildTime_.toBuilder();
+              }
+              buildTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(buildTime_);
+                buildTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -134,8 +159,7 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -144,22 +168,27 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class,
+            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -174,6 +203,7 @@ private DockerImage(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -182,14 +212,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; } } /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -204,16 +235,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -224,6 +254,8 @@ public java.lang.String getName() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -231,6 +263,7 @@ public java.lang.String getName() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -239,14 +272,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -254,16 +288,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -274,34 +307,42 @@ public java.lang.String getUri() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -309,22 +350,26 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -332,6 +377,7 @@ public java.lang.String getTags(int index) {
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -342,11 +388,14 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -354,11 +403,14 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ @java.lang.Override @@ -366,6 +418,8 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** + * + * *
    * Time the image was uploaded.
    * 
@@ -380,6 +434,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -388,6 +444,7 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; + * * @return The mediaType. */ @java.lang.Override @@ -396,14 +453,15 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -412,16 +470,15 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -432,6 +489,8 @@ public java.lang.String getMediaType() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -441,6 +500,7 @@ public java.lang.String getMediaType() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -448,6 +508,8 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -457,6 +519,7 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ @java.lang.Override @@ -464,6 +527,8 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -480,6 +545,7 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -491,8 +557,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_);
     }
@@ -538,19 +603,16 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -560,32 +622,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other =
+        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getUri()
-        .equals(other.getUri())) return false;
-    if (!getTagsList()
-        .equals(other.getTagsList())) return false;
-    if (getImageSizeBytes()
-        != other.getImageSizeBytes()) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getUri().equals(other.getUri())) return false;
+    if (!getTagsList().equals(other.getTagsList())) return false;
+    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime()
-          .equals(other.getUploadTime())) return false;
+      if (!getUploadTime().equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType()
-        .equals(other.getMediaType())) return false;
+    if (!getMediaType().equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime()
-          .equals(other.getBuildTime())) return false;
+      if (!getBuildTime().equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -607,8 +663,7 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -625,96 +680,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -726,21 +788,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class,
+              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -748,16 +812,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -787,9 +850,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -808,7 +871,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result =
+          new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -837,38 +901,39 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,7 +941,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -927,7 +993,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -936,10 +1003,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -954,13 +1024,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -969,6 +1039,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -983,15 +1055,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -999,6 +1070,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1013,20 +1086,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1041,15 +1116,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1064,16 +1142,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,6 +1159,8 @@ public Builder setNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1088,13 +1168,13 @@ public Builder setNameBytes(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1103,6 +1183,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1110,15 +1192,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1126,6 +1207,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1133,20 +1216,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1154,15 +1239,18 @@ public Builder setUri(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1170,57 +1258,67 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1228,80 +1326,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -1311,28 +1419,32 @@ public Builder clearTags() { return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_ ; + private long imageSizeBytes_; /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1340,6 +1452,7 @@ public Builder addTagsBytes(
      * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -1347,6 +1460,8 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1354,16 +1469,19 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; + * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1371,10 +1489,11 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; + * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1382,34 +1501,47 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + uploadTimeBuilder_; /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1430,14 +1562,15 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1448,6 +1581,8 @@ public Builder setUploadTime( return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1458,7 +1593,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1470,6 +1605,8 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1488,6 +1625,8 @@ public Builder clearUploadTime() { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1495,11 +1634,13 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1510,11 +1651,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1522,14 +1666,17 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), - getParentForChildren(), - isClean()); + uploadTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), getParentForChildren(), isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1537,6 +1684,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1545,13 +1694,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; + * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1560,6 +1709,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1568,15 +1719,14 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1584,6 +1734,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1592,20 +1744,22 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType( - java.lang.String value) { + public Builder setMediaType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1614,15 +1768,18 @@ public Builder setMediaType(
      * 
* * string media_type = 6; + * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1631,16 +1788,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; + * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1648,8 +1805,13 @@ public Builder setMediaTypeBytes( private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + buildTimeBuilder_; /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1659,12 +1821,15 @@ public Builder setMediaTypeBytes(
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1674,6 +1839,7 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1684,6 +1850,8 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1708,6 +1876,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1718,8 +1888,7 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1730,6 +1899,8 @@ public Builder setBuildTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1744,7 +1915,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1756,6 +1927,8 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1778,6 +1951,8 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1789,11 +1964,13 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-      
+
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1808,11 +1985,12 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1824,21 +2002,24 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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>
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(),
-                getParentForChildren(),
-                isClean());
+        buildTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(), getParentForChildren(), isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
+
     @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);
     }
 
@@ -1848,12 +2029,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -1862,16 +2043,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DockerImage parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new DockerImage(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DockerImage parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new DockerImage(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1886,6 +2067,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 320f9fe3..23262b8c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder extends
+public interface DockerImageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -22,10 +40,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,12 +61,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -53,10 +76,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -64,53 +90,65 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -118,29 +156,38 @@ public interface DockerImageOrBuilder extends
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
@@ -150,6 +197,8 @@ public interface DockerImageOrBuilder extends com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -158,10 +207,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The mediaType. */ java.lang.String getMediaType(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -170,12 +222,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString - getMediaTypeBytes(); + com.google.protobuf.ByteString getMediaTypeBytes(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -185,10 +239,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -198,10 +255,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index 6c52e7ff..ce45d8df 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,73 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +147,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +156,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +184,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +193,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +209,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 { @@ -198,11 +228,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +246,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +259,8 @@ public java.util.List getHashesLis return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +268,13 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +286,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +299,8 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +308,21 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +330,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +345,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +361,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +376,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +391,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +407,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +423,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +454,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +466,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_); } @@ -437,20 +498,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +520,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = + (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +554,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -523,118 +574,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -642,17 +702,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -705,7 +765,8 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = + new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +798,39 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); } else { super.mergeFrom(other); return this; @@ -802,9 +864,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -848,10 +911,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +925,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +940,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +949,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 { @@ -897,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +973,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +996,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1015,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1047,60 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1115,8 @@ public java.util.List getHashesLis } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1131,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1147,15 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1169,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1189,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1211,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,14 +1233,15 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1152,6 +1252,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1272,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1284,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1292,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1311,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,39 +1330,44 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1375,8 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1384,48 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1433,47 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1494,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1513,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1525,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1537,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1557,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1566,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1583,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1598,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1616,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1677,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1696,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1708,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1720,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1740,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1749,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1766,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1781,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1799,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1821,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1843,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1914,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1742,16 +1928,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 647b4921..1fcb148d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..0a01aeb9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,146 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "OrderBy", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index 6adf4d6d..f871a896 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = + new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -566,16 +630,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..646394c6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index ecee545f..3f8a0fad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = + (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = + new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..0499ed5e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index 10915d11..dedb9b29 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 4875af8f..76ccce9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder extends +public interface GetPackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 020c6eea..3627d4ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..0652626c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 048b50e2..583d7cc7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +513,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +537,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +614,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -566,16 +629,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..5a1488a1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index b8001a05..7b8ad00d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = + (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = + new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..aa348921 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index 87991098..acecfccc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -408,7 +455,8 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +467,39 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +535,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +548,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +570,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +592,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +654,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +722,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -690,16 +770,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,6 +794,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index da00f2d4..e84fc09e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index 1c03545a..c47f21a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +279,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +333,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +345,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +363,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +379,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = + (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,118 +409,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -480,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -522,7 +578,8 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = + new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +590,39 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); } else { super.mergeFrom(other); return this; @@ -610,51 +668,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +736,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +761,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +776,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -753,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index d8e3f7f4..be94835f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index bb7e4513..9c9acac2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 01ea3691..421580d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 7ae60022..98066536 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index 5fc859fc..af98cad2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 4ca45085..7d39fbec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fffbb74 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 8259205d..559cb1cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index f70fc673..7d91344c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 2dc5cfd3..6f0a6f0a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +125,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getAp return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getAp } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index 7c5e3ba3..da3615ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 6cdd7e6a..8a621732 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index 845066fd..f04be65c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index d6815dc2..85d8b6ca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index a4a49e76..0771527b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 1833db60..14ed5254 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9cbb42e5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index b2984499..82bcbf4b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 38d3e8bd..2f447836 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index 8a51de85..c3ec50ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +125,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getYu return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getYu } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index e42fa5ab..50fe871f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index d180c24c..5102e43d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -460,7 +497,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +510,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +584,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +598,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +620,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +642,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +719,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +756,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +778,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +800,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +871,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +908,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 5ba1a827..30b4accd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder extends +public interface ListDockerImagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index 4ab80e6e..ac237ea9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dockerImages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.DockerImage.parser(), + extensionRegistry)); + break; } - dockerImages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -94,22 +115,27 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** + * + * *
    * The docker images returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getDo return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -144,6 +174,8 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** + * + * *
    * The docker images returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** + * + * *
    * The docker images returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList() - .equals(other.getDockerImagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -411,17 +456,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) { getDockerImagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) + return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImage dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDockerImagesFieldBuilder() : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDockerImagesFieldBuilder() + : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(dockerImages_); + dockerImages_ = + new java.util.ArrayList( + dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + dockerImagesBuilder_; /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List getDockerImagesList() { + public java.util.List + getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -605,6 +669,8 @@ public java.util.List getDo } } /** + * + * *
      * The docker images returned.
      * 
@@ -619,6 +685,8 @@ public int getDockerImagesCount() { } } /** + * + * *
      * The docker images returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** + * + * *
      * The docker images returned.
      * 
@@ -654,6 +724,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -672,6 +744,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -692,6 +766,8 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -713,6 +789,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -731,6 +809,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -749,6 +829,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearDockerImages() { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeDockerImages(int index) { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The docker images returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); } else { + return dockerImages_.get(index); + } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** + * + * *
      * The docker images returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dockerImagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index c2023b9e..e0d919e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder extends +public interface ListDockerImagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List - getDockerImagesList(); + java.util.List getDockerImagesList(); /** + * + * *
    * The docker images returned.
    * 
@@ -25,6 +44,8 @@ public interface ListDockerImagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** + * + * *
    * The docker images returned.
    * 
@@ -33,43 +54,51 @@ public interface ListDockerImagesResponseOrBuilder extends */ int getDockerImagesCount(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 3d55fa27..411fed6c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -28,16 +46,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -136,30 +162,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +196,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -183,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -191,14 +220,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -212,16 +242,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 { @@ -232,11 +261,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -247,11 +279,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -260,29 +295,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -293,11 +328,14 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -306,29 +344,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; } } /** + * + * *
    * The field to order the results by.
    * 
* * 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 { @@ -337,6 +375,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -378,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -398,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -442,117 +475,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -560,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -608,7 +650,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -622,38 +665,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -661,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -700,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -712,19 +758,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -733,21 +781,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -755,57 +804,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -826,13 +884,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -841,6 +899,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -854,15 +914,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 { @@ -870,6 +929,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -883,20 +944,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -910,15 +973,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -932,28 +998,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -961,30 +1030,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -992,18 +1067,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1012,20 +1089,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1033,54 +1111,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1088,18 +1173,20 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The field to order the results by.
      * 
* * 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; @@ -1108,20 +1195,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * 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 { @@ -1129,61 +1217,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1193,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1207,16 +1302,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index 1c397163..b5e92315 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,58 +86,71 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index 9ec076ca..e084224a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +113,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getFilesList return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +172,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -411,17 +453,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getFilesList } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +675,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +733,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +755,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +816,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index c336fc53..1233e9a3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index a0f89423..71e6ae6d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -460,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,38 +509,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; @@ -511,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +594,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +616,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +638,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +715,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +752,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +774,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +796,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -812,16 +881,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,6 +905,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index 060f2b1f..d503daf4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index 3a627415..de6c46c8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +114,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getPackag return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +173,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -411,17 +454,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) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getPackag } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +679,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +737,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,14 +759,15 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +801,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +821,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,17 +879,20 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** + * + * *
      * The packages returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( - int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { + return getPackagesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index c8f36957..b1ee1f50 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index f1d9d7e9..82160ab1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +329,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -416,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -460,7 +501,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +514,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +588,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +602,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +626,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +650,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +733,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +770,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +792,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +814,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +885,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index fde383a0..90b52eae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 1eb77068..803da10f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +115,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getRep return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +174,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) + return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositorie repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +669,8 @@ public java.util.List getRep } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +685,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +724,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -672,6 +744,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +766,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +789,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +809,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -749,6 +829,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** + * + * *
      * The repositories returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index ac72a01a..1654957b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,43 +54,51 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 86938b7a..968a6cf3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -535,7 +574,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +588,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +664,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +677,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +699,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +721,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +783,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +795,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +810,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +822,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 { @@ -781,6 +837,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +849,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +875,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +897,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +929,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +966,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +988,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1010,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1013,16 +1095,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 338c640b..0bf5fee0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index c34a1b83..f93eed7a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +113,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTagsList() return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +172,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -411,17 +453,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getTagsList() } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +675,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +733,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +755,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +816,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 53f7130a..8a0a118f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index 7e27c2e6..b73c0779 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -571,7 +625,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,38 +640,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -624,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +732,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +754,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +776,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +853,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +890,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +912,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +934,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +996,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1064,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1089,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1111,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1133,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1102,16 +1218,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,6 +1242,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index 039f3d9b..bbed7b15 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 7ef4d76b..1acb4394 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +114,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getVersio return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +173,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -411,17 +454,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) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getVersio } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +679,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +737,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,14 +759,15 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +801,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +821,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,17 +879,20 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** + * + * *
      * The versions returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( - int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { + return getVersionsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index d7fd7ec0..610ee3e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index d94e616c..6737d59a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = + (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = + new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -400,16 +432,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..0dec3987 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index b8110e19..1736129a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,29 +129,33 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -136,6 +163,7 @@ private Package(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -144,14 +172,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -159,16 +188,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 { @@ -179,11 +207,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -192,29 +223,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -225,11 +256,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -237,11 +271,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -249,6 +286,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -263,12 +302,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -276,12 +318,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -289,6 +334,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -302,6 +349,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +361,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_);
     }
@@ -343,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -358,26 +403,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.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other =
+        (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -407,118 +449,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -526,16 +577,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +609,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -580,7 +630,8 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = + new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -601,38 +652,39 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); } else { super.mergeFrom(other); return this; @@ -640,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -686,6 +739,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -693,13 +748,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -708,6 +763,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -715,15 +772,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 { @@ -731,6 +787,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -738,20 +796,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -759,15 +819,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -775,16 +838,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -792,18 +855,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -812,20 +877,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -833,54 +899,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -888,34 +961,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -936,14 +1022,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -954,6 +1041,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -964,7 +1053,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -976,6 +1065,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,6 +1085,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -1001,11 +1094,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1016,11 +1111,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1028,14 +1126,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1043,36 +1144,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,6 +1208,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1101,8 +1217,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1113,6 +1228,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1124,7 +1241,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1136,6 +1253,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1155,6 +1274,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1163,11 +1284,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1179,11 +1302,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1192,21 +1318,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1216,12 +1345,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1230,16 +1359,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1383,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 94ad9830..23149f99 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -15,10 +33,13 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -26,50 +47,63 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -79,26 +113,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..a8c0a10a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,141 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa"
+          + "ckage.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032\037google/pro"
+          + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam"
+          + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_"
+          + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/"
+          + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti"
+          + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent"
+          + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
+          + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa"
+          + "ckages\030\001 \003(\0132,.google.devtools.artifactr"
+          + "egistry.v1.Package\022\027\n\017next_page_token\030\002 "
+          + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003"
+          + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001("
+          + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr"
+          + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan"
+          + "g.org/genproto/googleapis/devtools/artif"
+          + "actregistry/v1;artifactregistry\252\002 Google"
+          + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou"
+          + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A"
+          + "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 4f9ae440..3be659f8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = + (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -578,7 +654,8 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = + new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +666,39 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +706,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +734,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +747,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +758,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +773,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +784,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 { @@ -716,6 +799,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +810,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +835,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +856,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +873,112 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -880,16 +1002,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1026,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index 0eb8aa35..fba88646 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2a08d6b3..2b2685c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,51 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +860,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +880,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +896,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +919,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +927,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,6 +1031,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -891,38 +1041,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using
+      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -934,19 +1088,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -954,8 +1111,10 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -966,46 +1125,54 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
+        if (other
+            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom(
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other
+            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+                .getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1027,11 +1194,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1041,14 +1211,17 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_ ;
+      private boolean allowSnapshotOverwrites_;
       /**
+       *
+       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1229,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1268,113 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1387,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1425,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1457,36 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1494,61 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1557,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1591,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1645,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1676,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1701,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1713,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1740,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1757,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1778,11 @@ public 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();
     }
@@ -1535,11 +1792,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1807,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1822,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1838,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1853,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1868,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1884,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1894,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1903,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1920,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1937,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1949,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1973,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +1989,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2031,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = + (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2105,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -1973,16 +2252,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2312,8 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = + new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2347,39 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2387,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2400,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2412,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2441,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2451,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2469,21 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2491,49 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2547,19 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2570,29 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2608,15 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Reposito return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2635,101 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2738,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2761,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2826,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2894,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2919,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2941,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2963,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3049,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3061,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3088,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3105,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3127,11 @@ public 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();
       }
@@ -2757,11 +3139,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3155,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3180,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3204,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3272,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3291,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3303,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3315,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3335,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3344,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3361,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3376,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3394,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3455,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3474,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3486,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3498,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3518,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3527,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3544,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3559,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3577,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3587,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3602,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3612,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3627,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3637,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3661,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3681,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3276,16 +3721,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3745,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 2924cb46..7d3073f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,104 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +157,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +169,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +186,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +202,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +219,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +257,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +292,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +302,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +317,10 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..d0e9bb14 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..c1ef77d8 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,278 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..99a5156a --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 2fdced91..685934c5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class,
+            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = + (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class,
+              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result =
+          new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,6 +569,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +580,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +606,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 { @@ -582,6 +621,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +632,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +657,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +678,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +695,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +705,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +720,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +730,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +745,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +755,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +779,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +799,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -783,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index b4c2b5af..5051621c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..98a7bb62 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 68968ca2..942b8253 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +180,22 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +203,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +232,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +244,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +261,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +274,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +315,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +473,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -443,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +516,51 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -527,7 +586,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +600,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +662,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.Projec return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +682,22 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +709,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.Proj return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +729,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +772,17 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +790,47 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +851,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +870,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +882,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +894,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +914,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +923,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +940,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +955,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +982,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1019,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 4b6628d6..21bc4289 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
@@ -35,24 +59,32 @@ public interface UpdateProjectSettingsRequestOrBuilder extends com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 04973de1..5076bc12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -399,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -449,7 +498,8 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +518,50 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) + return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +587,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +601,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +662,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +682,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +694,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +708,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +728,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,11 +737,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -673,11 +754,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +769,17 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +787,13 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +801,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +817,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +854,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +864,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +875,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +889,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +901,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +923,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +934,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +953,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +970,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +997,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1034,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 2c406dff..3fd08ad0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 578f5f70..067c0f7b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,11 +153,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ @java.lang.Override @@ -139,6 +168,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +184,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +193,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +201,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +210,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +246,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +263,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +276,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +317,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -399,16 +445,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -449,7 +494,8 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +514,39 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +594,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,14 +655,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -611,6 +674,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +686,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +700,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +720,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +729,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +746,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +761,17 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +779,13 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +793,15 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +809,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +846,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +856,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +867,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +881,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +893,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +915,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +926,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +945,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +962,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +989,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -896,16 +1003,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 11c3721e..08f6fdb8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index f20b3e2a..75a5b997 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,83 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +159,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +168,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class,
+            com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +197,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +206,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +223,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 { @@ -210,11 +242,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +258,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +291,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +306,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +321,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +337,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +352,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +367,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +383,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +397,8 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +407,13 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +426,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +440,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -389,14 +450,15 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +467,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +475,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +485,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +493,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +510,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +522,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_);
     }
@@ -489,20 +557,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +576,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other =
+        (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -576,97 +635,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +741,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class,
+              com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -697,17 +765,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +811,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +832,8 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result =
+          new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +869,39 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +909,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +943,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -911,10 +983,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +998,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1013,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1023,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 { @@ -962,6 +1038,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1048,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1072,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1092,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1109,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1131,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1153,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1215,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1276,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1295,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1307,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1319,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1339,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1348,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1365,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1380,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1398,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1459,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1478,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1490,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1502,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1522,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1531,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1548,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1563,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1614,8 @@ public java.util.List getRelatedTag
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1631,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1648,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1495,8 +1657,7 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1510,6 +1671,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1692,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1715,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1557,8 +1724,7 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1572,6 +1738,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1759,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1780,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1793,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1801,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1821,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1841,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1673,11 +1850,12 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1685,14 +1863,16 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1880,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1889,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1899,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1728,12 +1912,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
-        int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1926,23 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1.Tag,
+            com.google.devtools.artifactregistry.v1.Tag.Builder,
+            com.google.devtools.artifactregistry.v1.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1.Tag,
+                com.google.devtools.artifactregistry.v1.Tag.Builder,
+                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1950,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1964,17 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1982,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +1995,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2004,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2021,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2030,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2044,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2053,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2072,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2081,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2096,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2105,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2123,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2143,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -1967,16 +2188,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2212,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index c340f728..ec27cb32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..a4451c3a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,160 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve"
+          + "rsion.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032-google/dev"
+          + "tools/artifactregistry/v1/tag.proto\032\034goo"
+          + "gle/protobuf/struct.proto\032\037google/protob"
+          + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001"
+          + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time"
+          + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up"
+          + "date_time\030\006 \001(\0132\032.google.protobuf.Timest"
+          + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto"
+          + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030"
+          + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A"
+          + "\222\001\n\'artifactregistry.googleapis.com/Vers"
+          + "ion\022gprojects/{project}/locations/{locat"
+          + "ion}/repositories/{repository}/packages/"
+          + "{package}/versions/{version}\"\243\001\n\023ListVer"
+          + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz"
+          + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001("
+          + "\01620.google.devtools.artifactregistry.v1."
+          + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li"
+          + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio"
+          + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001"
+          + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE"
+          + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F"
+          + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre"
+          + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang"
+          + ".org/genproto/googleapis/devtools/artifa"
+          + "ctregistry/v1;artifactregistry\252\002 Google."
+          + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud"
+          + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar"
+          + "tifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index 95df7c74..c210c72e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index 6b5bbc99..d66ad118 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +528,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +544,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = + (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +581,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -637,16 +708,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +753,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = + new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +767,39 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +843,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +856,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +878,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +900,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +962,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +984,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1006,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1068,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1172,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1194,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1216,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1167,16 +1301,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1325,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index 856803b3..a9ba7500 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..faf5e918 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index e93240c0..3a443e11 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +618,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +631,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +641,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.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = + (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +684,104 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +790,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -736,16 +814,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +842,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +863,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +879,39 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +919,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +962,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +975,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +997,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1019,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1081,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1103,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1125,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1187,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1292,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1314,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1336,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1398,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1420,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1442,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1504,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1519,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1568,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1421,16 +1582,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index 7b69ee0c..a2e2ce07 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..f7549075 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,175 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 5eeab420..6f9907ad 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +532,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -500,7 +555,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +572,51 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +647,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +661,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +685,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +709,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +777,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +799,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +821,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +883,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +944,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +964,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +976,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +990,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1010,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,26 +1019,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1052,24 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1079,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1116,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index d37c1ca1..ab7b42c5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index a7c5ac4d..6368405b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,18 +253,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +284,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +296,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_); } @@ -282,8 +322,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +332,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +371,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -452,16 +499,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +525,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -500,7 +547,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +564,39 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +604,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +637,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +651,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +673,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +695,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +757,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +779,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +801,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +863,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,6 +924,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -856,6 +944,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +956,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +970,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +990,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +999,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1016,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1031,24 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1058,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -968,16 +1073,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index ed0dccb9..e1d4607a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 5a0dd439..798482af 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +227,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +375,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +397,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +408,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +475,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to delete.
      * 
* * 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; @@ -467,20 +511,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * 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 { @@ -488,61 +533,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +604,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +641,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..d133ca1d --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 3c964b02..4f00f9d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -362,7 +402,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +519,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +543,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +620,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..e954d602 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index ee36923c..3b450a74 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +601,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -566,16 +616,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..4e7fb61f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index bcba882b..21e0714d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,142 +253,152 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +432,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,46 +444,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +514,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +528,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +550,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +572,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +650,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,30 +698,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,9 +735,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index ddd7183c..fd9ab4b4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index deb68c74..19f64d27 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,75 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Hash.parser(), + extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +149,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +158,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +186,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +195,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +211,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 { @@ -198,11 +230,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +248,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +261,8 @@ public java.util.List getHash return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +270,13 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +288,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +301,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +310,21 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +332,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +347,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +363,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +378,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +393,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +409,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +425,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +456,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +468,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_); } @@ -437,20 +500,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +522,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = + (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +556,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -524,117 +577,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -642,17 +704,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +746,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -705,7 +767,8 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = + new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +800,39 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); } else { super.mergeFrom(other); return this; @@ -776,7 +840,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -802,9 +867,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -839,7 +905,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -848,10 +915,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +929,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +944,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +953,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 { @@ -897,6 +968,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +977,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +1000,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1019,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1051,61 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(hashes_); + hashes_ = + new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1120,8 @@ public java.util.List getHash } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1136,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1152,15 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1174,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1194,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1216,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,6 +1238,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1152,6 +1258,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1278,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1290,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1298,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1317,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,17 +1336,20 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1243,19 +1359,22 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1382,8 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1391,49 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1441,47 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1502,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1521,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1533,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1545,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1565,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1574,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1591,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1606,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1624,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1685,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1704,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1716,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1728,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1748,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1757,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1774,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1789,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1807,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1829,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1851,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1922,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1742,16 +1936,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1960,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 2e62a87b..6fc1602c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..8d60b37f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index ffea4ef0..40e5c38d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..63162f9e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 43d6340d..3dd93b09 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +601,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +638,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..79b06fba --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 417bc48f..0d6fbab2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -362,7 +403,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +496,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +520,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +544,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..7c22b893 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index cc80cc1e..83e7a0f8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..c70d1027 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index 6c60c285..c4aa4f3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..66b07dde --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 3855cba7..231f4729 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,13 +434,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -408,7 +456,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +468,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +508,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +537,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +551,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +573,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +595,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +657,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +725,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,30 +759,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,9 +796,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index d1805c3b..991586f3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index b4fae80f..9607e51d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,51 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() + .getEnumTypes() + .get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +281,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +335,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +347,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +365,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +381,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = + (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -362,117 +412,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -480,16 +539,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -522,7 +580,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = + new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +592,39 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); } else { super.mergeFrom(other); return this; @@ -572,7 +632,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -598,7 +659,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,51 +672,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +740,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +765,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +780,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -753,16 +843,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index c6b768e2..9d78385d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index c0d03b94..04d5baf3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 70dcd816..527043cc 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 5a2e2a7f..6fff5d5d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 182a79d5..3f05b9eb 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index d8258e0f..946c4375 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..928564d6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 6c9cd42b..2b0078e5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 89605ee4..4a4b7721 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index c1fbf2d9..6a012515 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +127,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportAptArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -710,14 +820,18 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -769,11 +889,14 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAllAptArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder + getAptArtifactsOrBuilder(int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder + addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 5ddcd053..2e5dee92 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 36b62705..8ed9ed4b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index 97ab4125..e9835bbe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 5cfb0ca7..6167e033 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index 3f093feb..e113a0a5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index 27468485..cf222560 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..e9d9fe0f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index c0b1b67b..b66c8aef 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 3becef22..195badb7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index db94a329..c3da7687 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +127,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportYumArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -710,14 +820,18 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -769,11 +889,14 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addAllYumArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder + getYumArtifactsOrBuilder(int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder + addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 1a00b12c..2bd2c9e0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 64d4e0fa..9dfbe84c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,30 +154,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @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 { @@ -163,6 +188,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -176,6 +203,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,14 +212,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -205,16 +234,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 { @@ -225,11 +253,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -240,11 +271,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -253,29 +287,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -284,6 +318,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,8 +356,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_); @@ -339,21 +372,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -379,117 +409,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -497,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,13 +561,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -543,7 +583,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -556,38 +597,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -630,7 +674,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,19 +688,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -663,21 +711,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -685,57 +734,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -743,6 +799,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -756,13 +814,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -771,6 +829,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -784,15 +844,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 { @@ -800,6 +859,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -813,20 +874,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -840,15 +903,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -862,28 +928,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -891,30 +960,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -922,18 +997,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -942,20 +1019,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -963,61 +1041,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +1112,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1041,16 +1127,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,6 +1151,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index cee62b03..6f9f9767 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,38 +86,46 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index fe6a1c0f..3c6f7a82 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.File.parser(), + extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +115,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getFile return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +174,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +196,22 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -411,17 +455,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +481,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -458,7 +503,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +585,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +617,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +628,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +664,8 @@ public java.util.List getFile } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +680,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +696,15 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +718,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +738,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +760,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +782,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -731,6 +802,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +822,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +834,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +861,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +880,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +934,49 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +984,21 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1007,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1030,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1141,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 1923defe..4631c3b8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index f95a285a..5594f7fa 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -154,12 +178,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -170,11 +197,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,29 +213,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -214,6 +244,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +256,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_); } @@ -249,8 +279,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_); @@ -263,19 +292,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.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -417,16 +454,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -461,7 +498,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -473,46 +511,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -543,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,18 +599,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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; @@ -575,20 +621,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -596,67 +643,77 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,32 +721,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,18 +760,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -717,20 +782,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -738,61 +804,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,30 +875,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,9 +912,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index f687007f..1eb63b7c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,60 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index 0d1ba786..c08e1c3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Package.parser(), + extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +115,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getP return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +174,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackag packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList( + packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getP } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +686,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** + * + * *
      * The packages returned.
      * 
@@ -654,6 +725,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +745,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,6 +767,8 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** + * + * *
      * The packages returned.
      * 
@@ -713,6 +790,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +810,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +830,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,6 +888,8 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** + * + * *
      * The packages returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 6cf4a9c8..0064727e 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index ddf035ff..a893add6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,134 +329,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +481,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance(); } @java.lang.Override @@ -460,7 +504,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +517,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +606,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +630,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +654,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +737,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +774,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +796,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +818,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +889,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +926,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index a32408c1..ec5a0872 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index f5b7cb40..d08c8a9d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.Repository>(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +116,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -117,10 +144,13 @@ private ListRepositoriesResponse( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +158,13 @@ public java.util.List g * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +176,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +189,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +206,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +223,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +297,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.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +330,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +486,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +509,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +530,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +593,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListReposi repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +625,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +636,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +675,8 @@ public java.util.List g } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +691,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +707,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +730,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -661,7 +739,8 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -672,6 +751,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +773,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +796,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +816,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -738,7 +825,8 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -749,6 +837,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -756,11 +846,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +858,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +877,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +896,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,28 +909,34 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,17 +944,22 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder + addRepositoriesBuilder() { + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +968,36 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +1005,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1028,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1051,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1125,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1162,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 1fc05520..93b11eea 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,15 +54,19 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
@@ -52,24 +77,29 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d1bbfedb..d80c37d7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,13 +553,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -535,7 +575,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +589,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +629,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +666,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +679,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +701,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +723,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +785,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +797,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +812,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +824,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 { @@ -781,6 +839,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +851,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +877,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +899,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +931,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +968,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +990,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1012,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1083,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1013,16 +1098,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index c77afd7e..7748ba51 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index e80a6480..a9ed7183 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), + extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +114,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getTagsL return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +173,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -411,17 +454,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getTagsL } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +679,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +737,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +759,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -731,6 +801,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +821,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +879,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +924,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +933,48 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +982,21 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1005,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1028,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1102,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1016,16 +1117,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index fa38f042..1b93bf53 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index 059a89b1..ae29fb6b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,13 +604,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -571,7 +626,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,46 +641,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +722,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +736,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +758,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +780,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +857,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +894,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +916,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +938,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +1000,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1068,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1093,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1115,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1137,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,30 +1208,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,9 +1245,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index 2660ddc5..e2fbbdde 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 06865407..933564d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Version.parser(), + extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +115,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getV return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +174,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersio versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList( + versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getV } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +686,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** + * + * *
      * The versions returned.
      * 
@@ -654,6 +725,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +745,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,6 +767,8 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** + * + * *
      * The versions returned.
      * 
@@ -713,6 +790,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +810,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +830,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,6 +888,8 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** + * + * *
      * The versions returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index bcc3b1a6..45175f20 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index b6258b3e..6aa3d9e4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = + new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +409,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +421,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +458,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..5373800b --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index d63f5fe3..03b7ad70 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,35 +129,40 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -143,30 +171,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -177,11 +205,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -190,29 +221,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -223,11 +254,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -235,11 +269,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -247,6 +284,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -261,12 +300,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -274,12 +316,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -287,6 +332,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -300,6 +347,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -311,8 +359,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_);
     }
@@ -341,12 +388,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -356,26 +401,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.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other =
+        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -406,117 +448,126 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -524,16 +575,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -578,7 +628,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = + new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -599,38 +650,39 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); } else { super.mergeFrom(other); return this; @@ -638,7 +690,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -672,7 +725,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,19 +738,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -705,21 +761,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -727,57 +784,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -785,18 +849,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -805,20 +871,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -826,54 +893,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -881,34 +955,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -929,14 +1016,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -947,6 +1035,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -957,7 +1047,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -969,6 +1059,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -987,6 +1079,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,11 +1088,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1009,11 +1105,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1021,14 +1120,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1036,36 +1138,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1087,6 +1202,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,8 +1211,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1106,6 +1222,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1117,7 +1235,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1129,6 +1247,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1148,6 +1268,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1156,11 +1278,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1172,11 +1296,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1185,21 +1312,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1209,12 +1339,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1223,16 +1353,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1247,6 +1377,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index cc9c2140..104cbf12 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,73 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -77,26 +111,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0a96b6ee
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/package.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\037google/protobuf/time"
+          + "stamp.proto\032\034google/api/annotations.prot"
+          + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n"
+          + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google."
+          + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132"
+          + "\032.google.protobuf.Timestamp\"L\n\023ListPacka"
+          + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030"
+          + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage"
+          + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev"
+          + "tools.artifactregistry.v1beta2.Package\022\027"
+          + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq"
+          + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque"
+          + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools"
+          + ".artifactregistry.v1beta2B\014PackageProtoP"
+          + "\001ZXgoogle.golang.org/genproto/googleapis"
+          + "/devtools/artifactregistry/v1beta2;artif"
+          + "actregistry\252\002%Google.Cloud.ArtifactRegis"
+          + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis"
+          + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg"
+          + "istry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 0fcff33f..30b8d123 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,13 +633,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -578,7 +655,8 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = + new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +667,39 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +707,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +736,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +749,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +760,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +775,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +786,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 { @@ -716,6 +801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +812,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +837,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +858,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +875,113 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +991,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -880,16 +1006,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index d633ee88..801c80f6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index 6aec32de..a7778a16 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,52 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +861,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +881,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +897,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +921,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +929,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,46 +1033,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -934,19 +1091,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -954,8 +1114,10 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -966,46 +1128,56 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); + if (other + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1027,11 +1199,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1041,14 +1216,17 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_ ; + private boolean allowSnapshotOverwrites_; /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1234,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1273,115 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1394,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1433,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1465,37 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1503,64 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1569,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1603,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1657,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1688,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1713,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1725,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1752,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1769,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1790,11 @@ public 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();
     }
@@ -1535,11 +1804,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1819,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1834,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1850,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1865,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1880,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1896,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1906,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1915,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1932,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1949,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1961,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1985,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +2002,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2044,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = + (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2118,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -1973,16 +2266,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2326,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = + new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2361,39 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2414,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2426,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2455,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2465,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2483,22 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2506,51 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2564,20 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repos return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2588,32 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .newBuilder( + (com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2629,16 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Rep return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2657,106 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder, + com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2765,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2788,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2853,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2921,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2946,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2968,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2990,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3076,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3088,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3115,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3132,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3154,11 @@ public 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();
       }
@@ -2757,11 +3166,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3182,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3207,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3231,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3299,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3318,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3330,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3342,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3362,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3371,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3388,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3403,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3421,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3482,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3501,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3513,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3525,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3545,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3554,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3571,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3586,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3604,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3614,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3629,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3639,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3654,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3664,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3688,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3708,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3276,16 +3748,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3772,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 1aabc981..56edcd7a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,104 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +160,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +172,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +189,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +205,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +222,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +260,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +295,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +305,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +320,11 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase + getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..0f89810e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,243 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..d1061ad9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..45e2471c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index ec604378..468c4c93 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = + (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class,
+              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result =
+          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -533,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +581,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +596,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +607,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 { @@ -582,6 +622,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +633,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +658,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +679,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +696,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +706,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +721,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +731,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +746,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +756,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +780,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +800,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +826,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -783,16 +840,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +864,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 3c1dbead..16f0d517 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..117abb8f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,172 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index d90d410d..bce2f426 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,46 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = + null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +115,40 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +156,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +182,22 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +205,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +246,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +263,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +276,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +318,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,19 +477,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -442,8 +500,10 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +522,52 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -523,11 +589,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +608,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +670,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.P return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +690,23 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( + projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +718,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2 return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +738,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +781,17 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +799,47 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +860,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +879,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +891,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +903,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +932,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +949,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +964,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +991,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1029,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 8be1bfe3..4257f596 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 8d812606..48b1127b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,134 +320,145 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +478,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -449,7 +501,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +521,51 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +591,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +605,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +666,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +686,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +698,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +712,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +732,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,26 +741,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +774,17 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +792,13 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +806,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +822,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +859,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +869,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +880,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +894,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +928,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +939,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +958,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +975,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +1002,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1039,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index ce37b484..2414b1b3 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index a3ff1b5c..b88ad1b8 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +195,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +203,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +212,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +265,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +278,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +319,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -399,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -449,7 +497,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +517,39 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,6 +660,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -611,6 +680,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +692,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +706,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +726,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +735,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +752,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +767,17 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +785,13 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +799,15 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +815,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +852,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +862,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +873,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +887,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +899,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +921,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +932,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +968,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +995,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -896,16 +1010,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1034,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 697f83b5..8a19edf0 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 90c5af7f..414910c1 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,84 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
+                      extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +160,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +169,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class,
+            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +198,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +207,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +224,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 { @@ -210,11 +243,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +259,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +292,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +307,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +322,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +338,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +353,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +368,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +384,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +398,8 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +408,13 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +427,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +441,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,6 +459,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +469,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +477,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +487,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +495,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +512,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +524,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_);
     }
@@ -489,20 +559,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +578,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other =
+        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -577,96 +638,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +743,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class,
+              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -697,17 +767,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +813,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +834,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result =
+          new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +871,39 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +911,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +945,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -902,7 +976,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -911,10 +986,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +1001,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1016,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1026,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 { @@ -962,6 +1041,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1051,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1075,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1095,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1112,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1134,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1156,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1218,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1279,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1298,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1310,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1322,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1342,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1351,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1368,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1383,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1401,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1462,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1481,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1493,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1505,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1525,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1534,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1551,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1566,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1617,8 @@ public java.util.List getRelat
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1634,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1651,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1510,6 +1675,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1696,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1719,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1572,6 +1743,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1764,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1785,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1798,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1806,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1826,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1846,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1678,6 +1860,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1688,11 +1872,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1887,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1896,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1906,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1730,10 +1921,12 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1934,23 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1beta2.Tag,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1beta2.Tag,
+                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1958,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1972,17 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1990,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +2003,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2012,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2029,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2038,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2052,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2061,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2080,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2089,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2104,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2113,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2131,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2151,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -1967,16 +2196,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 1fca4549..505534fe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..5f9a1a41
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,164 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/version.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\034google/api/annotatio"
+          + "ns.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\0322google/dev"
+          + "tools/artifactregistry/v1beta2/tag.proto"
+          + "\032\034google/protobuf/struct.proto\032\037google/p"
+          + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n"
+          + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create"
+          + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022"
+          + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T"
+          + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google."
+          + "devtools.artifactregistry.v1beta2.Tag\022.\n"
+          + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct"
+          + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi"
+          + "s.com/Version\022gprojects/{project}/locati"
+          + "ons/{location}/repositories/{repository}"
+          + "/packages/{package}/versions/{version}\"\250"
+          + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021"
+          + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n"
+          + "\004view\030\004 \001(\01625.google.devtools.artifactre"
+          + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005"
+          + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver"
+          + "sions\030\001 \003(\01321.google.devtools.artifactre"
+          + "gistry.v1beta2.Version\022\027\n\017next_page_toke"
+          + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001"
+          + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif"
+          + "actregistry.v1beta2.VersionView\"3\n\024Delet"
+          + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002"
+          + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP"
+          + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g"
+          + "oogle.devtools.artifactregistry.v1beta2B"
+          + "\014VersionProtoP\001ZXgoogle.golang.org/genpr"
+          + "oto/googleapis/devtools/artifactregistry"
+          + "/v1beta2;artifactregistry\252\002%Google.Cloud"
+          + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud"
+          + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou"
+          + "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 92d55120..0621d8af 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index c0059766..6111a567 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +529,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +546,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +583,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -637,16 +711,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +756,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = + new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +770,39 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +810,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +846,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +859,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +881,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +903,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +965,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +987,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1009,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1071,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1176,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1198,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1220,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1167,16 +1305,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1329,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index c61239a2..0be7b093 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5efcc8f3 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto From caa1799c6fa3c33aa13d37ec16e50d8eda2a9370 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 03:03:29 +0000 Subject: [PATCH 5/9] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../v1/ArtifactRegistryGrpc.java | 3494 ----------------- .../v1beta2/ArtifactRegistryGrpc.java | 3275 --------------- .../v1/ArtifactRegistryClient.java | 94 +- .../v1/ArtifactRegistrySettings.java | 30 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 6 +- .../v1/stub/ArtifactRegistryStubSettings.java | 59 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 + ...tpJsonArtifactRegistryCallableFactory.java | 105 + .../v1/stub/HttpJsonArtifactRegistryStub.java | 1767 +++++++++ .../ArtifactRegistryClientHttpJsonTest.java | 1786 +++++++++ .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 2628 +++++++++++++ .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 150 + .../artifactregistry/v1/ArtifactProto.java | 119 + .../v1/CreateRepositoryRequest.java | 541 +-- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 +-- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 29 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 127 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 29 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 29 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportAptArtifactsRequest.java | 526 +-- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportYumArtifactsRequest.java | 526 +-- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 +-- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 +-- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 ++- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 +-- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 +-- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 +-- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 +-- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 +-- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 +-- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 ++- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 +-- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 9 + .../devtools/artifactregistry/v1/Package.java | 571 ++- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 122 + .../artifactregistry/v1/ProjectSettings.java | 498 +-- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 ++++----- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 203 + .../artifactregistry/v1/ServiceProto.java | 265 ++ .../artifactregistry/v1/SettingsProto.java | 108 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 147 + .../v1/UpdateProjectSettingsRequest.java | 481 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 +-- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 141 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 ++- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 148 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../v1beta2/ArtifactRegistryClient.java | 84 +- .../v1beta2/ArtifactRegistrySettings.java | 30 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 6 +- .../stub/ArtifactRegistryStubSettings.java | 59 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 + ...tpJsonArtifactRegistryCallableFactory.java | 105 + .../stub/HttpJsonArtifactRegistryStub.java | 1649 ++++++++ .../ArtifactRegistryClientHttpJsonTest.java | 1627 ++++++++ .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1beta2/ArtifactRegistryGrpc.java | 2456 ++++++++++++ .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 157 + .../v1beta2/CreateRepositoryRequest.java | 556 +-- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 +-- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 29 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 29 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 29 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 130 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 29 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 29 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 29 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 29 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportAptArtifactsRequest.java | 580 ++- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportYumArtifactsRequest.java | 580 ++- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 +-- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 +-- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 +-- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 +-- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 +-- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 +-- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 +-- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 +-- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 ++- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 +-- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 9 + .../artifactregistry/v1beta2/Package.java | 578 ++- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 115 + .../v1beta2/ProjectSettings.java | 506 +-- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 ++++----- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 208 + .../v1beta2/ServiceProto.java | 262 ++ .../v1beta2/SettingsProto.java | 112 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 151 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 +-- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 +-- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 145 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 ++- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 155 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 .../artifactregistry/v1/AptArtifactProto.java | 168 - .../artifactregistry/v1/ArtifactProto.java | 137 - .../v1/DeleteRepositoryRequestOrBuilder.java | 54 - .../v1/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1/FileProto.java | 146 - .../v1/GetDockerImageRequestOrBuilder.java | 54 - .../v1/GetFileRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../v1/GetRepositoryRequestOrBuilder.java | 54 - .../v1/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1/OperationMetadataOrBuilder.java | 24 - .../artifactregistry/v1/PackageProto.java | 141 - .../artifactregistry/v1/RepositoryProto.java | 238 -- .../artifactregistry/v1/ServiceProto.java | 278 -- .../artifactregistry/v1/SettingsProto.java | 125 - .../artifactregistry/v1/TagProto.java | 168 - .../artifactregistry/v1/VersionProto.java | 160 - .../artifactregistry/v1/YumArtifactProto.java | 166 - .../v1beta2/AptArtifactProto.java | 175 - .../DeletePackageRequestOrBuilder.java | 50 - .../DeleteRepositoryRequestOrBuilder.java | 54 - .../v1beta2/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1beta2/FileProto.java | 149 - .../v1beta2/GetFileRequestOrBuilder.java | 50 - .../v1beta2/GetPackageRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../GetRepositoryRequestOrBuilder.java | 54 - .../v1beta2/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1beta2/OperationMetadataOrBuilder.java | 24 - .../v1beta2/PackageProto.java | 134 - .../v1beta2/RepositoryProto.java | 243 -- .../v1beta2/ServiceProto.java | 275 -- .../v1beta2/SettingsProto.java | 129 - .../artifactregistry/v1beta2/TagProto.java | 172 - .../v1beta2/VersionProto.java | 164 - .../v1beta2/YumArtifactProto.java | 173 - 307 files changed, 35190 insertions(+), 43537 deletions(-) delete mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (97%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (95%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (96%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java create mode 100644 owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (97%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (95%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (96%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) create mode 100644 owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java create mode 100644 owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java create mode 100644 owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index 8dd4c5ad..00000000 --- a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3494 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = - getListDockerImagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = - getGetDockerImageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDockerImagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDockerImageMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.DockerImage> - getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Package> - getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Version> - getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.File> - getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages( - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) - responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage( - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index 63baa4ed..00000000 --- a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = - "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2 - .UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Package> - getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Version> - getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.File> - getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 97% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 65ad66c6..9f05701f 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -19,6 +19,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -35,7 +36,6 @@ import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -53,11 +53,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

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

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") public class ArtifactRegistryClient implements BackgroundResource { private final ArtifactRegistrySettings settings; private final ArtifactRegistryStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of ArtifactRegistryClient with default settings. */ public static final ArtifactRegistryClient create() throws IOException { @@ -162,13 +178,17 @@ public static final ArtifactRegistryClient create(ArtifactRegistryStub stub) { protected ArtifactRegistryClient(ArtifactRegistrySettings settings) throws IOException { this.settings = settings; this.stub = ((ArtifactRegistryStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected ArtifactRegistryClient(ArtifactRegistryStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final ArtifactRegistrySettings getSettings() { @@ -183,10 +203,18 @@ public ArtifactRegistryStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Lists docker images. @@ -2746,10 +2774,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2799,10 +2824,7 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2823,10 +2845,7 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2876,10 +2895,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2900,10 +2916,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2952,10 +2965,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2975,10 +2985,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3027,10 +3034,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 95% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 4d59eaef..0009bc68 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java @@ -28,11 +28,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -54,10 +56,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -294,11 +296,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ArtifactRegistryStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ArtifactRegistryStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ArtifactRegistryStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ArtifactRegistryStubSettings.defaultTransportChannelProvider(); } @@ -308,11 +317,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ArtifactRegistryStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -350,6 +365,11 @@ private static Builder createDefault() { return new Builder(ArtifactRegistryStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ArtifactRegistryStubSettings.newHttpJsonBuilder()); + } + public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder() { return ((ArtifactRegistryStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index a58cd64c..16275bcf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java index 0b5f455c..e63f56e4 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java @@ -88,7 +88,11 @@ public abstract class ArtifactRegistryStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public UnaryCallable diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 96% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index 5625cda8..cbd26e53 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -33,6 +33,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -114,10 +117,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -724,6 +727,11 @@ public ArtifactRegistryStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcArtifactRegistryStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonArtifactRegistryStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -756,18 +764,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(ArtifactRegistryStubSettings.class)) @@ -775,11 +790,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ArtifactRegistryStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ArtifactRegistryStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -1079,6 +1113,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listDockerImagesSettings() diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index 45335bd2..e0d1bb10 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,6 +84,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java new file mode 100644 index 00000000..ae74a968 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.devtools.artifactregistry.v1.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the ArtifactRegistry service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonArtifactRegistryCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java new file mode 100644 index 00000000..836dd0c1 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java @@ -0,0 +1,1767 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.devtools.artifactregistry.v1.stub; + +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListDockerImagesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListFilesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListPackagesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListRepositoriesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListTagsPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListVersionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.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.UnaryCallable; +import com.google.devtools.artifactregistry.v1.CreateRepositoryRequest; +import com.google.devtools.artifactregistry.v1.CreateTagRequest; +import com.google.devtools.artifactregistry.v1.DeletePackageRequest; +import com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest; +import com.google.devtools.artifactregistry.v1.DeleteTagRequest; +import com.google.devtools.artifactregistry.v1.DeleteVersionRequest; +import com.google.devtools.artifactregistry.v1.DockerImage; +import com.google.devtools.artifactregistry.v1.File; +import com.google.devtools.artifactregistry.v1.GetDockerImageRequest; +import com.google.devtools.artifactregistry.v1.GetFileRequest; +import com.google.devtools.artifactregistry.v1.GetPackageRequest; +import com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest; +import com.google.devtools.artifactregistry.v1.GetRepositoryRequest; +import com.google.devtools.artifactregistry.v1.GetTagRequest; +import com.google.devtools.artifactregistry.v1.GetVersionRequest; +import com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata; +import com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest; +import com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse; +import com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata; +import com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest; +import com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse; +import com.google.devtools.artifactregistry.v1.ListDockerImagesRequest; +import com.google.devtools.artifactregistry.v1.ListDockerImagesResponse; +import com.google.devtools.artifactregistry.v1.ListFilesRequest; +import com.google.devtools.artifactregistry.v1.ListFilesResponse; +import com.google.devtools.artifactregistry.v1.ListPackagesRequest; +import com.google.devtools.artifactregistry.v1.ListPackagesResponse; +import com.google.devtools.artifactregistry.v1.ListRepositoriesRequest; +import com.google.devtools.artifactregistry.v1.ListRepositoriesResponse; +import com.google.devtools.artifactregistry.v1.ListTagsRequest; +import com.google.devtools.artifactregistry.v1.ListTagsResponse; +import com.google.devtools.artifactregistry.v1.ListVersionsRequest; +import com.google.devtools.artifactregistry.v1.ListVersionsResponse; +import com.google.devtools.artifactregistry.v1.OperationMetadata; +import com.google.devtools.artifactregistry.v1.Package; +import com.google.devtools.artifactregistry.v1.ProjectSettings; +import com.google.devtools.artifactregistry.v1.Repository; +import com.google.devtools.artifactregistry.v1.Tag; +import com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest; +import com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest; +import com.google.devtools.artifactregistry.v1.UpdateTagRequest; +import com.google.devtools.artifactregistry.v1.Version; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ArtifactRegistry service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonArtifactRegistryStub extends ArtifactRegistryStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Empty.getDescriptor()) + .add(ImportYumArtifactsResponse.getDescriptor()) + .add(ImportAptArtifactsResponse.getDescriptor()) + .add(ImportYumArtifactsMetadata.getDescriptor()) + .add(ImportAptArtifactsMetadata.getDescriptor()) + .add(Repository.getDescriptor()) + .add(OperationMetadata.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + listDockerImagesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/ListDockerImages") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*}/dockerImages", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListDockerImagesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getDockerImageMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/GetDockerImage") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/dockerImages/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(DockerImage.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + importAptArtifactsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/ImportAptArtifacts") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ImportAptArtifactsRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + importYumArtifactsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/ImportYumArtifacts") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ImportYumArtifactsRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listRepositoriesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/ListRepositories") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/repositories", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListRepositoriesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/GetRepository") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/CreateRepository") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*}/repositories", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "repositoryId", request.getRepositoryId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("repository", request.getRepository())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateRepositoryRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/UpdateRepository") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{repository.name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "repository.name", request.getRepository().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("repository", request.getRepository())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/DeleteRepository") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteRepositoryRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listPackagesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/ListPackages") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*}/packages", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListPackagesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getPackageMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/GetPackage") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/packages/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Package.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deletePackageMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/DeletePackage") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/packages/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeletePackageRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listVersionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/ListVersions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/versions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListVersionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getVersionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/GetVersion") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Version.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteVersionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/DeleteVersion") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteVersionRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listFilesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/ListFiles") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*}/files", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListFilesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getFileMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/GetFile") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/files/**}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(File.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listTagsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/ListTags") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListTagsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/GetTag") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Tag.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/CreateTag") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/repositories/*/packages/*}/tags", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "tagId", request.getTagId()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("tag", request.getTag())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Tag.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/UpdateTag") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "tag.name", request.getTag().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("tag", request.getTag())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Tag.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1.ArtifactRegistry/DeleteTag") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{resource=projects/*/locations/*/repositories/*}:setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/GetIamPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{resource=projects/*/locations/*/repositories/*}:getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "options", request.getOptions()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{resource=projects/*/locations/*/repositories/*}:testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestIamPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getProjectSettingsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/GetProjectSettings") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/projectSettings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ProjectSettings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateProjectSettingsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1.ArtifactRegistry/UpdateProjectSettings") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{projectSettings.name=projects/*/projectSettings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, + "projectSettings.name", + request.getProjectSettings().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("projectSettings", request.getProjectSettings())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ProjectSettings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable + listDockerImagesCallable; + private final UnaryCallable + listDockerImagesPagedCallable; + private final UnaryCallable getDockerImageCallable; + private final UnaryCallable importAptArtifactsCallable; + private final OperationCallable< + ImportAptArtifactsRequest, ImportAptArtifactsResponse, ImportAptArtifactsMetadata> + importAptArtifactsOperationCallable; + private final UnaryCallable importYumArtifactsCallable; + private final OperationCallable< + ImportYumArtifactsRequest, ImportYumArtifactsResponse, ImportYumArtifactsMetadata> + importYumArtifactsOperationCallable; + private final UnaryCallable + listRepositoriesCallable; + private final UnaryCallable + listRepositoriesPagedCallable; + private final UnaryCallable getRepositoryCallable; + private final UnaryCallable createRepositoryCallable; + private final OperationCallable + createRepositoryOperationCallable; + private final UnaryCallable updateRepositoryCallable; + private final UnaryCallable deleteRepositoryCallable; + private final OperationCallable + deleteRepositoryOperationCallable; + private final UnaryCallable listPackagesCallable; + private final UnaryCallable + listPackagesPagedCallable; + private final UnaryCallable getPackageCallable; + private final UnaryCallable deletePackageCallable; + private final OperationCallable + deletePackageOperationCallable; + private final UnaryCallable listVersionsCallable; + private final UnaryCallable + listVersionsPagedCallable; + private final UnaryCallable getVersionCallable; + private final UnaryCallable deleteVersionCallable; + private final OperationCallable + deleteVersionOperationCallable; + private final UnaryCallable listFilesCallable; + private final UnaryCallable listFilesPagedCallable; + private final UnaryCallable getFileCallable; + private final UnaryCallable listTagsCallable; + private final UnaryCallable listTagsPagedCallable; + private final UnaryCallable getTagCallable; + private final UnaryCallable createTagCallable; + private final UnaryCallable updateTagCallable; + private final UnaryCallable deleteTagCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable + getProjectSettingsCallable; + private final UnaryCallable + updateProjectSettingsCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonArtifactRegistryStub create(ArtifactRegistryStubSettings settings) + throws IOException { + return new HttpJsonArtifactRegistryStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonArtifactRegistryStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonArtifactRegistryStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonArtifactRegistryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonArtifactRegistryCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonArtifactRegistryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings + listDockerImagesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listDockerImagesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getDockerImageTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getDockerImageMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings importAptArtifactsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importAptArtifactsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings importYumArtifactsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importYumArtifactsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listRepositoriesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listRepositoriesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listPackagesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPackagesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPackageTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPackageMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePackageTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePackageMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listVersionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listVersionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getVersionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getVersionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteVersionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteVersionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listFilesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listFilesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getFileTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getFileMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listTagsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listTagsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getProjectSettingsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getProjectSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + updateProjectSettingsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateProjectSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listDockerImagesCallable = + callableFactory.createUnaryCallable( + listDockerImagesTransportSettings, settings.listDockerImagesSettings(), clientContext); + this.listDockerImagesPagedCallable = + callableFactory.createPagedCallable( + listDockerImagesTransportSettings, settings.listDockerImagesSettings(), clientContext); + this.getDockerImageCallable = + callableFactory.createUnaryCallable( + getDockerImageTransportSettings, settings.getDockerImageSettings(), clientContext); + this.importAptArtifactsCallable = + callableFactory.createUnaryCallable( + importAptArtifactsTransportSettings, + settings.importAptArtifactsSettings(), + clientContext); + this.importAptArtifactsOperationCallable = + callableFactory.createOperationCallable( + importAptArtifactsTransportSettings, + settings.importAptArtifactsOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.importYumArtifactsCallable = + callableFactory.createUnaryCallable( + importYumArtifactsTransportSettings, + settings.importYumArtifactsSettings(), + clientContext); + this.importYumArtifactsOperationCallable = + callableFactory.createOperationCallable( + importYumArtifactsTransportSettings, + settings.importYumArtifactsOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listRepositoriesCallable = + callableFactory.createUnaryCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.listRepositoriesPagedCallable = + callableFactory.createPagedCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.getRepositoryCallable = + callableFactory.createUnaryCallable( + getRepositoryTransportSettings, settings.getRepositorySettings(), clientContext); + this.createRepositoryCallable = + callableFactory.createUnaryCallable( + createRepositoryTransportSettings, settings.createRepositorySettings(), clientContext); + this.createRepositoryOperationCallable = + callableFactory.createOperationCallable( + createRepositoryTransportSettings, + settings.createRepositoryOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateRepositoryCallable = + callableFactory.createUnaryCallable( + updateRepositoryTransportSettings, settings.updateRepositorySettings(), clientContext); + this.deleteRepositoryCallable = + callableFactory.createUnaryCallable( + deleteRepositoryTransportSettings, settings.deleteRepositorySettings(), clientContext); + this.deleteRepositoryOperationCallable = + callableFactory.createOperationCallable( + deleteRepositoryTransportSettings, + settings.deleteRepositoryOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listPackagesCallable = + callableFactory.createUnaryCallable( + listPackagesTransportSettings, settings.listPackagesSettings(), clientContext); + this.listPackagesPagedCallable = + callableFactory.createPagedCallable( + listPackagesTransportSettings, settings.listPackagesSettings(), clientContext); + this.getPackageCallable = + callableFactory.createUnaryCallable( + getPackageTransportSettings, settings.getPackageSettings(), clientContext); + this.deletePackageCallable = + callableFactory.createUnaryCallable( + deletePackageTransportSettings, settings.deletePackageSettings(), clientContext); + this.deletePackageOperationCallable = + callableFactory.createOperationCallable( + deletePackageTransportSettings, + settings.deletePackageOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listVersionsCallable = + callableFactory.createUnaryCallable( + listVersionsTransportSettings, settings.listVersionsSettings(), clientContext); + this.listVersionsPagedCallable = + callableFactory.createPagedCallable( + listVersionsTransportSettings, settings.listVersionsSettings(), clientContext); + this.getVersionCallable = + callableFactory.createUnaryCallable( + getVersionTransportSettings, settings.getVersionSettings(), clientContext); + this.deleteVersionCallable = + callableFactory.createUnaryCallable( + deleteVersionTransportSettings, settings.deleteVersionSettings(), clientContext); + this.deleteVersionOperationCallable = + callableFactory.createOperationCallable( + deleteVersionTransportSettings, + settings.deleteVersionOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listFilesCallable = + callableFactory.createUnaryCallable( + listFilesTransportSettings, settings.listFilesSettings(), clientContext); + this.listFilesPagedCallable = + callableFactory.createPagedCallable( + listFilesTransportSettings, settings.listFilesSettings(), clientContext); + this.getFileCallable = + callableFactory.createUnaryCallable( + getFileTransportSettings, settings.getFileSettings(), clientContext); + this.listTagsCallable = + callableFactory.createUnaryCallable( + listTagsTransportSettings, settings.listTagsSettings(), clientContext); + this.listTagsPagedCallable = + callableFactory.createPagedCallable( + listTagsTransportSettings, settings.listTagsSettings(), clientContext); + this.getTagCallable = + callableFactory.createUnaryCallable( + getTagTransportSettings, settings.getTagSettings(), clientContext); + this.createTagCallable = + callableFactory.createUnaryCallable( + createTagTransportSettings, settings.createTagSettings(), clientContext); + this.updateTagCallable = + callableFactory.createUnaryCallable( + updateTagTransportSettings, settings.updateTagSettings(), clientContext); + this.deleteTagCallable = + callableFactory.createUnaryCallable( + deleteTagTransportSettings, settings.deleteTagSettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.getProjectSettingsCallable = + callableFactory.createUnaryCallable( + getProjectSettingsTransportSettings, + settings.getProjectSettingsSettings(), + clientContext); + this.updateProjectSettingsCallable = + callableFactory.createUnaryCallable( + updateProjectSettingsTransportSettings, + settings.updateProjectSettingsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listDockerImagesMethodDescriptor); + methodDescriptors.add(getDockerImageMethodDescriptor); + methodDescriptors.add(importAptArtifactsMethodDescriptor); + methodDescriptors.add(importYumArtifactsMethodDescriptor); + methodDescriptors.add(listRepositoriesMethodDescriptor); + methodDescriptors.add(getRepositoryMethodDescriptor); + methodDescriptors.add(createRepositoryMethodDescriptor); + methodDescriptors.add(updateRepositoryMethodDescriptor); + methodDescriptors.add(deleteRepositoryMethodDescriptor); + methodDescriptors.add(listPackagesMethodDescriptor); + methodDescriptors.add(getPackageMethodDescriptor); + methodDescriptors.add(deletePackageMethodDescriptor); + methodDescriptors.add(listVersionsMethodDescriptor); + methodDescriptors.add(getVersionMethodDescriptor); + methodDescriptors.add(deleteVersionMethodDescriptor); + methodDescriptors.add(listFilesMethodDescriptor); + methodDescriptors.add(getFileMethodDescriptor); + methodDescriptors.add(listTagsMethodDescriptor); + methodDescriptors.add(getTagMethodDescriptor); + methodDescriptors.add(createTagMethodDescriptor); + methodDescriptors.add(updateTagMethodDescriptor); + methodDescriptors.add(deleteTagMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(getProjectSettingsMethodDescriptor); + methodDescriptors.add(updateProjectSettingsMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable + listDockerImagesCallable() { + return listDockerImagesCallable; + } + + @Override + public UnaryCallable + listDockerImagesPagedCallable() { + return listDockerImagesPagedCallable; + } + + @Override + public UnaryCallable getDockerImageCallable() { + return getDockerImageCallable; + } + + @Override + public UnaryCallable importAptArtifactsCallable() { + return importAptArtifactsCallable; + } + + @Override + public OperationCallable< + ImportAptArtifactsRequest, ImportAptArtifactsResponse, ImportAptArtifactsMetadata> + importAptArtifactsOperationCallable() { + return importAptArtifactsOperationCallable; + } + + @Override + public UnaryCallable importYumArtifactsCallable() { + return importYumArtifactsCallable; + } + + @Override + public OperationCallable< + ImportYumArtifactsRequest, ImportYumArtifactsResponse, ImportYumArtifactsMetadata> + importYumArtifactsOperationCallable() { + return importYumArtifactsOperationCallable; + } + + @Override + public UnaryCallable + listRepositoriesCallable() { + return listRepositoriesCallable; + } + + @Override + public UnaryCallable + listRepositoriesPagedCallable() { + return listRepositoriesPagedCallable; + } + + @Override + public UnaryCallable getRepositoryCallable() { + return getRepositoryCallable; + } + + @Override + public UnaryCallable createRepositoryCallable() { + return createRepositoryCallable; + } + + @Override + public OperationCallable + createRepositoryOperationCallable() { + return createRepositoryOperationCallable; + } + + @Override + public UnaryCallable updateRepositoryCallable() { + return updateRepositoryCallable; + } + + @Override + public UnaryCallable deleteRepositoryCallable() { + return deleteRepositoryCallable; + } + + @Override + public OperationCallable + deleteRepositoryOperationCallable() { + return deleteRepositoryOperationCallable; + } + + @Override + public UnaryCallable listPackagesCallable() { + return listPackagesCallable; + } + + @Override + public UnaryCallable listPackagesPagedCallable() { + return listPackagesPagedCallable; + } + + @Override + public UnaryCallable getPackageCallable() { + return getPackageCallable; + } + + @Override + public UnaryCallable deletePackageCallable() { + return deletePackageCallable; + } + + @Override + public OperationCallable + deletePackageOperationCallable() { + return deletePackageOperationCallable; + } + + @Override + public UnaryCallable listVersionsCallable() { + return listVersionsCallable; + } + + @Override + public UnaryCallable listVersionsPagedCallable() { + return listVersionsPagedCallable; + } + + @Override + public UnaryCallable getVersionCallable() { + return getVersionCallable; + } + + @Override + public UnaryCallable deleteVersionCallable() { + return deleteVersionCallable; + } + + @Override + public OperationCallable + deleteVersionOperationCallable() { + return deleteVersionOperationCallable; + } + + @Override + public UnaryCallable listFilesCallable() { + return listFilesCallable; + } + + @Override + public UnaryCallable listFilesPagedCallable() { + return listFilesPagedCallable; + } + + @Override + public UnaryCallable getFileCallable() { + return getFileCallable; + } + + @Override + public UnaryCallable listTagsCallable() { + return listTagsCallable; + } + + @Override + public UnaryCallable listTagsPagedCallable() { + return listTagsPagedCallable; + } + + @Override + public UnaryCallable getTagCallable() { + return getTagCallable; + } + + @Override + public UnaryCallable createTagCallable() { + return createTagCallable; + } + + @Override + public UnaryCallable updateTagCallable() { + return updateTagCallable; + } + + @Override + public UnaryCallable deleteTagCallable() { + return deleteTagCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable getProjectSettingsCallable() { + return getProjectSettingsCallable; + } + + @Override + public UnaryCallable + updateProjectSettingsCallable() { + return updateProjectSettingsCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java new file mode 100644 index 00000000..985a2746 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java @@ -0,0 +1,1786 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.devtools.artifactregistry.v1; + +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListDockerImagesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListFilesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListPackagesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListRepositoriesPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListTagsPagedResponse; +import static com.google.devtools.artifactregistry.v1.ArtifactRegistryClient.ListVersionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.common.collect.Lists; +import com.google.devtools.artifactregistry.v1.stub.HttpJsonArtifactRegistryStub; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.GetPolicyOptions; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Struct; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ArtifactRegistryClientHttpJsonTest { + private static MockHttpService mockService; + private static ArtifactRegistryClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonArtifactRegistryStub.getMethodDescriptors(), + ArtifactRegistrySettings.getDefaultEndpoint()); + ArtifactRegistrySettings settings = + ArtifactRegistrySettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ArtifactRegistrySettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ArtifactRegistryClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listDockerImagesTest() throws Exception { + DockerImage responsesElement = DockerImage.newBuilder().build(); + ListDockerImagesResponse expectedResponse = + ListDockerImagesResponse.newBuilder() + .setNextPageToken("") + .addAllDockerImages(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListDockerImagesPagedResponse pagedListResponse = client.listDockerImages(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getDockerImagesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listDockerImagesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listDockerImages(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDockerImageTest() throws Exception { + DockerImage expectedResponse = + DockerImage.newBuilder() + .setName( + DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") + .toString()) + .setUri("uri116076") + .addAllTags(new ArrayList()) + .setImageSizeBytes(837030929) + .setUploadTime(Timestamp.newBuilder().build()) + .setMediaType("mediaType2140463422") + .setBuildTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + DockerImageName name = + DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]"); + + DockerImage actualResponse = client.getDockerImage(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDockerImageExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DockerImageName name = + DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]"); + client.getDockerImage(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getDockerImageTest2() throws Exception { + DockerImage expectedResponse = + DockerImage.newBuilder() + .setName( + DockerImageName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]", "[DOCKER_IMAGE]") + .toString()) + .setUri("uri116076") + .addAllTags(new ArrayList()) + .setImageSizeBytes(837030929) + .setUploadTime(Timestamp.newBuilder().build()) + .setMediaType("mediaType2140463422") + .setBuildTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-1270/locations/location-1270/repositories/repositorie-1270/dockerImages/dockerImage-1270"; + + DockerImage actualResponse = client.getDockerImage(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getDockerImageExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-1270/locations/location-1270/repositories/repositorie-1270/dockerImages/dockerImage-1270"; + client.getDockerImage(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void importAptArtifactsTest() throws Exception { + ImportAptArtifactsResponse expectedResponse = + ImportAptArtifactsResponse.newBuilder() + .addAllAptArtifacts(new ArrayList()) + .addAllErrors(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importAptArtifactsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ImportAptArtifactsRequest request = + ImportAptArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + + ImportAptArtifactsResponse actualResponse = client.importAptArtifactsAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importAptArtifactsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ImportAptArtifactsRequest request = + ImportAptArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + client.importAptArtifactsAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void importYumArtifactsTest() throws Exception { + ImportYumArtifactsResponse expectedResponse = + ImportYumArtifactsResponse.newBuilder() + .addAllYumArtifacts(new ArrayList()) + .addAllErrors(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importYumArtifactsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ImportYumArtifactsRequest request = + ImportYumArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + + ImportYumArtifactsResponse actualResponse = client.importYumArtifactsAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importYumArtifactsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ImportYumArtifactsRequest request = + ImportYumArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + client.importYumArtifactsAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listRepositoriesTest() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listRepositoriesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listRepositoriesTest2() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listRepositoriesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + mockService.addResponse(expectedResponse); + + Repository repository = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Repository actualResponse = client.updateRepository(repository, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Repository repository = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateRepository(repository, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteRepositoryTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + client.deleteRepositoryAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.deleteRepositoryAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteRepositoryTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + + client.deleteRepositoryAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + client.deleteRepositoryAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listPackagesTest() throws Exception { + Package responsesElement = Package.newBuilder().build(); + ListPackagesResponse expectedResponse = + ListPackagesResponse.newBuilder() + .setNextPageToken("") + .addAllPackages(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListPackagesPagedResponse pagedListResponse = client.listPackages(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPackagesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listPackagesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listPackages(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPackageTest() throws Exception { + Package expectedResponse = + Package.newBuilder() + .setName("name3373707") + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + + Package actualResponse = client.getPackage(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getPackageExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + client.getPackage(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deletePackageTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePackageTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + + client.deletePackageAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deletePackageExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + client.deletePackageAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listVersionsTest() throws Exception { + Version responsesElement = Version.newBuilder().build(); + ListVersionsResponse expectedResponse = + ListVersionsResponse.newBuilder() + .setNextPageToken("") + .addAllVersions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + + ListVersionsPagedResponse pagedListResponse = client.listVersions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getVersionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listVersionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + client.listVersions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getVersionTest() throws Exception { + Version expectedResponse = + Version.newBuilder() + .setName("name3373707") + .setDescription("description-1724546052") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllRelatedTags(new ArrayList()) + .setMetadata(Struct.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + + Version actualResponse = client.getVersion(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getVersionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + client.getVersion(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteVersionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteVersionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + + client.deleteVersionAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteVersionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + client.deleteVersionAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listFilesTest() throws Exception { + File responsesElement = File.newBuilder().build(); + ListFilesResponse expectedResponse = + ListFilesResponse.newBuilder() + .setNextPageToken("") + .addAllFiles(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListFilesPagedResponse pagedListResponse = client.listFiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFilesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFilesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listFiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFileTest() throws Exception { + File expectedResponse = + File.newBuilder() + .setName("name3373707") + .setSizeBytes(-1796325715) + .addAllHashes(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setOwner("owner106164915") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-3631/locations/location-3631/repositories/repositorie-3631/files/file-3631"; + + File actualResponse = client.getFile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getFileExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3631/locations/location-3631/repositories/repositorie-3631/files/file-3631"; + client.getFile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTagsTest() throws Exception { + Tag responsesElement = Tag.newBuilder().build(); + ListTagsResponse expectedResponse = + ListTagsResponse.newBuilder() + .setNextPageToken("") + .addAllTags(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + + ListTagsPagedResponse pagedListResponse = client.listTags(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTagsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTagsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + client.listTags(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTagTest() throws Exception { + Tag expectedResponse = + Tag.newBuilder().setName("name3373707").setVersion("version351608024").build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + + Tag actualResponse = client.getTag(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + client.getTag(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTagTest() throws Exception { + Tag expectedResponse = + Tag.newBuilder().setName("name3373707").setVersion("version351608024").build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + Tag tag = Tag.newBuilder().build(); + String tagId = "tagId110119509"; + + Tag actualResponse = client.createTag(parent, tag, tagId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + Tag tag = Tag.newBuilder().build(); + String tagId = "tagId110119509"; + client.createTag(parent, tag, tagId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateTagTest() throws Exception { + Tag expectedResponse = + Tag.newBuilder().setName("name3373707").setVersion("version351608024").build(); + mockService.addResponse(expectedResponse); + + Tag tag = + Tag.newBuilder() + .setName( + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748") + .setVersion("version351608024") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Tag actualResponse = client.updateTag(tag, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Tag tag = + Tag.newBuilder() + .setName( + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748") + .setVersion("version351608024") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateTag(tag, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTagTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + + client.deleteTag(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + client.deleteTag(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setPolicy(Policy.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + + Policy actualResponse = client.setIamPolicy(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setPolicy(Policy.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + client.setIamPolicy(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + + Policy actualResponse = client.getIamPolicy(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + client.getIamPolicy(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .addAllPermissions(new ArrayList()) + .build(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .addAllPermissions(new ArrayList()) + .build(); + client.testIamPermissions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getProjectSettingsTest() throws Exception { + ProjectSettings expectedResponse = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + mockService.addResponse(expectedResponse); + + ProjectSettingsName name = ProjectSettingsName.of("[PROJECT]"); + + ProjectSettings actualResponse = client.getProjectSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getProjectSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectSettingsName name = ProjectSettingsName.of("[PROJECT]"); + client.getProjectSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getProjectSettingsTest2() throws Exception { + ProjectSettings expectedResponse = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-9549/projectSettings"; + + ProjectSettings actualResponse = client.getProjectSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getProjectSettingsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9549/projectSettings"; + client.getProjectSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateProjectSettingsTest() throws Exception { + ProjectSettings expectedResponse = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + mockService.addResponse(expectedResponse); + + ProjectSettings projectSettings = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + ProjectSettings actualResponse = client.updateProjectSettings(projectSettings, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateProjectSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectSettings projectSettings = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateProjectSettings(projectSettings, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..e3ceeee1 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,2628 @@ +package com.google.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDockerImagesMethod() { + io.grpc.MethodDescriptor getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDockerImageMethod() { + io.grpc.MethodDescriptor getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 7117c539..448922b7 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,16 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -617,10 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -629,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -639,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = - (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,103 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -787,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -811,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -839,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -860,8 +786,7 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -876,39 +801,38 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -916,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -959,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -972,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -994,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1016,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1078,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1100,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1122,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1184,103 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1288,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1310,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1332,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1394,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1416,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1438,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1500,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1515,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1564,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1578,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1602,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index 24f2f3e6..ccbfbfba 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..443f6d5f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,150 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..d2e38912 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,119 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { "DockerImages", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 28dde700..73cce54c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -504,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -552,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -569,50 +516,46 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -643,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -657,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -681,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -705,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -773,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -795,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -817,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -879,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -940,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -960,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -972,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -986,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1006,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1015,13 +903,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
@@ -1032,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1047,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index 9816339e..cc064ca5 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index 31cca5ed..bbdbbb62 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,14 +220,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ @java.lang.Override @@ -268,8 +232,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -282,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -320,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,19 +293,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -369,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -497,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -544,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -561,39 +516,38 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -601,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -633,8 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -646,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -668,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -690,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -752,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -774,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -796,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -858,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -919,15 +838,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -938,8 +856,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -950,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -964,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -984,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -993,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1010,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1025,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1052,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -1066,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index 491f3b74..ffc90b5d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index 8f10f939..a84494eb 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @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); } @@ -600,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -615,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index e347b777..8ad16aca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder - extends +public interface DeletePackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index 29138c37..e9c9f3e3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..8199afc8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 0f4b7556..492ecb7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..2a237596 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index 74d8170f..bb45536b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,134 +229,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -388,15 +355,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -430,8 +397,7 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -442,39 +408,38 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -482,9 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -511,8 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -546,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -568,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -646,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,13 +637,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -709,16 +651,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +675,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index fbc7fd65..a845238c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index cc31dfd0..e11da581 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DockerImage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -51,15 +33,16 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,79 +62,71 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tags_.add(s);
-              break;
+            uri_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tags_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 32:
-            {
-              imageSizeBytes_ = input.readInt64();
-              break;
+            tags_.add(s);
+            break;
+          }
+          case 32: {
+
+            imageSizeBytes_ = input.readInt64();
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (uploadTime_ != null) {
+              subBuilder = uploadTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (uploadTime_ != null) {
-                subBuilder = uploadTime_.toBuilder();
-              }
-              uploadTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(uploadTime_);
-                uploadTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(uploadTime_);
+              uploadTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              mediaType_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            mediaType_ = s;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (buildTime_ != null) {
+              subBuilder = buildTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (buildTime_ != null) {
-                subBuilder = buildTime_.toBuilder();
-              }
-              buildTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(buildTime_);
-                buildTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(buildTime_);
+              buildTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +134,8 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -168,27 +144,22 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class,
-            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -203,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -212,15 +182,14 @@ 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. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -235,15 +204,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -254,8 +224,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -263,7 +231,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -272,15 +239,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -288,15 +254,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -307,42 +274,34 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -350,26 +309,22 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -377,7 +332,6 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -388,14 +342,11 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -403,14 +354,11 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ @java.lang.Override @@ -418,8 +366,6 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** - * - * *
    * Time the image was uploaded.
    * 
@@ -434,8 +380,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -444,7 +388,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; - * * @return The mediaType. */ @java.lang.Override @@ -453,15 +396,14 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -470,15 +412,16 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -489,8 +432,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -500,7 +441,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -508,8 +448,6 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -519,7 +457,6 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ @java.lang.Override @@ -527,8 +464,6 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -545,7 +480,6 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -557,7 +491,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -603,16 +538,19 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -622,26 +560,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other =
-        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getUri().equals(other.getUri())) return false;
-    if (!getTagsList().equals(other.getTagsList())) return false;
-    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getUri()
+        .equals(other.getUri())) return false;
+    if (!getTagsList()
+        .equals(other.getTagsList())) return false;
+    if (getImageSizeBytes()
+        != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime().equals(other.getUploadTime())) return false;
+      if (!getUploadTime()
+          .equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType().equals(other.getMediaType())) return false;
+    if (!getMediaType()
+        .equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime().equals(other.getBuildTime())) return false;
+      if (!getBuildTime()
+          .equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -663,7 +607,8 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -680,103 +625,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -788,23 +726,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class,
-              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -812,15 +748,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -850,9 +787,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -871,8 +808,7 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result =
-          new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -901,39 +837,38 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -941,8 +876,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -993,8 +927,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1003,13 +936,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1024,13 +954,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1039,8 +969,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1055,14 +983,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1070,8 +999,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1086,22 +1013,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1116,18 +1041,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1142,16 +1064,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1159,8 +1081,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1168,13 +1088,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1183,8 +1103,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1192,14 +1110,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1207,8 +1126,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1216,22 +1133,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1239,18 +1154,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1258,67 +1170,57 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1326,90 +1228,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -1419,32 +1311,28 @@ public Builder clearTags() { return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_; + private long imageSizeBytes_ ; /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1452,7 +1340,6 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -1460,8 +1347,6 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1469,19 +1354,16 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; - * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1489,11 +1371,10 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; - * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1501,47 +1382,34 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - uploadTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1562,15 +1430,14 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1581,8 +1448,6 @@ public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1593,7 +1458,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1605,8 +1470,6 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1625,8 +1488,6 @@ public Builder clearUploadTime() { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1634,13 +1495,11 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1651,14 +1510,11 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1666,17 +1522,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), getParentForChildren(), isClean()); + uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), + getParentForChildren(), + isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1684,8 +1537,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1694,13 +1545,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; - * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1709,8 +1560,6 @@ public java.lang.String getMediaType() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1719,14 +1568,15 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1734,8 +1584,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1744,22 +1592,20 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
      * 
* * string media_type = 6; - * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType(java.lang.String value) { + public Builder setMediaType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1768,18 +1614,15 @@ public Builder setMediaType(java.lang.String value) {
      * 
* * string media_type = 6; - * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1788,16 +1631,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; - * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1805,13 +1648,8 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - buildTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1821,15 +1659,12 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1839,7 +1674,6 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1850,8 +1684,6 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1876,8 +1708,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1888,7 +1718,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1899,8 +1730,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1915,7 +1744,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1927,8 +1756,6 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1951,8 +1778,6 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1964,13 +1789,11 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-
+      
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1985,12 +1808,11 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -2002,24 +1824,21 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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> 
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(), getParentForChildren(), isClean());
+        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(),
+                getParentForChildren(),
+                isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
-
     @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);
     }
 
@@ -2029,12 +1848,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -2043,16 +1862,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DockerImage parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new DockerImage(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DockerImage parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new DockerImage(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2067,4 +1886,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 23262b8c..320f9fe3 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder
-    extends
+public interface DockerImageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,13 +22,10 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -61,14 +40,12 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -76,13 +53,10 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -90,65 +64,53 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -156,38 +118,29 @@ public interface DockerImageOrBuilder
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
@@ -197,8 +150,6 @@ public interface DockerImageOrBuilder com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -207,13 +158,10 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The mediaType. */ java.lang.String getMediaType(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -222,14 +170,12 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString getMediaTypeBytes(); + com.google.protobuf.ByteString + getMediaTypeBytes(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -239,13 +185,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -255,13 +198,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index ce45d8df..6c52e7ff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -156,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -184,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -193,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -209,15 +178,16 @@ 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 { @@ -228,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -246,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -259,8 +224,6 @@ public java.util.List getHashesLis return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -268,13 +231,11 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -286,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -299,8 +258,6 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -308,21 +265,19 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -330,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -345,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -361,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -376,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -391,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -407,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -423,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -454,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -498,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -520,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = - (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -574,127 +523,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -702,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -765,8 +705,7 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = - new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -798,39 +737,38 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); } else { super.mergeFrom(other); return this; @@ -864,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -911,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -940,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -949,14 +881,15 @@ 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 { @@ -964,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -973,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -996,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1015,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1047,60 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1115,8 +1026,6 @@ public java.util.List getHashesLis } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1131,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1147,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1169,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1189,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1211,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1233,15 +1134,14 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes( + com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1252,8 +1152,6 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder bu return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1272,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1284,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1292,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1311,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1330,44 +1223,39 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1375,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1384,48 +1270,42 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1433,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1494,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1513,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1525,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1537,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1557,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1566,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1583,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1598,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1616,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1677,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1696,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1708,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1720,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1740,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1749,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1766,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1781,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1799,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1821,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1843,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1914,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1928,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 1fcb148d..647b4921 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..b27baa2c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,127 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index f871a896..6adf4d6d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDockerImageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = - new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -630,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..36dc5023 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index 3f8a0fad..ecee545f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = - (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = - new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..8a742290 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index dedb9b29..10915d11 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 76ccce9a..4875af8f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder - extends +public interface GetPackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 3627d4ab..020c6eea 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..35c962cf --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 583d7cc7..048b50e2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -513,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -537,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -629,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..323cd5a0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index 7b8ad00d..b8001a05 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = - (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = - new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..9c1264a9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index acecfccc..87991098 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -455,8 +408,7 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -467,39 +419,38 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -535,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -570,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -592,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -654,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -722,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -770,16 +690,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,4 +714,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index e84fc09e..da00f2d4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index c47f21a7..1c03545a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,49 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -279,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -333,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -363,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,16 +331,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = - (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +361,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -537,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -578,8 +522,7 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = - new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -590,39 +533,38 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); } else { super.mergeFrom(other); return this; @@ -668,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -736,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -761,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -776,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -825,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -839,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index be94835f..d8e3f7f4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index 9c9acac2..bb7e4513 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 421580d3..01ea3691 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 98066536..7ae60022 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index af98cad2..5fc859fc 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 7d39fbec..4ca45085 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..c24b837d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 559cb1cf..8259205d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index 7d91344c..f70fc673 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 6f0a6f0a..2dc5cfd3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -125,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getAp return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index da3615ea..7c5e3ba3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 8a621732..6cdd7e6a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index f04be65c..845066fd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index 85d8b6ca..d6815dc2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index 0771527b..a4a49e76 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 14ed5254..1833db60 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fba0379 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index 82bcbf4b..b2984499 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 2f447836..38d3e8bd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index c3ec50ce..8a51de85 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -125,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getYu return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index 50fe871f..e42fa5ab 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index 5102e43d..d180c24c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -497,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -510,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -584,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -620,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -642,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -719,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -756,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -778,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -800,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 30b4accd..5ba1a827 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder - extends +public interface ListDockerImagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index ac237ea9..4ab80e6e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dockerImages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.DockerImage.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dockerImages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -115,27 +94,22 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** - * - * *
    * The docker images returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getDo return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -174,8 +144,6 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** - * - * *
    * The docker images returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** - * - * *
    * The docker images returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDockerImagesList() + .equals(other.getDockerImagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -456,17 +411,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) { getDockerImagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDockerImagesFieldBuilder() - : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDockerImagesFieldBuilder() : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList( - dockerImages_); + dockerImages_ = new java.util.ArrayList(dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> - dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesList() { + public java.util.List getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -669,8 +605,6 @@ private void ensureDockerImagesIsMutable() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -685,8 +619,6 @@ public int getDockerImagesCount() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** - * - * *
      * The docker images returned.
      * 
@@ -724,8 +654,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -744,8 +672,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -766,8 +692,6 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -789,8 +713,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -809,8 +731,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -829,8 +749,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearDockerImages() { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeDockerImages(int index) { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The docker images returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); - } else { + return dockerImages_.get(index); } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** - * - * *
      * The docker images returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index e0d919e8..c2023b9e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder - extends +public interface ListDockerImagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List getDockerImagesList(); + java.util.List + getDockerImagesList(); /** - * - * *
    * The docker images returned.
    * 
@@ -44,8 +25,6 @@ public interface ListDockerImagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** - * - * *
    * The docker images returned.
    * 
@@ -54,51 +33,43 @@ public interface ListDockerImagesResponseOrBuilder */ int getDockerImagesCount(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 411fed6c..3d55fa27 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -46,15 +28,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +99,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -162,30 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -196,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -211,7 +183,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -220,15 +191,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -242,15 +212,16 @@ 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 { @@ -261,14 +232,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -279,14 +247,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -295,29 +260,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -328,14 +293,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -344,29 +306,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; } } /** - * - * *
    * The field to order the results by.
    * 
* * 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 { @@ -375,7 +337,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -416,7 +378,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -435,19 +398,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.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,127 +442,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -603,15 +560,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +587,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -650,8 +608,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -665,39 +622,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -705,8 +661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -745,8 +700,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -758,21 +712,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -781,22 +733,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -804,64 +755,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,8 +813,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -884,13 +826,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -899,8 +841,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -914,14 +854,15 @@ 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 { @@ -929,8 +870,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -944,22 +883,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -973,18 +910,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -998,31 +932,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1030,36 +961,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1067,20 +992,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1089,21 +1012,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1111,61 +1033,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1173,20 +1088,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The field to order the results by.
      * 
* * 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; @@ -1195,21 +1108,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The field to order the results by.
      * 
* * 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 { @@ -1217,68 +1129,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1288,12 +1193,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1302,16 +1207,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1326,4 +1231,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index b5e92315..1c397163 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,71 +60,58 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index e084224a..9ec076ca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -113,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getFilesList return files_; } /** - * - * *
    * The files returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -172,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -453,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getFilesList } } /** - * - * *
      * The files returned.
      * 
@@ -675,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
@@ -733,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -755,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles( + com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder bui return this; } /** - * - * *
      * The files returned.
      * 
@@ -816,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i } } /** - * - * *
      * The files returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index 1233e9a3..c336fc53 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index 71e6ae6d..a0f89423 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -496,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -509,39 +472,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -581,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -616,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -638,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -715,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -752,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -774,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -796,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -881,16 +812,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index d503daf4..060f2b1f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index de6c46c8..3a627415 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -114,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getPackag return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -173,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -454,17 +411,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) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getPackag } } /** - * - * *
      * The packages returned.
      * 
@@ -679,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -737,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -759,15 +692,14 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -801,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -821,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -879,20 +802,17 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( + int index) { return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** - * - * *
      * The packages returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { - return getPackagesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( + int index) { + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index b1ee1f50..c8f36957 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index 82160ab1..f1d9d7e9 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -457,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -501,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -514,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -626,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -650,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -770,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -792,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -814,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index 90b52eae..fde383a0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 803da10f..1eb77068 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -115,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getRep return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -174,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -456,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -669,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -685,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** - * - * *
      * The repositories returned.
      * 
@@ -724,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -744,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -766,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -789,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -809,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -829,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** - * - * *
      * The repositories returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index 1654957b..ac72a01a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,51 +33,43 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 968a6cf3..86938b7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -574,8 +535,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -588,39 +548,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -664,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -677,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -699,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -721,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -795,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -810,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -822,14 +765,15 @@ 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 { @@ -837,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -849,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -875,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -897,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -929,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -966,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -988,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1010,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1095,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 0bf5fee0..338c640b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index f93eed7a..c34a1b83 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -113,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTagsList() return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -172,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -453,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getTagsList() } } /** - * - * *
      * The tags returned.
      * 
@@ -675,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
@@ -733,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -755,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder build return this; } /** - * - * *
      * The tags returned.
      * 
@@ -816,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int } } /** - * - * *
      * The tags returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 8a0a118f..53f7130a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index b73c0779..7e27c2e6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -625,8 +571,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -640,39 +585,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; @@ -680,8 +624,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -719,8 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -754,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -776,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -853,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -890,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -912,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -934,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -996,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1064,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1089,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1111,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1133,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1204,12 +1088,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1218,16 +1102,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,4 +1126,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index bbed7b15..039f3d9b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 1acb4394..7ef4d76b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -114,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getVersio return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -173,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -454,17 +411,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) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getVersio } } /** - * - * *
      * The versions returned.
      * 
@@ -679,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -737,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -759,15 +692,14 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -801,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -821,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -879,20 +802,17 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( + int index) { return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** - * - * *
      * The versions returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { - return getVersionsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( + int index) { + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index 610ee3e0..d7fd7ec0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index 6737d59a..d94e616c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = - (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = - new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -432,16 +400,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..e3a558ac --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index 1736129a..b8110e19 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,33 +106,29 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -172,15 +144,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -188,15 +159,16 @@ 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 { @@ -207,14 +179,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -223,29 +192,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -256,14 +225,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -271,14 +237,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -286,8 +249,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -302,15 +263,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -318,15 +276,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -334,8 +289,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -349,7 +302,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -361,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -390,10 +343,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -403,23 +358,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other =
-        (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -449,127 +407,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -577,15 +526,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -630,8 +580,7 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = - new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -652,39 +601,38 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); } else { super.mergeFrom(other); return this; @@ -692,8 +640,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -739,8 +686,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -748,13 +693,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -763,8 +708,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -772,14 +715,15 @@ 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 { @@ -787,8 +731,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -796,22 +738,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -819,18 +759,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -838,16 +775,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -855,20 +792,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -877,21 +812,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -899,61 +833,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -961,47 +888,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1022,15 +936,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1041,8 +954,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1053,7 +964,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1065,8 +976,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1085,8 +994,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1094,13 +1001,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1111,14 +1016,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1126,17 +1028,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1144,49 +1043,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1208,8 +1094,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1217,7 +1101,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1228,8 +1113,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1241,7 +1124,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1253,8 +1136,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1274,8 +1155,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1284,13 +1163,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1302,14 +1179,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1318,24 +1192,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1345,12 +1216,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1359,16 +1230,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1383,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 23149f99..94ad9830 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -33,13 +15,10 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -47,63 +26,50 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -113,34 +79,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..7b437e4a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa" +
+      "ckage.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032\037google/pro" +
+      "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" +
+      "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" +
+      "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" +
+      "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" +
+      "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" +
+      "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
+      "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" +
+      "ckages\030\001 \003(\0132,.google.devtools.artifactr" +
+      "egistry.v1.Package\022\027\n\017next_page_token\030\002 " +
+      "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" +
+      "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" +
+      "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" +
+      "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" +
+      "g.org/genproto/googleapis/devtools/artif" +
+      "actregistry/v1;artifactregistry\252\002 Google" +
+      ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" +
+      "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" +
+      "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 3be659f8..4f9ae440 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = - (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -654,8 +578,7 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = - new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -666,39 +589,38 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -706,8 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -734,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -747,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -758,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -773,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -784,14 +700,15 @@ 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 { @@ -799,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -810,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -835,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -856,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -873,112 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -988,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -1002,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index fba88646..0eb8aa35 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2b2685c2..2a08d6b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,51 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -860,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -880,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -896,16 +761,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -919,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -927,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1031,8 +883,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -1041,42 +891,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                    .class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1088,22 +934,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-            .getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1111,10 +954,8 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -1125,54 +966,46 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom(
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
+        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other
-            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1194,14 +1027,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
-            null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1211,17 +1041,14 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_;
+      private boolean allowSnapshotOverwrites_ ;
       /**
-       *
-       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1229,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1268,113 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1387,33 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1457,36 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1494,61 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1557,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1591,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1645,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1676,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1701,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1713,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1740,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1757,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1778,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1792,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1807,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1822,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1838,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1853,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1868,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1884,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1894,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1903,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1920,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1937,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1949,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1973,9 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1989,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2031,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = - (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2105,146 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -2252,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2291,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2312,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = - new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2347,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); } else { super.mergeFrom(other); return this; @@ -2387,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2400,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2412,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2441,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2451,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2469,21 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2491,49 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2547,19 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2570,29 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2608,15 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2635,101 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2738,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2761,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2826,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2894,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2919,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2941,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2963,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3049,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3061,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3105,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3127,11 +2744,12 @@ public 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();
       }
@@ -3139,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3155,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3180,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3204,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3272,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3291,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3303,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3315,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3335,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3344,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3361,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3376,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3394,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3455,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3474,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3486,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3498,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3518,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3527,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3544,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3559,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3577,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3587,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3602,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3612,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3627,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3637,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3661,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3681,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3707,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3721,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3745,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 7d3073f7..2924cb46 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,150 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -157,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -169,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -186,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -202,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -219,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -257,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -292,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -302,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -317,10 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..c29b26fa --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,203 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..cf63a61d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..db067c93 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 685934c5..2fdced91 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class,
-            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = - (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class,
-              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result =
-          new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -580,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -595,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -606,14 +566,15 @@ 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 { @@ -621,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -657,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -678,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -705,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -720,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -730,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -755,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -779,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -799,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -839,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index 5051621c..b4c2b5af 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..a0942140 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 942b8253..68968ca2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -180,22 +146,18 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -232,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -261,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,21 +233,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -315,145 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,16 +422,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -496,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -516,51 +462,46 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -586,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -682,22 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -709,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -729,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -772,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -790,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -851,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -870,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -882,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -894,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -914,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -940,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -955,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -982,32 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1019,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 21bc4289..4b6628d6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
@@ -59,32 +35,24 @@ public interface UpdateProjectSettingsRequestOrBuilder com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 5076bc12..04973de1 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -448,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -498,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -518,50 +468,46 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -587,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -662,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -682,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -694,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -708,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -728,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -737,13 +658,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -754,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -769,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -787,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -801,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -817,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -854,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -864,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -875,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -889,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -901,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -923,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -934,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -953,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -970,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -997,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 3fd08ad0..2c406dff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 067c0f7b..578f5f70 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,14 +127,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ @java.lang.Override @@ -168,8 +139,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -184,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -193,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -201,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -210,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -234,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -246,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -263,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -276,21 +239,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -317,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -445,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -494,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -514,39 +468,38 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -554,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -581,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -655,15 +593,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -674,8 +611,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -686,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -700,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -720,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -729,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -746,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -761,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -779,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -793,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -809,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -846,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -856,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -867,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -881,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -893,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -915,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -926,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -945,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -962,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -989,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -1003,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1027,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 08f6fdb8..11c3721e 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index 75a5b997..f20b3e2a 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,83 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -168,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class,
-            com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -197,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -206,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -223,15 +190,16 @@ 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 { @@ -242,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -258,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -291,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -306,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -321,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -337,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -352,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -367,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -383,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,8 +344,6 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -407,13 +352,11 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -426,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -440,8 +381,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -450,15 +389,14 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -467,7 +405,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -475,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -485,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -493,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -510,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -557,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -576,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other =
-        (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -635,104 +576,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -741,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class,
-              com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -765,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -811,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -832,8 +764,7 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result =
-          new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -869,39 +800,38 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -909,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -943,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -983,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -998,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1013,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1023,14 +946,15 @@ 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 { @@ -1038,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1048,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1072,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1092,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1109,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1131,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1153,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1215,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1276,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1295,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1307,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1319,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1339,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1348,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1365,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1380,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1398,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1459,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1478,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1490,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1502,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1522,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1531,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1548,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1563,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1614,8 +1458,6 @@ public java.util.List getRelatedTag
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1631,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1657,7 +1495,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1671,8 +1510,6 @@ public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1692,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1715,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1724,7 +1557,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1738,8 +1572,6 @@ public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1759,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1780,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1793,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1801,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1821,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1841,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1850,12 +1673,11 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
+        int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1863,16 +1685,14 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+        int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1880,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1889,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1899,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1912,13 +1728,12 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
+        int index) {
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1926,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag,
-            com.google.devtools.artifactregistry.v1.Tag.Builder,
-            com.google.devtools.artifactregistry.v1.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1.Tag,
-                com.google.devtools.artifactregistry.v1.Tag.Builder,
-                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1950,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1964,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1982,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1995,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2004,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2021,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2030,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2044,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2053,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2072,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2081,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2096,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2105,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2123,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2143,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2174,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -2188,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2212,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index ec27cb32..c340f728 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..e4184f9e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,141 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve" +
+      "rsion.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032-google/dev" +
+      "tools/artifactregistry/v1/tag.proto\032\034goo" +
+      "gle/protobuf/struct.proto\032\037google/protob" +
+      "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" +
+      " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" +
+      "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" +
+      "date_time\030\006 \001(\0132\032.google.protobuf.Timest" +
+      "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" +
+      "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" +
+      "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" +
+      "\222\001\n\'artifactregistry.googleapis.com/Vers" +
+      "ion\022gprojects/{project}/locations/{locat" +
+      "ion}/repositories/{repository}/packages/" +
+      "{package}/versions/{version}\"\243\001\n\023ListVer" +
+      "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" +
+      "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" +
+      "\01620.google.devtools.artifactregistry.v1." +
+      "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" +
+      "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" +
+      "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" +
+      " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" +
+      "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" +
+      "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" +
+      "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" +
+      ".org/genproto/googleapis/devtools/artifa" +
+      "ctregistry/v1;artifactregistry\252\002 Google." +
+      "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" +
+      "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" +
+      "tifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index c210c72e..95df7c74 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index d66ad118..6b5bbc99 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,16 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -528,10 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -544,18 +480,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = - (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -581,126 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -708,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -753,8 +683,7 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = - new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -767,39 +696,38 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -807,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -843,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -878,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -900,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -962,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -984,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1006,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1068,103 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1172,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1194,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1216,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1301,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index a9ba7500..856803b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..1ec8e04d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 97% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index c0b7222a..0745ec28 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -20,6 +20,7 @@ import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -36,7 +37,6 @@ import com.google.iam.v1.TestIamPermissionsRequest; import com.google.iam.v1.TestIamPermissionsResponse; import com.google.longrunning.Operation; -import com.google.longrunning.OperationsClient; import com.google.protobuf.Empty; import com.google.protobuf.FieldMask; import java.io.IOException; @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

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

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -131,7 +146,8 @@ public class ArtifactRegistryClient implements BackgroundResource { private final ArtifactRegistrySettings settings; private final ArtifactRegistryStub stub; - private final OperationsClient operationsClient; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; /** Constructs an instance of ArtifactRegistryClient with default settings. */ public static final ArtifactRegistryClient create() throws IOException { @@ -163,13 +179,17 @@ public static final ArtifactRegistryClient create(ArtifactRegistryStub stub) { protected ArtifactRegistryClient(ArtifactRegistrySettings settings) throws IOException { this.settings = settings; this.stub = ((ArtifactRegistryStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } protected ArtifactRegistryClient(ArtifactRegistryStub stub) { this.settings = null; this.stub = stub; - this.operationsClient = OperationsClient.create(this.stub.getOperationsStub()); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); } public final ArtifactRegistrySettings getSettings() { @@ -184,10 +204,18 @@ public ArtifactRegistryStub getStub() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ - public final OperationsClient getOperationsClient() { + public final com.google.longrunning.OperationsClient getOperationsClient() { return operationsClient; } + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Imports Apt artifacts. The returned Operation will complete once the resources are imported. @@ -2518,10 +2546,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2571,10 +2596,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2595,10 +2617,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2647,10 +2666,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2670,10 +2686,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2722,10 +2735,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 95% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 3968efc5..780baf15 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -27,11 +27,13 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -53,10 +55,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -282,11 +284,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ArtifactRegistryStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ArtifactRegistryStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ArtifactRegistryStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ArtifactRegistryStubSettings.defaultTransportChannelProvider(); } @@ -296,11 +305,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ArtifactRegistryStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -338,6 +353,11 @@ private static Builder createDefault() { return new Builder(ArtifactRegistryStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ArtifactRegistryStubSettings.newHttpJsonBuilder()); + } + public ArtifactRegistryStubSettings.Builder getStubSettingsBuilder() { return ((ArtifactRegistryStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index 2ee2d5f4..ce7d976f 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java index fd89506e..09bb9e30 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java @@ -85,7 +85,11 @@ public abstract class ArtifactRegistryStub implements BackgroundResource { public OperationsStub getOperationsStub() { - throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; } public OperationCallable< diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 96% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index d1764467..19b4b858 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -32,6 +32,9 @@ import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; import com.google.api.gax.retrying.RetrySettings; @@ -109,10 +112,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -645,6 +648,11 @@ public ArtifactRegistryStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcArtifactRegistryStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonArtifactRegistryStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -677,18 +685,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(ArtifactRegistryStubSettings.class)) @@ -696,11 +711,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ArtifactRegistryStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ArtifactRegistryStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -1002,6 +1036,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .importAptArtifactsSettings() diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index 322bd754..d73deacf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,6 +80,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java new file mode 100644 index 00000000..797c2d07 --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.devtools.artifactregistry.v1beta2.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the ArtifactRegistry service API. + * + *

This class is for advanced usage. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonArtifactRegistryCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @BetaApi( + "The surface for long-running operations is not stable yet and may change in the future.") + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java new file mode 100644 index 00000000..3c97ce78 --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java @@ -0,0 +1,1649 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.devtools.artifactregistry.v1beta2.stub; + +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListFilesPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListPackagesPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListRepositoriesPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListTagsPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListVersionsPagedResponse; + +import com.google.api.core.BetaApi; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +import com.google.api.gax.httpjson.ProtoMessageResponseParser; +import com.google.api.gax.httpjson.ProtoRestSerializer; +import com.google.api.gax.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.UnaryCallable; +import com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest; +import com.google.devtools.artifactregistry.v1beta2.CreateTagRequest; +import com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest; +import com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest; +import com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest; +import com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest; +import com.google.devtools.artifactregistry.v1beta2.File; +import com.google.devtools.artifactregistry.v1beta2.GetFileRequest; +import com.google.devtools.artifactregistry.v1beta2.GetPackageRequest; +import com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest; +import com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest; +import com.google.devtools.artifactregistry.v1beta2.GetTagRequest; +import com.google.devtools.artifactregistry.v1beta2.GetVersionRequest; +import com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata; +import com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest; +import com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse; +import com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata; +import com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest; +import com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse; +import com.google.devtools.artifactregistry.v1beta2.ListFilesRequest; +import com.google.devtools.artifactregistry.v1beta2.ListFilesResponse; +import com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest; +import com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse; +import com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest; +import com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse; +import com.google.devtools.artifactregistry.v1beta2.ListTagsRequest; +import com.google.devtools.artifactregistry.v1beta2.ListTagsResponse; +import com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest; +import com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse; +import com.google.devtools.artifactregistry.v1beta2.OperationMetadata; +import com.google.devtools.artifactregistry.v1beta2.Package; +import com.google.devtools.artifactregistry.v1beta2.ProjectSettings; +import com.google.devtools.artifactregistry.v1beta2.Repository; +import com.google.devtools.artifactregistry.v1beta2.Tag; +import com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest; +import com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest; +import com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest; +import com.google.devtools.artifactregistry.v1beta2.Version; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the ArtifactRegistry service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonArtifactRegistryStub extends ArtifactRegistryStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Empty.getDescriptor()) + .add(Repository.getDescriptor()) + .add(ImportYumArtifactsResponse.getDescriptor()) + .add(OperationMetadata.getDescriptor()) + .add(ImportYumArtifactsMetadata.getDescriptor()) + .add(ImportAptArtifactsMetadata.getDescriptor()) + .add(ImportAptArtifactsResponse.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + importAptArtifactsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ImportAptArtifacts") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*}/aptArtifacts:import", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ImportAptArtifactsRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + importYumArtifactsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ImportYumArtifacts") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*}/yumArtifacts:import", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearParent().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ImportYumArtifactsRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listRepositoriesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ListRepositories") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*}/repositories", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListRepositoriesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetRepository") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/CreateRepository") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*}/repositories", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam( + fields, "repositoryId", request.getRepositoryId()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("repository", request.getRepository())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateRepositoryRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + updateRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/UpdateRepository") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{repository.name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, "repository.name", request.getRepository().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("repository", request.getRepository())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Repository.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteRepositoryMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/DeleteRepository") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteRepositoryRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listPackagesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ListPackages") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*}/packages", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListPackagesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getPackageMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetPackage") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Package.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deletePackageMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/DeletePackage") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeletePackageRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listVersionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ListVersions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/versions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListVersionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getVersionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetVersion") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Version.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + deleteVersionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/DeleteVersion") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/versions/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "force", request.getForce()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteVersionRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + listFilesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ListFiles") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*}/files", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListFilesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getFileMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetFile") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/files/**}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(File.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listTagsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/ListTags") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListTagsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor getTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetTag") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Tag.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor createTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/CreateTag") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{parent=projects/*/locations/*/repositories/*/packages/*}/tags", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "tagId", request.getTagId()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("tag", request.getTag())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Tag.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor updateTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/UpdateTag") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{tag.name=projects/*/locations/*/repositories/*/packages/*/tags/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "tag.name", request.getTag().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> ProtoRestSerializer.create().toBody("tag", request.getTag())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Tag.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor deleteTagMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.devtools.artifactregistry.v1beta2.ArtifactRegistry/DeleteTag") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/locations/*/repositories/*/packages/*/tags/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Empty.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + setIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/SetIamPolicy") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{resource=projects/*/locations/*/repositories/*}:setIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getIamPolicyMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetIamPolicy") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{resource=projects/*/locations/*/repositories/*}:getIamPolicy", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "options", request.getOptions()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Policy.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + testIamPermissionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/TestIamPermissions") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{resource=projects/*/locations/*/repositories/*}:testIamPermissions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "resource", request.getResource()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearResource().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(TestIamPermissionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getProjectSettingsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/GetProjectSettings") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{name=projects/*/projectSettings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ProjectSettings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + updateProjectSettingsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry/UpdateProjectSettings") + .setHttpMethod("PATCH") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta2/{projectSettings.name=projects/*/projectSettings}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam( + fields, + "projectSettings.name", + request.getProjectSettings().getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("projectSettings", request.getProjectSettings())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ProjectSettings.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable importAptArtifactsCallable; + private final OperationCallable< + ImportAptArtifactsRequest, ImportAptArtifactsResponse, ImportAptArtifactsMetadata> + importAptArtifactsOperationCallable; + private final UnaryCallable importYumArtifactsCallable; + private final OperationCallable< + ImportYumArtifactsRequest, ImportYumArtifactsResponse, ImportYumArtifactsMetadata> + importYumArtifactsOperationCallable; + private final UnaryCallable + listRepositoriesCallable; + private final UnaryCallable + listRepositoriesPagedCallable; + private final UnaryCallable getRepositoryCallable; + private final UnaryCallable createRepositoryCallable; + private final OperationCallable + createRepositoryOperationCallable; + private final UnaryCallable updateRepositoryCallable; + private final UnaryCallable deleteRepositoryCallable; + private final OperationCallable + deleteRepositoryOperationCallable; + private final UnaryCallable listPackagesCallable; + private final UnaryCallable + listPackagesPagedCallable; + private final UnaryCallable getPackageCallable; + private final UnaryCallable deletePackageCallable; + private final OperationCallable + deletePackageOperationCallable; + private final UnaryCallable listVersionsCallable; + private final UnaryCallable + listVersionsPagedCallable; + private final UnaryCallable getVersionCallable; + private final UnaryCallable deleteVersionCallable; + private final OperationCallable + deleteVersionOperationCallable; + private final UnaryCallable listFilesCallable; + private final UnaryCallable listFilesPagedCallable; + private final UnaryCallable getFileCallable; + private final UnaryCallable listTagsCallable; + private final UnaryCallable listTagsPagedCallable; + private final UnaryCallable getTagCallable; + private final UnaryCallable createTagCallable; + private final UnaryCallable updateTagCallable; + private final UnaryCallable deleteTagCallable; + private final UnaryCallable setIamPolicyCallable; + private final UnaryCallable getIamPolicyCallable; + private final UnaryCallable + testIamPermissionsCallable; + private final UnaryCallable + getProjectSettingsCallable; + private final UnaryCallable + updateProjectSettingsCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonArtifactRegistryStub create(ArtifactRegistryStubSettings settings) + throws IOException { + return new HttpJsonArtifactRegistryStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonArtifactRegistryStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonArtifactRegistryStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonArtifactRegistryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonArtifactRegistryCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonArtifactRegistryStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonArtifactRegistryStub( + ArtifactRegistryStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create(clientContext, callableFactory, typeRegistry); + + HttpJsonCallSettings importAptArtifactsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importAptArtifactsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings importYumArtifactsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importYumArtifactsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + listRepositoriesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listRepositoriesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteRepositoryTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteRepositoryMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listPackagesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listPackagesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getPackageTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getPackageMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deletePackageTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deletePackageMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listVersionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listVersionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getVersionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getVersionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteVersionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteVersionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listFilesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listFilesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getFileTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getFileMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings listTagsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listTagsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings updateTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings deleteTagTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteTagMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings setIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(setIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getIamPolicyTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIamPolicyMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + testIamPermissionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(testIamPermissionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + getProjectSettingsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getProjectSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings + updateProjectSettingsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(updateProjectSettingsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.importAptArtifactsCallable = + callableFactory.createUnaryCallable( + importAptArtifactsTransportSettings, + settings.importAptArtifactsSettings(), + clientContext); + this.importAptArtifactsOperationCallable = + callableFactory.createOperationCallable( + importAptArtifactsTransportSettings, + settings.importAptArtifactsOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.importYumArtifactsCallable = + callableFactory.createUnaryCallable( + importYumArtifactsTransportSettings, + settings.importYumArtifactsSettings(), + clientContext); + this.importYumArtifactsOperationCallable = + callableFactory.createOperationCallable( + importYumArtifactsTransportSettings, + settings.importYumArtifactsOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listRepositoriesCallable = + callableFactory.createUnaryCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.listRepositoriesPagedCallable = + callableFactory.createPagedCallable( + listRepositoriesTransportSettings, settings.listRepositoriesSettings(), clientContext); + this.getRepositoryCallable = + callableFactory.createUnaryCallable( + getRepositoryTransportSettings, settings.getRepositorySettings(), clientContext); + this.createRepositoryCallable = + callableFactory.createUnaryCallable( + createRepositoryTransportSettings, settings.createRepositorySettings(), clientContext); + this.createRepositoryOperationCallable = + callableFactory.createOperationCallable( + createRepositoryTransportSettings, + settings.createRepositoryOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.updateRepositoryCallable = + callableFactory.createUnaryCallable( + updateRepositoryTransportSettings, settings.updateRepositorySettings(), clientContext); + this.deleteRepositoryCallable = + callableFactory.createUnaryCallable( + deleteRepositoryTransportSettings, settings.deleteRepositorySettings(), clientContext); + this.deleteRepositoryOperationCallable = + callableFactory.createOperationCallable( + deleteRepositoryTransportSettings, + settings.deleteRepositoryOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listPackagesCallable = + callableFactory.createUnaryCallable( + listPackagesTransportSettings, settings.listPackagesSettings(), clientContext); + this.listPackagesPagedCallable = + callableFactory.createPagedCallable( + listPackagesTransportSettings, settings.listPackagesSettings(), clientContext); + this.getPackageCallable = + callableFactory.createUnaryCallable( + getPackageTransportSettings, settings.getPackageSettings(), clientContext); + this.deletePackageCallable = + callableFactory.createUnaryCallable( + deletePackageTransportSettings, settings.deletePackageSettings(), clientContext); + this.deletePackageOperationCallable = + callableFactory.createOperationCallable( + deletePackageTransportSettings, + settings.deletePackageOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listVersionsCallable = + callableFactory.createUnaryCallable( + listVersionsTransportSettings, settings.listVersionsSettings(), clientContext); + this.listVersionsPagedCallable = + callableFactory.createPagedCallable( + listVersionsTransportSettings, settings.listVersionsSettings(), clientContext); + this.getVersionCallable = + callableFactory.createUnaryCallable( + getVersionTransportSettings, settings.getVersionSettings(), clientContext); + this.deleteVersionCallable = + callableFactory.createUnaryCallable( + deleteVersionTransportSettings, settings.deleteVersionSettings(), clientContext); + this.deleteVersionOperationCallable = + callableFactory.createOperationCallable( + deleteVersionTransportSettings, + settings.deleteVersionOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.listFilesCallable = + callableFactory.createUnaryCallable( + listFilesTransportSettings, settings.listFilesSettings(), clientContext); + this.listFilesPagedCallable = + callableFactory.createPagedCallable( + listFilesTransportSettings, settings.listFilesSettings(), clientContext); + this.getFileCallable = + callableFactory.createUnaryCallable( + getFileTransportSettings, settings.getFileSettings(), clientContext); + this.listTagsCallable = + callableFactory.createUnaryCallable( + listTagsTransportSettings, settings.listTagsSettings(), clientContext); + this.listTagsPagedCallable = + callableFactory.createPagedCallable( + listTagsTransportSettings, settings.listTagsSettings(), clientContext); + this.getTagCallable = + callableFactory.createUnaryCallable( + getTagTransportSettings, settings.getTagSettings(), clientContext); + this.createTagCallable = + callableFactory.createUnaryCallable( + createTagTransportSettings, settings.createTagSettings(), clientContext); + this.updateTagCallable = + callableFactory.createUnaryCallable( + updateTagTransportSettings, settings.updateTagSettings(), clientContext); + this.deleteTagCallable = + callableFactory.createUnaryCallable( + deleteTagTransportSettings, settings.deleteTagSettings(), clientContext); + this.setIamPolicyCallable = + callableFactory.createUnaryCallable( + setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); + this.getIamPolicyCallable = + callableFactory.createUnaryCallable( + getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); + this.testIamPermissionsCallable = + callableFactory.createUnaryCallable( + testIamPermissionsTransportSettings, + settings.testIamPermissionsSettings(), + clientContext); + this.getProjectSettingsCallable = + callableFactory.createUnaryCallable( + getProjectSettingsTransportSettings, + settings.getProjectSettingsSettings(), + clientContext); + this.updateProjectSettingsCallable = + callableFactory.createUnaryCallable( + updateProjectSettingsTransportSettings, + settings.updateProjectSettingsSettings(), + clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(importAptArtifactsMethodDescriptor); + methodDescriptors.add(importYumArtifactsMethodDescriptor); + methodDescriptors.add(listRepositoriesMethodDescriptor); + methodDescriptors.add(getRepositoryMethodDescriptor); + methodDescriptors.add(createRepositoryMethodDescriptor); + methodDescriptors.add(updateRepositoryMethodDescriptor); + methodDescriptors.add(deleteRepositoryMethodDescriptor); + methodDescriptors.add(listPackagesMethodDescriptor); + methodDescriptors.add(getPackageMethodDescriptor); + methodDescriptors.add(deletePackageMethodDescriptor); + methodDescriptors.add(listVersionsMethodDescriptor); + methodDescriptors.add(getVersionMethodDescriptor); + methodDescriptors.add(deleteVersionMethodDescriptor); + methodDescriptors.add(listFilesMethodDescriptor); + methodDescriptors.add(getFileMethodDescriptor); + methodDescriptors.add(listTagsMethodDescriptor); + methodDescriptors.add(getTagMethodDescriptor); + methodDescriptors.add(createTagMethodDescriptor); + methodDescriptors.add(updateTagMethodDescriptor); + methodDescriptors.add(deleteTagMethodDescriptor); + methodDescriptors.add(setIamPolicyMethodDescriptor); + methodDescriptors.add(getIamPolicyMethodDescriptor); + methodDescriptors.add(testIamPermissionsMethodDescriptor); + methodDescriptors.add(getProjectSettingsMethodDescriptor); + methodDescriptors.add(updateProjectSettingsMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable importAptArtifactsCallable() { + return importAptArtifactsCallable; + } + + @Override + public OperationCallable< + ImportAptArtifactsRequest, ImportAptArtifactsResponse, ImportAptArtifactsMetadata> + importAptArtifactsOperationCallable() { + return importAptArtifactsOperationCallable; + } + + @Override + public UnaryCallable importYumArtifactsCallable() { + return importYumArtifactsCallable; + } + + @Override + public OperationCallable< + ImportYumArtifactsRequest, ImportYumArtifactsResponse, ImportYumArtifactsMetadata> + importYumArtifactsOperationCallable() { + return importYumArtifactsOperationCallable; + } + + @Override + public UnaryCallable + listRepositoriesCallable() { + return listRepositoriesCallable; + } + + @Override + public UnaryCallable + listRepositoriesPagedCallable() { + return listRepositoriesPagedCallable; + } + + @Override + public UnaryCallable getRepositoryCallable() { + return getRepositoryCallable; + } + + @Override + public UnaryCallable createRepositoryCallable() { + return createRepositoryCallable; + } + + @Override + public OperationCallable + createRepositoryOperationCallable() { + return createRepositoryOperationCallable; + } + + @Override + public UnaryCallable updateRepositoryCallable() { + return updateRepositoryCallable; + } + + @Override + public UnaryCallable deleteRepositoryCallable() { + return deleteRepositoryCallable; + } + + @Override + public OperationCallable + deleteRepositoryOperationCallable() { + return deleteRepositoryOperationCallable; + } + + @Override + public UnaryCallable listPackagesCallable() { + return listPackagesCallable; + } + + @Override + public UnaryCallable listPackagesPagedCallable() { + return listPackagesPagedCallable; + } + + @Override + public UnaryCallable getPackageCallable() { + return getPackageCallable; + } + + @Override + public UnaryCallable deletePackageCallable() { + return deletePackageCallable; + } + + @Override + public OperationCallable + deletePackageOperationCallable() { + return deletePackageOperationCallable; + } + + @Override + public UnaryCallable listVersionsCallable() { + return listVersionsCallable; + } + + @Override + public UnaryCallable listVersionsPagedCallable() { + return listVersionsPagedCallable; + } + + @Override + public UnaryCallable getVersionCallable() { + return getVersionCallable; + } + + @Override + public UnaryCallable deleteVersionCallable() { + return deleteVersionCallable; + } + + @Override + public OperationCallable + deleteVersionOperationCallable() { + return deleteVersionOperationCallable; + } + + @Override + public UnaryCallable listFilesCallable() { + return listFilesCallable; + } + + @Override + public UnaryCallable listFilesPagedCallable() { + return listFilesPagedCallable; + } + + @Override + public UnaryCallable getFileCallable() { + return getFileCallable; + } + + @Override + public UnaryCallable listTagsCallable() { + return listTagsCallable; + } + + @Override + public UnaryCallable listTagsPagedCallable() { + return listTagsPagedCallable; + } + + @Override + public UnaryCallable getTagCallable() { + return getTagCallable; + } + + @Override + public UnaryCallable createTagCallable() { + return createTagCallable; + } + + @Override + public UnaryCallable updateTagCallable() { + return updateTagCallable; + } + + @Override + public UnaryCallable deleteTagCallable() { + return deleteTagCallable; + } + + @Override + public UnaryCallable setIamPolicyCallable() { + return setIamPolicyCallable; + } + + @Override + public UnaryCallable getIamPolicyCallable() { + return getIamPolicyCallable; + } + + @Override + public UnaryCallable + testIamPermissionsCallable() { + return testIamPermissionsCallable; + } + + @Override + public UnaryCallable getProjectSettingsCallable() { + return getProjectSettingsCallable; + } + + @Override + public UnaryCallable + updateProjectSettingsCallable() { + return updateProjectSettingsCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java new file mode 100644 index 00000000..194736b2 --- /dev/null +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java @@ -0,0 +1,1627 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.devtools.artifactregistry.v1beta2; + +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListFilesPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListPackagesPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListRepositoriesPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListTagsPagedResponse; +import static com.google.devtools.artifactregistry.v1beta2.ArtifactRegistryClient.ListVersionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.common.collect.Lists; +import com.google.devtools.artifactregistry.v1beta2.stub.HttpJsonArtifactRegistryStub; +import com.google.iam.v1.AuditConfig; +import com.google.iam.v1.Binding; +import com.google.iam.v1.GetIamPolicyRequest; +import com.google.iam.v1.GetPolicyOptions; +import com.google.iam.v1.Policy; +import com.google.iam.v1.SetIamPolicyRequest; +import com.google.iam.v1.TestIamPermissionsRequest; +import com.google.iam.v1.TestIamPermissionsResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.ByteString; +import com.google.protobuf.Empty; +import com.google.protobuf.FieldMask; +import com.google.protobuf.Struct; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ArtifactRegistryClientHttpJsonTest { + private static MockHttpService mockService; + private static ArtifactRegistryClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonArtifactRegistryStub.getMethodDescriptors(), + ArtifactRegistrySettings.getDefaultEndpoint()); + ArtifactRegistrySettings settings = + ArtifactRegistrySettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ArtifactRegistrySettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ArtifactRegistryClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void importAptArtifactsTest() throws Exception { + ImportAptArtifactsResponse expectedResponse = + ImportAptArtifactsResponse.newBuilder() + .addAllAptArtifacts(new ArrayList()) + .addAllErrors(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importAptArtifactsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ImportAptArtifactsRequest request = + ImportAptArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + + ImportAptArtifactsResponse actualResponse = client.importAptArtifactsAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importAptArtifactsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ImportAptArtifactsRequest request = + ImportAptArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + client.importAptArtifactsAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void importYumArtifactsTest() throws Exception { + ImportYumArtifactsResponse expectedResponse = + ImportYumArtifactsResponse.newBuilder() + .addAllYumArtifacts(new ArrayList()) + .addAllErrors(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importYumArtifactsTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + ImportYumArtifactsRequest request = + ImportYumArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + + ImportYumArtifactsResponse actualResponse = client.importYumArtifactsAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importYumArtifactsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ImportYumArtifactsRequest request = + ImportYumArtifactsRequest.newBuilder() + .setParent( + "projects/project-9015/locations/location-9015/repositories/repositorie-9015") + .build(); + client.importYumArtifactsAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listRepositoriesTest() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listRepositoriesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listRepositoriesTest2() throws Exception { + Repository responsesElement = Repository.newBuilder().build(); + ListRepositoriesResponse expectedResponse = + ListRepositoriesResponse.newBuilder() + .setNextPageToken("") + .addAllRepositories(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-5833/locations/location-5833"; + + ListRepositoriesPagedResponse pagedListResponse = client.listRepositories(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getRepositoriesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listRepositoriesExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + client.listRepositories(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + mockService.addResponse(expectedResponse); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + + Repository actualResponse = client.getRepository(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + client.getRepository(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createRepositoryTest2() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String parent = "projects/project-5833/locations/location-5833"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + + Repository actualResponse = + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-5833/locations/location-5833"; + Repository repository = Repository.newBuilder().build(); + String repositoryId = "repositoryId2113747461"; + client.createRepositoryAsync(parent, repository, repositoryId).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void updateRepositoryTest() throws Exception { + Repository expectedResponse = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + mockService.addResponse(expectedResponse); + + Repository repository = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Repository actualResponse = client.updateRepository(repository, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Repository repository = + Repository.newBuilder() + .setName(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setDescription("description-1724546052") + .putAllLabels(new HashMap()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setKmsKeyName("kmsKeyName412586233") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateRepository(repository, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteRepositoryTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + + client.deleteRepositoryAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteRepositoryExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + RepositoryName name = RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]"); + client.deleteRepositoryAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteRepositoryTest2() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteRepositoryTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + + client.deleteRepositoryAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteRepositoryExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-4840/locations/location-4840/repositories/repositorie-4840"; + client.deleteRepositoryAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listPackagesTest() throws Exception { + Package responsesElement = Package.newBuilder().build(); + ListPackagesResponse expectedResponse = + ListPackagesResponse.newBuilder() + .setNextPageToken("") + .addAllPackages(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListPackagesPagedResponse pagedListResponse = client.listPackages(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getPackagesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listPackagesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listPackages(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getPackageTest() throws Exception { + Package expectedResponse = + Package.newBuilder() + .setName("name3373707") + .setDisplayName("displayName1714148973") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + + Package actualResponse = client.getPackage(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getPackageExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + client.getPackage(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deletePackageTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deletePackageTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + + client.deletePackageAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deletePackageExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-639/locations/location-639/repositories/repositorie-639/packages/package-639"; + client.deletePackageAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listVersionsTest() throws Exception { + Version responsesElement = Version.newBuilder().build(); + ListVersionsResponse expectedResponse = + ListVersionsResponse.newBuilder() + .setNextPageToken("") + .addAllVersions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + + ListVersionsPagedResponse pagedListResponse = client.listVersions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getVersionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listVersionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + client.listVersions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getVersionTest() throws Exception { + Version expectedResponse = + Version.newBuilder() + .setName("name3373707") + .setDescription("description-1724546052") + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .addAllRelatedTags(new ArrayList()) + .setMetadata(Struct.newBuilder().build()) + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + + Version actualResponse = client.getVersion(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getVersionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + client.getVersion(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteVersionTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteVersionTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + + client.deleteVersionAsync(name).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteVersionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-9642/locations/location-9642/repositories/repositorie-9642/packages/package-9642/versions/version-9642"; + client.deleteVersionAsync(name).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void listFilesTest() throws Exception { + File responsesElement = File.newBuilder().build(); + ListFilesResponse expectedResponse = + ListFilesResponse.newBuilder() + .setNextPageToken("") + .addAllFiles(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + + ListFilesPagedResponse pagedListResponse = client.listFiles(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getFilesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listFilesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9015/locations/location-9015/repositories/repositorie-9015"; + client.listFiles(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getFileTest() throws Exception { + File expectedResponse = + File.newBuilder() + .setName("name3373707") + .setSizeBytes(-1796325715) + .addAllHashes(new ArrayList()) + .setCreateTime(Timestamp.newBuilder().build()) + .setUpdateTime(Timestamp.newBuilder().build()) + .setOwner("owner106164915") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-3631/locations/location-3631/repositories/repositorie-3631/files/file-3631"; + + File actualResponse = client.getFile(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getFileExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-3631/locations/location-3631/repositories/repositorie-3631/files/file-3631"; + client.getFile(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listTagsTest() throws Exception { + Tag responsesElement = Tag.newBuilder().build(); + ListTagsResponse expectedResponse = + ListTagsResponse.newBuilder() + .setNextPageToken("") + .addAllTags(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + + ListTagsPagedResponse pagedListResponse = client.listTags(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getTagsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listTagsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + client.listTags(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getTagTest() throws Exception { + Tag expectedResponse = + Tag.newBuilder().setName("name3373707").setVersion("version351608024").build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + + Tag actualResponse = client.getTag(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + client.getTag(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createTagTest() throws Exception { + Tag expectedResponse = + Tag.newBuilder().setName("name3373707").setVersion("version351608024").build(); + mockService.addResponse(expectedResponse); + + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + Tag tag = Tag.newBuilder().build(); + String tagId = "tagId110119509"; + + Tag actualResponse = client.createTag(parent, tag, tagId); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = + "projects/project-5394/locations/location-5394/repositories/repositorie-5394/packages/package-5394"; + Tag tag = Tag.newBuilder().build(); + String tagId = "tagId110119509"; + client.createTag(parent, tag, tagId); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateTagTest() throws Exception { + Tag expectedResponse = + Tag.newBuilder().setName("name3373707").setVersion("version351608024").build(); + mockService.addResponse(expectedResponse); + + Tag tag = + Tag.newBuilder() + .setName( + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748") + .setVersion("version351608024") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + Tag actualResponse = client.updateTag(tag, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + Tag tag = + Tag.newBuilder() + .setName( + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748") + .setVersion("version351608024") + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateTag(tag, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void deleteTagTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + + client.deleteTag(name); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteTagExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-5748/locations/location-5748/repositories/repositorie-5748/packages/package-5748/tags/tag-5748"; + client.deleteTag(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void setIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setPolicy(Policy.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + + Policy actualResponse = client.setIamPolicy(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void setIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + SetIamPolicyRequest request = + SetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setPolicy(Policy.newBuilder().build()) + .setUpdateMask(FieldMask.newBuilder().build()) + .build(); + client.setIamPolicy(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getIamPolicyTest() throws Exception { + Policy expectedResponse = + Policy.newBuilder() + .setVersion(351608024) + .addAllBindings(new ArrayList()) + .addAllAuditConfigs(new ArrayList()) + .setEtag(ByteString.EMPTY) + .build(); + mockService.addResponse(expectedResponse); + + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + + Policy actualResponse = client.getIamPolicy(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIamPolicyExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetIamPolicyRequest request = + GetIamPolicyRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .setOptions(GetPolicyOptions.newBuilder().build()) + .build(); + client.getIamPolicy(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void testIamPermissionsTest() throws Exception { + TestIamPermissionsResponse expectedResponse = + TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); + mockService.addResponse(expectedResponse); + + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .addAllPermissions(new ArrayList()) + .build(); + + TestIamPermissionsResponse actualResponse = client.testIamPermissions(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void testIamPermissionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + TestIamPermissionsRequest request = + TestIamPermissionsRequest.newBuilder() + .setResource(RepositoryName.of("[PROJECT]", "[LOCATION]", "[REPOSITORY]").toString()) + .addAllPermissions(new ArrayList()) + .build(); + client.testIamPermissions(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getProjectSettingsTest() throws Exception { + ProjectSettings expectedResponse = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + mockService.addResponse(expectedResponse); + + ProjectSettingsName name = ProjectSettingsName.of("[PROJECT]"); + + ProjectSettings actualResponse = client.getProjectSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getProjectSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectSettingsName name = ProjectSettingsName.of("[PROJECT]"); + client.getProjectSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getProjectSettingsTest2() throws Exception { + ProjectSettings expectedResponse = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + mockService.addResponse(expectedResponse); + + String name = "projects/project-9549/projectSettings"; + + ProjectSettings actualResponse = client.getProjectSettings(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getProjectSettingsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = "projects/project-9549/projectSettings"; + client.getProjectSettings(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void updateProjectSettingsTest() throws Exception { + ProjectSettings expectedResponse = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + mockService.addResponse(expectedResponse); + + ProjectSettings projectSettings = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + + ProjectSettings actualResponse = client.updateProjectSettings(projectSettings, updateMask); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void updateProjectSettingsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ProjectSettings projectSettings = + ProjectSettings.newBuilder() + .setName(ProjectSettingsName.of("[PROJECT]").toString()) + .build(); + FieldMask updateMask = FieldMask.newBuilder().build(); + client.updateProjectSettings(projectSettings, updateMask); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..bf2e6f04 --- /dev/null +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,2456 @@ +package com.google.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index 3a443e11..e93240c0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,17 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -618,11 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -631,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -641,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = - (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,104 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -790,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -814,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -842,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -863,8 +786,7 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -879,39 +801,38 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -919,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -962,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -975,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -997,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1019,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1103,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1125,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1187,104 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1292,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1314,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1336,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1398,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1420,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1442,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1504,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1519,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1568,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1582,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1606,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index a2e2ce07..7b69ee0c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..eabaa203 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,157 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 6f9907ad..5eeab420 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,145 +334,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,16 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -555,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -572,51 +516,46 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -647,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -685,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -709,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -777,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -799,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -821,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -883,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -944,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -964,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -976,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -990,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1010,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1019,32 +903,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1052,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index ab7b42c5..d37c1ca1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index 6368405b..a7c5ac4d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,25 +220,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -284,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,19 +293,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -371,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -499,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -547,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -564,39 +516,38 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -604,9 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -637,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -651,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -673,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -695,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -757,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -779,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -801,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -863,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -924,8 +838,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -944,8 +856,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -956,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -970,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -990,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -999,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1016,14 +918,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1031,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1058,13 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -1073,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index e1d4607a..ed0dccb9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 798482af..5a0dd439 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -397,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to delete.
      * 
* * 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; @@ -511,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * 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 { @@ -533,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -604,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..0df0c1b7 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 4f00f9d2..3c964b02 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -402,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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; @@ -519,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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 { @@ -543,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..b29d4e2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index 3b450a74..ee36923c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -616,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..9be43f2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index 21e0714d..bcba882b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,152 +229,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -432,8 +397,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -444,50 +408,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -514,9 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -550,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -572,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -650,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -698,32 +637,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,8 +672,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index fd9ab4b4..ddd7183c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index 19f64d27..deb68c74 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,75 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Hash.parser(), - extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -158,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -186,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -195,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -211,15 +178,16 @@ 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 { @@ -230,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -248,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -261,8 +224,6 @@ public java.util.List getHash return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -270,13 +231,11 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -288,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -301,8 +258,6 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -310,21 +265,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -332,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -347,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -363,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -378,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -393,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -409,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -425,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -456,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -500,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -522,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = - (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -556,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -577,126 +524,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -704,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -746,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -767,8 +705,7 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = - new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -800,39 +737,38 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); } else { super.mergeFrom(other); return this; @@ -840,8 +776,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -867,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -905,8 +839,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -915,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -929,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -944,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -953,14 +881,15 @@ 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 { @@ -968,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -977,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1000,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1019,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1051,61 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(hashes_); + hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1120,8 +1026,6 @@ public java.util.List getHash } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1136,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1152,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1174,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1194,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1216,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,8 +1134,6 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1258,8 +1152,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1278,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1290,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1298,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1317,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1336,20 +1223,17 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1359,22 +1243,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1382,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1391,49 +1270,42 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1441,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1502,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1521,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1533,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1545,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1565,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1574,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1591,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1606,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1624,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1685,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1704,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1716,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1728,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1748,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1757,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1774,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1789,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1807,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1829,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1851,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1922,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1936,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1960,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 6fc1602c..2e62a87b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..c605f981 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index 40e5c38d..ffea4ef0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..13fd2797 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 3dd93b09..43d6340d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..0521cb2b --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 0d6fbab2..417bc48f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,22 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -520,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -544,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..cfd70f3e --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index 83e7a0f8..cc80cc1e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..ad095e24 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index c4aa4f3b..6c60c285 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..31d1c627 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 231f4729..3855cba7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,14 +387,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -456,8 +408,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -468,39 +419,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -508,9 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -537,9 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -573,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -595,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -657,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -725,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,32 +676,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,8 +711,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index 991586f3..d1805c3b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index 9607e51d..b4fae80f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,51 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -281,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -335,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -365,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -381,16 +331,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = - (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,126 +362,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -539,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -580,8 +522,7 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = - new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -592,39 +533,38 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); } else { super.mergeFrom(other); return this; @@ -632,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -659,8 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -740,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -765,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -780,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -829,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -843,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index 9d78385d..c6b768e2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index 04d5baf3..c0d03b94 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 527043cc..70dcd816 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 6fff5d5d..5a2e2a7f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 3f05b9eb..182a79d5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index 946c4375..d8258e0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..343d02be --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 2b0078e5..6c9cd42b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 4a4b7721..89605ee4 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index 6a012515..c1fbf2d9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -127,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -820,18 +710,14 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -889,14 +769,11 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAllAptArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder - getAptArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptAr } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder - addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 2e5dee92..5ddcd053 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 8ed9ed4b..36b62705 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index e9835bbe..97ab4125 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 6167e033..5cfb0ca7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index e113a0a5..3f093feb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index cf222560..27468485 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9ea4c192 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index b66c8aef..c0b1b67b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 195badb7..3becef22 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index c3da7687..db94a329 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -127,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -820,18 +710,14 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -889,14 +769,11 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addAllYumArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder - getYumArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumAr } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder - addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 2bd2c9e0..1a00b12c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 9dfbe84c..64d4e0fa 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -154,30 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -188,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -203,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -212,15 +184,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -234,15 +205,16 @@ 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 { @@ -253,14 +225,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -271,14 +240,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -287,29 +253,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -318,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -356,7 +322,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -372,18 +339,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.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +379,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -537,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -583,8 +543,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -597,39 +556,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -637,9 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -674,9 +630,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,21 +642,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -711,22 +663,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -734,64 +685,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -799,8 +743,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -814,13 +756,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -829,8 +771,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -844,14 +784,15 @@ 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 { @@ -859,8 +800,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -874,22 +813,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -903,18 +840,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -928,31 +862,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -960,36 +891,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -997,20 +922,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1019,21 +942,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1041,68 +963,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,13 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1127,16 +1041,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,4 +1065,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index 6f9f9767..cee62b03 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,46 +60,38 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index 3c6f7a82..fe6a1c0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.File.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -115,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getFile return files_; } /** - * - * *
    * The files returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -174,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -196,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -455,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -503,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -564,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -585,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -617,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -664,8 +605,6 @@ public java.util.List getFile } } /** - * - * *
      * The files returned.
      * 
@@ -680,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -696,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -718,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -738,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -760,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -782,8 +713,6 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -802,8 +731,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -822,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -834,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -861,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -880,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** - * - * *
      * The files returned.
      * 
@@ -934,49 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -984,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1007,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1030,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 4631c3b8..1923defe 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index 5594f7fa..f95a285a 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -178,15 +154,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -197,14 +170,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -213,29 +183,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -244,7 +214,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +249,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -292,17 +263,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +299,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -454,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +440,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -498,8 +461,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -511,50 +473,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -585,9 +543,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,20 +555,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,21 +575,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -643,77 +596,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -721,38 +664,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -760,20 +697,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -782,21 +717,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -804,68 +738,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,32 +802,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,8 +837,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index 1eb63b7c..f687007f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,89 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index c08e1c3b..0d1ba786 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Package.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -115,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getP return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -174,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList( - packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getP } } /** - * - * *
      * The packages returned.
      * 
@@ -686,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** - * - * *
      * The packages returned.
      * 
@@ -725,8 +654,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -745,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -767,8 +692,6 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** - * - * *
      * The packages returned.
      * 
@@ -790,8 +713,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -810,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -830,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -888,8 +802,6 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** - * - * *
      * The packages returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 0064727e..6cf4a9c8 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index a893add6..ddf035ff 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,145 +298,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,16 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); } @java.lang.Override @@ -504,8 +460,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -517,51 +472,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -630,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -654,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -774,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -796,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -818,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index ec5a0872..a32408c1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index d08c8a9d..f5b7cb40 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.Repository>(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -116,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -144,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -158,13 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -176,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -189,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -206,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -223,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -284,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -297,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); } @java.lang.Override @@ -509,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,51 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -593,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -625,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -675,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -691,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -707,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** - * - * *
      * The repositories returned.
      * 
@@ -730,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -739,8 +661,7 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -751,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -773,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -796,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -816,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -825,8 +738,7 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -837,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -846,11 +756,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -858,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -877,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -896,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -909,34 +813,28 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoriesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( + int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -944,22 +842,17 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder - addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -968,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -1005,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1028,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1051,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 93b11eea..1fc05520 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,19 +33,15 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
@@ -77,29 +52,24 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d80c37d7..d1bbfedb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,14 +514,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -575,8 +535,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -589,39 +548,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -629,9 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -666,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -679,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -701,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -723,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -785,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -797,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -812,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -824,14 +765,15 @@ 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 { @@ -839,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -851,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -877,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -899,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -931,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -968,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -990,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1012,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,13 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1098,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index 7748ba51..c77afd7e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index a9ed7183..e80a6480 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -114,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getTagsL return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -173,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -454,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -616,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getTagsL } } /** - * - * *
      * The tags returned.
      * 
@@ -679,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -737,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -759,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -801,8 +731,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -821,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -879,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -924,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** - * - * *
      * The tags returned.
      * 
@@ -933,48 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -982,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1005,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1028,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1117,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index 1b93bf53..fa38f042 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index ae29fb6b..059a89b1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,14 +550,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -626,8 +571,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -641,50 +585,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -722,9 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -758,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -780,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -857,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -916,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -938,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1000,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1068,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1093,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1115,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1137,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1208,32 +1088,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,8 +1123,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index e2fbbdde..2660ddc5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 933564d2..06865407 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Version.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -115,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getV return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -174,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList( - versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getV } } /** - * - * *
      * The versions returned.
      * 
@@ -686,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** - * - * *
      * The versions returned.
      * 
@@ -725,8 +654,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -745,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -767,8 +692,6 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** - * - * *
      * The versions returned.
      * 
@@ -790,8 +713,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -810,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -830,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -888,8 +802,6 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** - * - * *
      * The versions returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index 45175f20..bcc3b1a6 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index 6aa3d9e4..b6258b3e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = - new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -409,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -421,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -458,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..9d96bd08 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index 03b7ad70..d63f5fe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,40 +106,35 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -171,30 +143,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; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -205,14 +177,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -221,29 +190,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -254,14 +223,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -269,14 +235,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -284,8 +247,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -300,15 +261,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -316,15 +274,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -332,8 +287,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -347,7 +300,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -359,7 +311,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -388,10 +341,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -401,23 +356,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other =
-        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -448,126 +406,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -575,15 +524,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -628,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = - new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -650,39 +599,38 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); } else { super.mergeFrom(other); return this; @@ -690,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -725,8 +672,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -738,21 +684,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -761,22 +705,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -784,64 +727,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -849,20 +785,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -871,21 +805,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -893,61 +826,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -955,47 +881,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1016,15 +929,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1035,8 +947,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1047,7 +957,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1059,8 +969,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1079,8 +987,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1088,13 +994,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1105,14 +1009,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1120,17 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1138,49 +1036,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1202,8 +1087,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1211,7 +1094,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1222,8 +1106,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1235,7 +1117,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1247,8 +1129,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1268,8 +1148,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1278,13 +1156,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1296,14 +1172,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1312,24 +1185,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1339,12 +1209,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1353,16 +1223,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1377,4 +1247,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index 104cbf12..cc9c2140 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,107 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -111,34 +77,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0e725b25
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,115 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/package.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\037google/protobuf/time" +
+      "stamp.proto\032\034google/api/annotations.prot" +
+      "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" +
+      "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." +
+      "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" +
+      "\032.google.protobuf.Timestamp\"L\n\023ListPacka" +
+      "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" +
+      "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" +
+      "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" +
+      "tools.artifactregistry.v1beta2.Package\022\027" +
+      "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" +
+      "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" +
+      "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" +
+      ".artifactregistry.v1beta2B\014PackageProtoP" +
+      "\001ZXgoogle.golang.org/genproto/googleapis" +
+      "/devtools/artifactregistry/v1beta2;artif" +
+      "actregistry\252\002%Google.Cloud.ArtifactRegis" +
+      "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" +
+      "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" +
+      "istry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 30b8d123..0fcff33f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,14 +557,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -655,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = - new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -667,39 +589,38 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -707,9 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -736,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -749,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -760,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -775,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -786,14 +700,15 @@ 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 { @@ -801,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -812,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -837,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -858,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -875,113 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,13 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -1006,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index 801c80f6..d633ee88 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index a7778a16..6aec32de 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,52 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -861,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -881,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -897,17 +761,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -921,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -929,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1033,53 +883,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1091,22 +934,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1114,10 +954,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -1128,56 +966,46 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1199,14 +1027,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1216,17 +1041,14 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_; + private boolean allowSnapshotOverwrites_ ; /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1234,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1273,115 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1394,34 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1465,37 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1503,64 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1569,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1603,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1657,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1688,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1713,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1725,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1752,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1769,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1790,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1804,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1819,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1834,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1850,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1865,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1880,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1896,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1906,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1915,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1932,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1949,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1961,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1985,10 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -2002,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2044,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = - (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2118,147 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -2266,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2305,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2326,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = - new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2361,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); } else { super.mergeFrom(other); return this; @@ -2401,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2414,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2426,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2455,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2465,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2483,22 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2506,51 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2564,20 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2588,32 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .newBuilder( - (com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2629,16 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2657,106 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder, - com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2765,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2788,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2853,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2921,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2946,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2968,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2990,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3076,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3115,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3132,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3154,11 +2744,12 @@ public 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();
       }
@@ -3166,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3182,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3207,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3231,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3299,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3318,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3330,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3342,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3362,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3371,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3388,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3403,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3421,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3482,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3501,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3513,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3525,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3545,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3554,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3571,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3586,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3604,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3614,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3629,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3639,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3654,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3664,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3688,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3708,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3734,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3748,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3772,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 56edcd7a..1aabc981 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,153 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -160,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -172,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -189,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -205,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -222,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -260,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -295,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -305,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -320,11 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase - getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..39b40092 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..2ae49699 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..e3b740d3 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,112 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index 468c4c93..ec604378 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = - (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class,
-              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result =
-          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -529,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -570,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -581,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -596,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -607,14 +566,15 @@ 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 { @@ -622,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -633,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -658,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -679,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -706,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -721,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -731,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -746,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -756,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -780,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -800,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -826,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -840,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 16f0d517..3c1dbead 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..392fa000 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,151 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index bce2f426..d90d410d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,46 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = - null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,40 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -156,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -182,22 +146,18 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -205,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -234,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -263,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,22 +233,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,146 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,22 +422,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -500,10 +442,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -522,52 +462,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -589,14 +523,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = - null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -690,23 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( - projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -718,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -738,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -781,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -799,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -860,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -879,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -891,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -903,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -932,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -949,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -964,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -991,33 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 4257f596..8be1bfe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 48b1127b..8d812606 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,145 +281,134 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,16 +428,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -501,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -521,51 +468,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -591,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -666,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -686,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -698,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -712,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -732,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -741,32 +658,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -774,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -792,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -806,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -822,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -859,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -869,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -880,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -894,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -906,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -928,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -939,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -958,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -975,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1002,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1039,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index 2414b1b3..ce37b484 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index b88ad1b8..a3ff1b5c 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -186,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -212,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -236,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -265,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -278,21 +239,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -319,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -447,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -497,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -517,39 +468,38 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -557,9 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -585,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -660,8 +593,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -680,8 +611,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -692,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -706,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -726,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -735,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -752,14 +673,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -767,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -785,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -799,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -815,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -852,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -862,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -873,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -887,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -899,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -921,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -932,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -951,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -968,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -995,13 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -1010,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 8a19edf0..697f83b5 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 414910c1..90c5af7f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,84 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
-                      extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -160,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -169,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class,
-            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -198,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -207,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -224,15 +190,16 @@ 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 { @@ -243,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -259,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -292,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -307,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -322,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -338,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -353,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -368,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -384,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -398,8 +344,6 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -408,13 +352,11 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -427,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -441,8 +381,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -459,8 +397,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -469,7 +405,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -477,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -487,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -495,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -512,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -559,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -578,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other =
-        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -638,103 +577,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -743,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class,
-              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -767,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -813,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -834,8 +764,7 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result =
-          new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -871,39 +800,38 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -911,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -945,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -976,8 +902,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -986,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1001,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1016,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1026,14 +946,15 @@ 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 { @@ -1041,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1051,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1075,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1095,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1112,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1134,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1156,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1218,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1279,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1298,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1310,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1322,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1342,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1351,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1368,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1383,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1401,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1462,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1481,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1493,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1505,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1525,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1534,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1551,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1566,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1617,8 +1458,6 @@ public java.util.List getRelat
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1634,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1651,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1675,8 +1510,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1696,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1719,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1743,8 +1572,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1764,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1785,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1798,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1806,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1826,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1846,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1860,8 +1678,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1872,14 +1688,11 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1887,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1896,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1906,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1921,12 +1730,10 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1934,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1beta2.Tag,
-                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1958,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1972,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1990,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -2003,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2012,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2029,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2038,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2052,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2061,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2080,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2089,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2104,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2113,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2131,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2151,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2182,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -2196,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2220,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 505534fe..1fca4549 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..cd58bc89
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,145 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/version.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\034google/api/annotatio" +
+      "ns.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\0322google/dev" +
+      "tools/artifactregistry/v1beta2/tag.proto" +
+      "\032\034google/protobuf/struct.proto\032\037google/p" +
+      "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" +
+      "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" +
+      "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" +
+      "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" +
+      "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." +
+      "devtools.artifactregistry.v1beta2.Tag\022.\n" +
+      "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" +
+      "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" +
+      "s.com/Version\022gprojects/{project}/locati" +
+      "ons/{location}/repositories/{repository}" +
+      "/packages/{package}/versions/{version}\"\250" +
+      "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" +
+      "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" +
+      "\004view\030\004 \001(\01625.google.devtools.artifactre" +
+      "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" +
+      " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" +
+      "sions\030\001 \003(\01321.google.devtools.artifactre" +
+      "gistry.v1beta2.Version\022\027\n\017next_page_toke" +
+      "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" +
+      "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" +
+      "actregistry.v1beta2.VersionView\"3\n\024Delet" +
+      "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" +
+      " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" +
+      "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" +
+      "oogle.devtools.artifactregistry.v1beta2B" +
+      "\014VersionProtoP\001ZXgoogle.golang.org/genpr" +
+      "oto/googleapis/devtools/artifactregistry" +
+      "/v1beta2;artifactregistry\252\002%Google.Cloud" +
+      ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" +
+      "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" +
+      "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 0621d8af..92d55120 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index 6111a567..c0059766 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,17 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -529,11 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -546,18 +480,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -583,127 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -711,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -756,8 +683,7 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = - new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -770,39 +696,38 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -810,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -846,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -859,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -881,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -903,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -965,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -987,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1009,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1071,104 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1176,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1198,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1220,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1291,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1305,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1329,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index 0be7b093..c61239a2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5e402911 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,155 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index fe9a09c5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" - + "t_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.AptArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" - + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" - + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" - + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" - + "A\214\001\n+artifactregistry.googleapis.com/Apt" - + "Artifact\022]projects/{project}/locations/{" - + "location}/repositories/{repository}/aptA" - + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" - + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" - + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" - + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." - + "artifactregistry.v1.ImportAptArtifactsGc" - + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" - + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" - + "e\030\001 \001(\0132@.google.devtools.artifactregist" - + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" - + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" - + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" - + "rtifacts\030\001 \003(\01320.google.devtools.artifac" - + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" - + "2@.google.devtools.artifactregistry.v1.I" - + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" - + "rtifactsMetadataB\376\001\n\'com.google.devtools" - + ".artifactregistry.v1B\020AptArtifactProtoP\001" - + "ZSgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1;artifactreg" - + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" - + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" - + "ogle::Cloud::ArtifactRegistry::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index 9fd5ca98..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" - + "tifact.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" - + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" - + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" - + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" - + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mage\022]projects/{project}/locations/{loca" - + "tion}/repositories/{repository}/dockerIm" - + "ages/{docker_image}\"U\n\027ListDockerImagesR" - + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" - + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." - + "google.devtools.artifactregistry.v1.Dock" - + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" - + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mageB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { - "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { - "DockerImages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index d2bbba3c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index ea110ac1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index 0a01aeb9..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" - + "le.proto\022#google.devtools.artifactregist" - + "ry.v1\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" - + "pe\030\001 \001(\01622.google.devtools.artifactregis" - + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" - + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" - + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" - + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" - + "gle.devtools.artifactregistry.v1.Hash\022/\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" - + "ifactregistry.googleapis.com/File\022Nproje" - + "cts/{project}/locations/{location}/repos" - + "itories/{repository}/files/{file}\"k\n\020Lis" - + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" - + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" - + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" - + "ifactregistry.v1.File\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" - + "\001\n\'com.google.devtools.artifactregistry." - + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1;artifactregistry\252\002 Google.Cloud.Arti" - + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" - + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" - + "stry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 646394c6..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 0499ed5e..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 0652626c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 5a1488a1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index aa348921..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fffbb74..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9cbb42e5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index 0dec3987..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index a8c0a10a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" - + "ckage.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032\037google/pro" - + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" - + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" - + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" - + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" - + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" - + "ckages\030\001 \003(\0132,.google.devtools.artifactr" - + "egistry.v1.Package\022\027\n\017next_page_token\030\002 " - + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" - + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" - + "g.org/genproto/googleapis/devtools/artif" - + "actregistry/v1;artifactregistry\252\002 Google" - + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" - + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" - + "rtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index d0e9bb14..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" - + "pository.proto\022#google.devtools.artifact" - + "registry.v1\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" - + "en_config\030\t \001(\0132E.google.devtools.artifa" - + "ctregistry.v1.Repository.MavenRepository" - + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" - + ".google.devtools.artifactregistry.v1.Rep" - + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" - + "abels\030\004 \003(\0132;.google.devtools.artifactre" - + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" - + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" - + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" - + "enRepositoryConfig\022!\n\031allow_snapshot_ove" - + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." - + "google.devtools.artifactregistry.v1.Repo" - + "sitory.MavenRepositoryConfig.VersionPoli" - + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" - + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" - + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" - + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" - + "stry.googleapis.com/Repository\022Aprojects" - + "/{project}/locations/{location}/reposito" - + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" - + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" - + "\340A\002\372A,\022*artifactregistry.googleapis.com/" - + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" - + "\014repositories\030\001 \003(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" - + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" - + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" - + "ifactregistry.googleapis.com/Repository\022" - + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" - + "(\0132/.google.devtools.artifactregistry.v1" - + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" - + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" - + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" - + "\340A\002\372A,\n*artifactregistry.googleapis.com/" - + "RepositoryB\375\001\n\'com.google.devtools.artif" - + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1;artifactregistry\252\002" - + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" - + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" - + "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index c1ef77d8..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" - + "rvice.proto\022#google.devtools.artifactreg" - + "istry.v1\032\034google/api/annotations.proto\032\027" - + "google/api/client.proto\0326google/devtools" - + "/artifactregistry/v1/apt_artifact.proto\032" - + "2google/devtools/artifactregistry/v1/art" - + "ifact.proto\032.google/devtools/artifactreg" - + "istry/v1/file.proto\0321google/devtools/art" - + "ifactregistry/v1/package.proto\0324google/d" - + "evtools/artifactregistry/v1/repository.p" - + "roto\0322google/devtools/artifactregistry/v" - + "1/settings.proto\032-google/devtools/artifa" - + "ctregistry/v1/tag.proto\0321google/devtools" - + "/artifactregistry/v1/version.proto\0326goog" - + "le/devtools/artifactregistry/v1/yum_arti" - + "fact.proto\032\036google/iam/v1/iam_policy.pro" - + "to\032\032google/iam/v1/policy.proto\032#google/l" - + "ongrunning/operations.proto\032\033google/prot" - + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" - + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" - + "<.google.devtools.artifactregistry.v1.Li" - + "stDockerImagesRequest\032=.google.devtools." - + "artifactregistry.v1.ListDockerImagesResp" - + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" - + "ations/*/repositories/*}/dockerImages\332A\006" - + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" - + "ols.artifactregistry.v1.GetDockerImageRe" - + "quest\0320.google.devtools.artifactregistry" - + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" - + "cts/*/locations/*/repositories/*/dockerI" - + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" - + ".google.devtools.artifactregistry.v1.Imp" - + "ortAptArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" - + "ects/*/locations/*/repositories/*}/aptAr" - + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" - + "rtifactregistry.v1.ImportAptArtifactsRes" - + "ponse\022>google.devtools.artifactregistry." - + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" - + "YumArtifacts\022>.google.devtools.artifactr" - + "egistry.v1.ImportYumArtifactsRequest\032\035.g" - + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" - + "1/{parent=projects/*/locations/*/reposit" - + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" - + "gle.devtools.artifactregistry.v1.ImportY" - + "umArtifactsResponse\022>google.devtools.art" - + "ifactregistry.v1.ImportYumArtifactsMetad" - + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" - + "ls.artifactregistry.v1.ListRepositoriesR" - + "equest\032=.google.devtools.artifactregistr" - + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" - + "v1/{parent=projects/*/locations/*}/repos" - + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" - + "gle.devtools.artifactregistry.v1.GetRepo" - + "sitoryRequest\032/.google.devtools.artifact" - + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" - + "e=projects/*/locations/*/repositories/*}" - + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" - + "vtools.artifactregistry.v1.CreateReposit" - + "oryRequest\032\035.google.longrunning.Operatio" - + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" - + "ions/*}/repositories:\nrepository\332A\037paren" - + "t,repository,repository_id\312Ag\n.google.de" - + "vtools.artifactregistry.v1.Repository\0225g" - + "oogle.devtools.artifactregistry.v1.Opera" - + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" - + "le.devtools.artifactregistry.v1.UpdateRe" - + "positoryRequest\032/.google.devtools.artifa" - + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" - + "epository.name=projects/*/locations/*/re" - + "positories/*}:\nrepository\332A\026repository,u" - + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" - + ".devtools.artifactregistry.v1.DeleteRepo" - + "sitoryRequest\032\035.google.longrunning.Opera" - + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" - + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" - + "e.protobuf.Empty\0225google.devtools.artifa" - + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" - + "Packages\0228.google.devtools.artifactregis" - + "try.v1.ListPackagesRequest\0329.google.devt" - + "ools.artifactregistry.v1.ListPackagesRes" - + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" - + "cations/*/repositories/*}/packages\332A\006par" - + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" - + "ifactregistry.v1.GetPackageRequest\032,.goo" - + "gle.devtools.artifactregistry.v1.Package" - + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" - + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" - + "\rDeletePackage\0229.google.devtools.artifac" - + "tregistry.v1.DeletePackageRequest\032\035.goog" - + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" - + "name=projects/*/locations/*/repositories" - + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" - + "f.Empty\0225google.devtools.artifactregistr" - + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" - + "8.google.devtools.artifactregistry.v1.Li" - + "stVersionsRequest\0329.google.devtools.arti" - + "factregistry.v1.ListVersionsResponse\"W\202\323" - + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" - + "/repositories/*/packages/*}/versions\332A\006p" - + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" - + "rtifactregistry.v1.GetVersionRequest\032,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" - + "ns/*/repositories/*/packages/*/versions/" - + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" - + "tools.artifactregistry.v1.DeleteVersionR" - + "equest\032\035.google.longrunning.Operation\"\246\001" - + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\312AN\n\025google.protobuf.Empty\0225google." - + "devtools.artifactregistry.v1.OperationMe" - + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" - + "rtifactregistry.v1.ListFilesRequest\0326.go" - + "ogle.devtools.artifactregistry.v1.ListFi" - + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" - + "s/*/locations/*/repositories/*}/files\332A\006" - + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" - + "ifactregistry.v1.GetFileRequest\032).google" - + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" - + "\002;\0229/v1/{name=projects/*/locations/*/rep" - + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" - + "s\0224.google.devtools.artifactregistry.v1." - + "ListTagsRequest\0325.google.devtools.artifa" - + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" - + "/v1/{parent=projects/*/locations/*/repos" - + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" - + "GetTag\0222.google.devtools.artifactregistr" - + "y.v1.GetTagRequest\032(.google.devtools.art" - + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" - + "projects/*/locations/*/repositories/*/pa" - + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." - + "google.devtools.artifactregistry.v1.Crea" - + "teTagRequest\032(.google.devtools.artifactr" - + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" - + "ects/*/locations/*/repositories/*/packag" - + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" - + "UpdateTag\0225.google.devtools.artifactregi" - + "stry.v1.UpdateTagRequest\032(.google.devtoo" - + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" - + "{tag.name=projects/*/locations/*/reposit" - + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" - + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" - + "s.artifactregistry.v1.DeleteTagRequest\032\026" - + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" - + "e=projects/*/locations/*/repositories/*/" - + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" - + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" - + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" - + "urce=projects/*/locations/*/repositories" - + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" - + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" - + "rojects/*/locations/*/repositories/*}:ge" - + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" - + "le.iam.v1.TestIamPermissionsRequest\032).go" - + "ogle.iam.v1.TestIamPermissionsResponse\"R" - + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" - + "ns/*/repositories/*}:testIamPermissions:" - + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" - + "ols.artifactregistry.v1.GetProjectSettin" - + "gsRequest\0324.google.devtools.artifactregi" - + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" - + "me=projects/*/projectSettings}\332A\004name\022\201\002" - + "\n\025UpdateProjectSettings\022A.google.devtool" - + "s.artifactregistry.v1.UpdateProjectSetti" - + "ngsRequest\0324.google.devtools.artifactreg" - + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" - + "roject_settings.name=projects/*/projectS" - + "ettings}:\020project_settings\332A\034project_set" - + "tings,update_mask\032\214\001\312A\037artifactregistry." - + "googleapis.com\322Aghttps://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/cloud-platform.read-only" - + "B\372\001\n\'com.google.devtools.artifactregistr" - + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" - + "genproto/googleapis/devtools/artifactreg" - + "istry/v1;artifactregistry\252\002 Google.Cloud" - + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" - + "factRegistry\\V1\352\002#Google::Cloud::Artifac" - + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index 99a5156a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" - + "ttings.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" - + "state\030\002 \001(\0162E.google.devtools.artifactre" - + "gistry.v1.ProjectSettings.RedirectionSta" - + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" - + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" - + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" - + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" - + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" - + "leapis.com/ProjectSettings\022\"projects/{pr" - + "oject}/projectSettings\"b\n\031GetProjectSett" - + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" - + "actregistry.googleapis.com/ProjectSettin" - + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" - + "roject_settings\030\002 \001(\01324.google.devtools." - + "artifactregistry.v1.ProjectSettings\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index 98a7bb62..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" - + "g.proto\022#google.devtools.artifactregistr" - + "y.v1\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" - + "ags\030\001 \003(\0132(.google.devtools.artifactregi" - + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" - + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" - + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" - + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" - + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" - + "g\030\001 \001(\0132(.google.devtools.artifactregist" - + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" - + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" - + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" - + "ang.org/genproto/googleapis/devtools/art" - + "ifactregistry/v1;artifactregistry\252\002 Goog" - + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" - + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" - + ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index a4451c3a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" - + "rsion.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032-google/dev" - + "tools/artifactregistry/v1/tag.proto\032\034goo" - + "gle/protobuf/struct.proto\032\037google/protob" - + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" - + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" - + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" - + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" - + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" - + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" - + "\222\001\n\'artifactregistry.googleapis.com/Vers" - + "ion\022gprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/packages/" - + "{package}/versions/{version}\"\243\001\n\023ListVer" - + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" - + "\01620.google.devtools.artifactregistry.v1." - + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" - + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" - + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" - + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" - + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" - + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index faf5e918..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" - + "m_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.YumArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" - + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" - + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" - + "ctregistry.googleapis.com/YumArtifact\022]p" - + "rojects/{project}/locations/{location}/r" - + "epositories/{repository}/yumArtifacts/{y" - + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" - + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" - + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" - + "urce\030\002 \001(\0132@.google.devtools.artifactreg" - + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" - + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" - + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" - + "oogle.devtools.artifactregistry.v1.Impor" - + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" - + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" - + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " - + "\003(\01320.google.devtools.artifactregistry.v" - + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" - + "evtools.artifactregistry.v1.ImportYumArt" - + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" - + "adataB\376\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" - + "lang.org/genproto/googleapis/devtools/ar" - + "tifactregistry/v1;artifactregistry\252\002 Goo" - + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" - + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" - + "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index f7549075..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/apt_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.AptArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" - + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" - + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" - + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" - + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" - + "ptArtifact\022]projects/{project}/locations" - + "/{location}/repositories/{repository}/ap" - + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" - + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" - + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" - + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" - + "s.artifactregistry.v1beta2.ImportAptArti" - + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" - + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" - + "s_source\030\001 \001(\0132E.google.devtools.artifac" - + "tregistry.v1beta2.ImportAptArtifactsGcsS" - + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" - + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" - + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" - + "ools.artifactregistry.v1beta2.AptArtifac" - + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" - + "factregistry.v1beta2.ImportAptArtifactsE" - + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" - + "\002\n,com.google.devtools.artifactregistry." - + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" - + "ng.org/genproto/googleapis/devtools/arti" - + "factregistry/v1beta2;artifactregistry\252\002%" - + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" - + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" - + "Google::Cloud::ArtifactRegistry::V1beta2" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index d133ca1d..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index e954d602..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 4e7fb61f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index 8d60b37f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" - + "a2/file.proto\022(google.devtools.artifactr" - + "egistry.v1beta2\032\034google/api/annotations." - + "proto\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" - + "pe\030\001 \001(\01627.google.devtools.artifactregis" - + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" - + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" - + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " - + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" - + "..google.devtools.artifactregistry.v1bet" - + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" - + ":y\352Av\n$artifactregistry.googleapis.com/F" - + "ile\022Nprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/files/{fi" - + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" - + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" - + "iles\030\001 \003(\0132..google.devtools.artifactreg" - + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " - + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," - + "com.google.devtools.artifactregistry.v1b" - + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" - + "proto/googleapis/devtools/artifactregist" - + "ry/v1beta2;artifactregistry\252\002%Google.Clo" - + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" - + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" - + "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 63162f9e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 79b06fba..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 7c22b893..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index c70d1027..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 66b07dde..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 928564d6..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index e9d9fe0f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 5373800b..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0a96b6ee..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/package.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\037google/protobuf/time" - + "stamp.proto\032\034google/api/annotations.prot" - + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" - + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." - + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" - + "\032.google.protobuf.Timestamp\"L\n\023ListPacka" - + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" - + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" - + "tools.artifactregistry.v1beta2.Package\022\027" - + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" - + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" - + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" - + ".artifactregistry.v1beta2B\014PackageProtoP" - + "\001ZXgoogle.golang.org/genproto/googleapis" - + "/devtools/artifactregistry/v1beta2;artif" - + "actregistry\252\002%Google.Cloud.ArtifactRegis" - + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" - + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" - + "istry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 0f89810e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" - + "a2/repository.proto\022(google.devtools.art" - + "ifactregistry.v1beta2\032\034google/api/annota" - + "tions.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" - + "en_config\030\t \001(\0132J.google.devtools.artifa" - + "ctregistry.v1beta2.Repository.MavenRepos" - + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " - + "\001(\0162;.google.devtools.artifactregistry.v" - + "1beta2.Repository.Format\022\023\n\013description\030" - + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." - + "artifactregistry.v1beta2.Repository.Labe" - + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" - + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" - + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" - + "policy\030\002 \001(\0162X.google.devtools.artifactr" - + "egistry.v1beta2.Repository.MavenReposito" - + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" - + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" - + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" - + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" - + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" - + "\010:r\352Ao\n*artifactregistry.googleapis.com/" - + "Repository\022Aprojects/{project}/locations" - + "/{location}/repositories/{repository}B\017\n" - + "\rformat_config\"\204\001\n\027ListRepositoriesReque" - + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" - + "stry.googleapis.com/Repository\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" - + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" - + "4.google.devtools.artifactregistry.v1bet" - + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" - + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" - + "\002\372A,\n*artifactregistry.googleapis.com/Re" - + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" - + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" - + "oogleapis.com/Repository\022\025\n\rrepository_i" - + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" - + "tools.artifactregistry.v1beta2.Repositor" - + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" - + "ory\030\001 \001(\01324.google.devtools.artifactregi" - + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" - + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" - + ",\n*artifactregistry.googleapis.com/Repos" - + "itoryB\226\002\n,com.google.devtools.artifactre" - + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1beta2;artifactregis" - + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" - + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" - + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" - + "1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index d1061ad9..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/service.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032;googl" - + "e/devtools/artifactregistry/v1beta2/apt_" - + "artifact.proto\0323google/devtools/artifact" - + "registry/v1beta2/file.proto\0326google/devt" - + "ools/artifactregistry/v1beta2/package.pr" - + "oto\0329google/devtools/artifactregistry/v1" - + "beta2/repository.proto\0327google/devtools/" - + "artifactregistry/v1beta2/settings.proto\032" - + "2google/devtools/artifactregistry/v1beta" - + "2/tag.proto\0326google/devtools/artifactreg" - + "istry/v1beta2/version.proto\032;google/devt" - + "ools/artifactregistry/v1beta2/yum_artifa" - + "ct.proto\032\036google/iam/v1/iam_policy.proto" - + "\032\032google/iam/v1/policy.proto\032#google/lon" - + "grunning/operations.proto\032\033google/protob" - + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" - + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" - + "C.google.devtools.artifactregistry.v1bet" - + "a2.ImportAptArtifactsRequest\032\035.google.lo" - + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" - + "parent=projects/*/locations/*/repositori" - + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" - + ".devtools.artifactregistry.v1beta2.Impor" - + "tAptArtifactsResponse\022Cgoogle.devtools.a" - + "rtifactregistry.v1beta2.ImportAptArtifac" - + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" - + "le.devtools.artifactregistry.v1beta2.Imp" - + "ortYumArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" - + "=projects/*/locations/*/repositories/*}/" - + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" - + "ols.artifactregistry.v1beta2.ImportYumAr" - + "tifactsResponse\022Cgoogle.devtools.artifac" - + "tregistry.v1beta2.ImportYumArtifactsMeta" - + "data\022\341\001\n\020ListRepositories\022A.google.devto" - + "ols.artifactregistry.v1beta2.ListReposit" - + "oriesRequest\032B.google.devtools.artifactr" - + "egistry.v1beta2.ListRepositoriesResponse" - + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" - + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" - + "Repository\022>.google.devtools.artifactreg" - + "istry.v1beta2.GetRepositoryRequest\0324.goo" - + "gle.devtools.artifactregistry.v1beta2.Re" - + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" - + "s/*/locations/*/repositories/*}\332A\004name\022\326" - + "\002\n\020CreateRepository\022A.google.devtools.ar" - + "tifactregistry.v1beta2.CreateRepositoryR" - + "equest\032\035.google.longrunning.Operation\"\337\001" - + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" - + "tions/*}/repositories:\nrepository\332A\037pare" - + "nt,repository,repository_id\312Aq\n3google.d" - + "evtools.artifactregistry.v1beta2.Reposit" - + "ory\022:google.devtools.artifactregistry.v1" - + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" - + "tory\022A.google.devtools.artifactregistry." - + "v1beta2.UpdateRepositoryRequest\0324.google" - + ".devtools.artifactregistry.v1beta2.Repos" - + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" - + "=projects/*/locations/*/repositories/*}:" - + "\nrepository\332A\026repository,update_mask\022\221\002\n" - + "\020DeleteRepository\022A.google.devtools.arti" - + "factregistry.v1beta2.DeleteRepositoryReq" - + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" - + "\344\223\0027*5/v1beta2/{name=projects/*/location" - + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" - + "otobuf.Empty\022:google.devtools.artifactre" - + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" - + "tPackages\022=.google.devtools.artifactregi" - + "stry.v1beta2.ListPackagesRequest\032>.googl" - + "e.devtools.artifactregistry.v1beta2.List" - + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" - + "nt=projects/*/locations/*/repositories/*" - + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" - + "gle.devtools.artifactregistry.v1beta2.Ge" - + "tPackageRequest\0321.google.devtools.artifa" - + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" - + "eta2/{name=projects/*/locations/*/reposi" - + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" - + "ckage\022>.google.devtools.artifactregistry" - + ".v1beta2.DeletePackageRequest\032\035.google.l" - + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" - + "{name=projects/*/locations/*/repositorie" - + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" - + "uf.Empty\022:google.devtools.artifactregist" - + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" - + "sions\022=.google.devtools.artifactregistry" - + ".v1beta2.ListVersionsRequest\032>.google.de" - + "vtools.artifactregistry.v1beta2.ListVers" - + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" - + "rojects/*/locations/*/repositories/*/pac" - + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" - + "n\022;.google.devtools.artifactregistry.v1b" - + "eta2.GetVersionRequest\0321.google.devtools" - + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" - + "M\022K/v1beta2/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" - + "s.artifactregistry.v1beta2.DeleteVersion" - + "Request\032\035.google.longrunning.Operation\"\260" - + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" - + "ions/*/repositories/*/packages/*/version" - + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" - + "oogle.devtools.artifactregistry.v1beta2." - + "OperationMetadata\022\324\001\n\tListFiles\022:.google" - + ".devtools.artifactregistry.v1beta2.ListF" - + "ilesRequest\032;.google.devtools.artifactre" - + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" - + "\022=/v1beta2/{parent=projects/*/locations/" - + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" - + "File\0228.google.devtools.artifactregistry." - + "v1beta2.GetFileRequest\032..google.devtools" - + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" - + "/v1beta2/{name=projects/*/locations/*/re" - + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" - + "gs\0229.google.devtools.artifactregistry.v1" - + "beta2.ListTagsRequest\032:.google.devtools." - + "artifactregistry.v1beta2.ListTagsRespons" - + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" - + "ocations/*/repositories/*/packages/*}/ta" - + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" - + ".artifactregistry.v1beta2.GetTagRequest\032" - + "-.google.devtools.artifactregistry.v1bet" - + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" - + "vtools.artifactregistry.v1beta2.CreateTa" - + "gRequest\032-.google.devtools.artifactregis" - + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" - + "t=projects/*/locations/*/repositories/*/" - + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" - + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" - + "ctregistry.v1beta2.UpdateTagRequest\032-.go" - + "ogle.devtools.artifactregistry.v1beta2.T" - + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" - + "eTag\022:.google.devtools.artifactregistry." - + "v1beta2.DeleteTagRequest\032\026.google.protob" - + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" - + "s/*/locations/*/repositories/*/packages/" - + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" - + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" - + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" - + "=projects/*/locations/*/repositories/*}:" - + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" - + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" - + "projects/*/locations/*/repositories/*}:g" - + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" - + "gle.iam.v1.TestIamPermissionsRequest\032).g" - + "oogle.iam.v1.TestIamPermissionsResponse\"" - + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" - + "ocations/*/repositories/*}:testIamPermis" - + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" - + ".devtools.artifactregistry.v1beta2.GetPr" - + "ojectSettingsRequest\0329.google.devtools.a" - + "rtifactregistry.v1beta2.ProjectSettings\"" - + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" - + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" - + "ings\022F.google.devtools.artifactregistry." - + "v1beta2.UpdateProjectSettingsRequest\0329.g" - + "oogle.devtools.artifactregistry.v1beta2." - + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" - + "ct_settings.name=projects/*/projectSetti" - + "ngs}:\020project_settings\332A\034project_setting" - + "s,update_mask\032\214\001\312A\037artifactregistry.goog" - + "leapis.com\322Aghttps://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-platform.read-onlyB\223\002\n" - + ",com.google.devtools.artifactregistry.v1" - + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" - + "/genproto/googleapis/devtools/artifactre" - + "gistry/v1beta2;artifactregistry\252\002%Google" - + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" - + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" - + "::Cloud::ArtifactRegistry::V1beta2b\006prot" - + "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index 45e2471c..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" - + "a2/settings.proto\022(google.devtools.artif" - + "actregistry.v1beta2\032\034google/api/annotati" - + "ons.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" - + "state\030\002 \001(\0162J.google.devtools.artifactre" - + "gistry.v1beta2.ProjectSettings.Redirecti" - + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" - + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" - + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" - + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" - + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" - + ".googleapis.com/ProjectSettings\022\"project" - + "s/{project}/projectSettings\"b\n\031GetProjec" - + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" - + "artifactregistry.googleapis.com/ProjectS" - + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" - + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" - + "ools.artifactregistry.v1beta2.ProjectSet" - + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" - + "rtifactregistry.v1beta2B\rSettingsProtoP\001" - + "ZXgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1beta2;artifa" - + "ctregistry\252\002%Google.Cloud.ArtifactRegist" - + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" - + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" - + "stry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 117abb8f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" - + "a2/tag.proto\022(google.devtools.artifactre" - + "gistry.v1beta2\032\034google/api/annotations.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" - + "ags\030\001 \003(\0132-.google.devtools.artifactregi" - + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" - + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" - + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" - + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" - + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\010Ta" - + "gProtoP\001ZXgoogle.golang.org/genproto/goo" - + "gleapis/devtools/artifactregistry/v1beta" - + "2;artifactregistry\252\002%Google.Cloud.Artifa" - + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" - + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" - + "factRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index 5f9a1a41..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/version.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0322google/dev" - + "tools/artifactregistry/v1beta2/tag.proto" - + "\032\034google/protobuf/struct.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" - + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" - + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." - + "devtools.artifactregistry.v1beta2.Tag\022.\n" - + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" - + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" - + "s.com/Version\022gprojects/{project}/locati" - + "ons/{location}/repositories/{repository}" - + "/packages/{package}/versions/{version}\"\250" - + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" - + "\004view\030\004 \001(\01625.google.devtools.artifactre" - + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" - + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" - + "sions\030\001 \003(\01321.google.devtools.artifactre" - + "gistry.v1beta2.Version\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" - + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" - + "actregistry.v1beta2.VersionView\"3\n\024Delet" - + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" - + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" - + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" - + "oogle.devtools.artifactregistry.v1beta2B" - + "\014VersionProtoP\001ZXgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1beta2;artifactregistry\252\002%Google.Cloud" - + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" - + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" - + "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5efcc8f3..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/yum_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.YumArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" - + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" - + "factregistry.googleapis.com/YumArtifact\022" - + "]projects/{project}/locations/{location}" - + "/repositories/{repository}/yumArtifacts/" - + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" - + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" - + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" - + "source\030\002 \001(\0132E.google.devtools.artifactr" - + "egistry.v1beta2.ImportYumArtifactsGcsSou" - + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" - + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " - + "\001(\0132E.google.devtools.artifactregistry.v" - + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" - + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" - + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" - + "artifacts\030\001 \003(\01325.google.devtools.artifa" - + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" - + "\030\002 \003(\0132E.google.devtools.artifactregistr" - + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" - + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\020Yu" - + "mArtifactProtoP\001ZXgoogle.golang.org/genp" - + "roto/googleapis/devtools/artifactregistr" - + "y/v1beta2;artifactregistry\252\002%Google.Clou" - + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" - + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" - + "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 89a85f42a4541f670db9968742a298b787c2f895 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 03:05:45 +0000 Subject: [PATCH 6/9] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/ArtifactRegistryClient.java | 56 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 - ...tpJsonArtifactRegistryCallableFactory.java | 0 .../v1/stub/HttpJsonArtifactRegistryStub.java | 1 - .../v1beta2/ArtifactRegistryClient.java | 46 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 - ...tpJsonArtifactRegistryCallableFactory.java | 0 .../stub/HttpJsonArtifactRegistryStub.java | 1 - .../ArtifactRegistryClientHttpJsonTest.java | 0 .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../ArtifactRegistryClientHttpJsonTest.java | 0 .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 3494 +++++++++++++++++ .../v1beta2/ArtifactRegistryGrpc.java | 3275 +++++++++++++++ .../v1/ArtifactRegistryGrpc.java | 2628 ------------- .../artifactregistry/v1/AptArtifactProto.java | 150 - .../artifactregistry/v1/ArtifactProto.java | 119 - .../v1/DeleteRepositoryRequestOrBuilder.java | 29 - .../v1/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1/FileProto.java | 127 - .../v1/GetDockerImageRequestOrBuilder.java | 29 - .../v1/GetFileRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../v1/GetRepositoryRequestOrBuilder.java | 29 - .../v1/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1/OperationMetadataOrBuilder.java | 9 - .../artifactregistry/v1/PackageProto.java | 122 - .../artifactregistry/v1/RepositoryProto.java | 203 - .../artifactregistry/v1/ServiceProto.java | 265 -- .../artifactregistry/v1/SettingsProto.java | 108 - .../artifactregistry/v1/TagProto.java | 147 - .../artifactregistry/v1/VersionProto.java | 141 - .../artifactregistry/v1/YumArtifactProto.java | 148 - .../v1beta2/ArtifactRegistryGrpc.java | 2456 ------------ .../v1beta2/AptArtifactProto.java | 157 - .../DeletePackageRequestOrBuilder.java | 29 - .../DeleteRepositoryRequestOrBuilder.java | 29 - .../v1beta2/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1beta2/FileProto.java | 130 - .../v1beta2/GetFileRequestOrBuilder.java | 29 - .../v1beta2/GetPackageRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../GetRepositoryRequestOrBuilder.java | 29 - .../v1beta2/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1beta2/OperationMetadataOrBuilder.java | 9 - .../v1beta2/PackageProto.java | 115 - .../v1beta2/RepositoryProto.java | 208 - .../v1beta2/ServiceProto.java | 262 -- .../v1beta2/SettingsProto.java | 112 - .../artifactregistry/v1beta2/TagProto.java | 151 - .../v1beta2/VersionProto.java | 145 - .../v1beta2/YumArtifactProto.java | 155 - .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 168 + .../artifactregistry/v1/ArtifactProto.java | 137 + .../v1/CreateRepositoryRequest.java | 541 ++- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 ++- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 50 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 146 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 50 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 50 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportAptArtifactsRequest.java | 526 ++- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportYumArtifactsRequest.java | 526 ++- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 ++- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 ++- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 +-- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 ++- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 ++- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 ++- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 ++- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 ++- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 ++- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 +-- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 ++- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 24 + .../devtools/artifactregistry/v1/Package.java | 571 +-- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 141 + .../artifactregistry/v1/ProjectSettings.java | 498 ++- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 +++++---- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 238 ++ .../artifactregistry/v1/ServiceProto.java | 278 ++ .../artifactregistry/v1/SettingsProto.java | 125 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 168 + .../v1/UpdateProjectSettingsRequest.java | 481 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 ++- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 160 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 +-- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 166 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 175 + .../v1beta2/CreateRepositoryRequest.java | 556 ++- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 ++- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 50 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 54 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 50 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 149 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 50 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 50 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 54 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 50 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportAptArtifactsRequest.java | 580 +-- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportYumArtifactsRequest.java | 580 +-- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 ++- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 ++- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 ++- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 ++- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 ++- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 ++- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 ++- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 ++- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 +-- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 ++- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 24 + .../artifactregistry/v1beta2/Package.java | 578 +-- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 134 + .../v1beta2/ProjectSettings.java | 506 ++- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 +++++---- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 243 ++ .../v1beta2/ServiceProto.java | 275 ++ .../v1beta2/SettingsProto.java | 129 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 172 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 ++- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 ++- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 164 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 +-- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 173 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 307 files changed, 43515 insertions(+), 27935 deletions(-) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java create mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index 9f05701f..a5e560e6 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -53,11 +53,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2774,7 +2774,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2824,7 +2827,10 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2845,7 +2851,10 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2895,7 +2904,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2916,7 +2928,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2965,7 +2980,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2985,7 +3003,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3034,7 +3055,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 0009bc68..fd0751f2 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -56,10 +55,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index 16275bcf..a58cd64c 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index cbd26e53..0ba3a47c 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -117,10 +117,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index e0d1bb10..45335bd2 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,7 +84,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/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java index 836dd0c1..a6ff2063 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.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.UnaryCallable; diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index 0745ec28..60a4cc01 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2546,7 +2546,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2596,7 +2599,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2617,7 +2623,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2666,7 +2675,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2686,7 +2698,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2735,7 +2750,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 780baf15..5a68e3f9 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -33,7 +33,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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -55,10 +54,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index ce7d976f..2ee2d5f4 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index 19b4b858..a85f453f 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -112,10 +112,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index d73deacf..322bd754 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,7 +80,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/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java index 3c97ce78..1b4afb9e 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java @@ -34,7 +34,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.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..8dd4c5ad --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,3494 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = + getListDockerImagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = + getGetDockerImageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDockerImagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDockerImageMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.DockerImage> + getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Package> + getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Version> + getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.File> + getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages( + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) + responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage( + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..63baa4ed --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,3275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2 + .UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Package> + getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Version> + getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.File> + getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index e3ceeee1..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2628 +0,0 @@ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDockerImagesMethod() { - io.grpc.MethodDescriptor getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDockerImageMethod() { - io.grpc.MethodDescriptor getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index 443f6d5f..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,150 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" + - "t_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.AptArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + - "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + - "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + - "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + - "A\214\001\n+artifactregistry.googleapis.com/Apt" + - "Artifact\022]projects/{project}/locations/{" + - "location}/repositories/{repository}/aptA" + - "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + - "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + - "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + - "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + - "artifactregistry.v1.ImportAptArtifactsGc" + - "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + - "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + - "e\030\001 \001(\0132@.google.devtools.artifactregist" + - "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + - "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + - "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + - "rtifacts\030\001 \003(\01320.google.devtools.artifac" + - "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + - "2@.google.devtools.artifactregistry.v1.I" + - "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + - "rtifactsMetadataB\376\001\n\'com.google.devtools" + - ".artifactregistry.v1B\020AptArtifactProtoP\001" + - "ZSgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1;artifactreg" + - "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + - "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + - "ogle::Cloud::ArtifactRegistry::V1b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index d2e38912..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,119 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" + - "tifact.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032\037google/pr" + - "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + - "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + - "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + - "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + - " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mage\022]projects/{project}/locations/{loca" + - "tion}/repositories/{repository}/dockerIm" + - "ages/{docker_image}\"U\n\027ListDockerImagesR" + - "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + - "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + - "google.devtools.artifactregistry.v1.Dock" + - "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + - "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mageB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { "DockerImages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 8199afc8..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 2a237596..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index b27baa2c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,127 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + - "le.proto\022#google.devtools.artifactregist" + - "ry.v1\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + - "pe\030\001 \001(\01622.google.devtools.artifactregis" + - "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + - "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + - "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + - "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + - "gle.devtools.artifactregistry.v1.Hash\022/\n" + - "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + - "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + - "ifactregistry.googleapis.com/File\022Nproje" + - "cts/{project}/locations/{location}/repos" + - "itories/{repository}/files/{file}\"k\n\020Lis" + - "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + - "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + - " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + - "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + - "ifactregistry.v1.File\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + - "\001\n\'com.google.devtools.artifactregistry." + - "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1;artifactregistry\252\002 Google.Cloud.Arti" + - "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + - "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + - "stry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 36dc5023..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 8a742290..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 35c962cf..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 323cd5a0..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index 9c1264a9..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index c24b837d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fba0379..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index e3a558ac..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index 7b437e4a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" + - "ckage.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032\037google/pro" + - "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" + - "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" + - "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" + - "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" + - "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" + - "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" + - "ckages\030\001 \003(\0132,.google.devtools.artifactr" + - "egistry.v1.Package\022\027\n\017next_page_token\030\002 " + - "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" + - "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" + - "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" + - "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" + - "g.org/genproto/googleapis/devtools/artif" + - "actregistry/v1;artifactregistry\252\002 Google" + - ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" + - "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" + - "rtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index c29b26fa..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,203 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" + - "pository.proto\022#google.devtools.artifact" + - "registry.v1\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + - "en_config\030\t \001(\0132E.google.devtools.artifa" + - "ctregistry.v1.Repository.MavenRepository" + - "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + - ".google.devtools.artifactregistry.v1.Rep" + - "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + - "abels\030\004 \003(\0132;.google.devtools.artifactre" + - "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + - "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + - ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + - "enRepositoryConfig\022!\n\031allow_snapshot_ove" + - "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + - "google.devtools.artifactregistry.v1.Repo" + - "sitory.MavenRepositoryConfig.VersionPoli" + - "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + - "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + - "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + - "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + - "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + - "stry.googleapis.com/Repository\022Aprojects" + - "/{project}/locations/{location}/reposito" + - "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + - "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + - "\340A\002\372A,\022*artifactregistry.googleapis.com/" + - "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + - "\014repositories\030\001 \003(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + - "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + - "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + - "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + - "ifactregistry.googleapis.com/Repository\022" + - "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + - "(\0132/.google.devtools.artifactregistry.v1" + - ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + - "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022/\n\013update_m" + - "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + - "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + - "\340A\002\372A,\n*artifactregistry.googleapis.com/" + - "RepositoryB\375\001\n\'com.google.devtools.artif" + - "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1;artifactregistry\252\002" + - " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + - "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + - "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index cf63a61d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,265 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" + - "rvice.proto\022#google.devtools.artifactreg" + - "istry.v1\032\034google/api/annotations.proto\032\027" + - "google/api/client.proto\0326google/devtools" + - "/artifactregistry/v1/apt_artifact.proto\032" + - "2google/devtools/artifactregistry/v1/art" + - "ifact.proto\032.google/devtools/artifactreg" + - "istry/v1/file.proto\0321google/devtools/art" + - "ifactregistry/v1/package.proto\0324google/d" + - "evtools/artifactregistry/v1/repository.p" + - "roto\0322google/devtools/artifactregistry/v" + - "1/settings.proto\032-google/devtools/artifa" + - "ctregistry/v1/tag.proto\0321google/devtools" + - "/artifactregistry/v1/version.proto\0326goog" + - "le/devtools/artifactregistry/v1/yum_arti" + - "fact.proto\032\036google/iam/v1/iam_policy.pro" + - "to\032\032google/iam/v1/policy.proto\032#google/l" + - "ongrunning/operations.proto\032\033google/prot" + - "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + - "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + - "<.google.devtools.artifactregistry.v1.Li" + - "stDockerImagesRequest\032=.google.devtools." + - "artifactregistry.v1.ListDockerImagesResp" + - "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + - "ations/*/repositories/*}/dockerImages\332A\006" + - "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + - "ols.artifactregistry.v1.GetDockerImageRe" + - "quest\0320.google.devtools.artifactregistry" + - ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + - "cts/*/locations/*/repositories/*/dockerI" + - "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + - ".google.devtools.artifactregistry.v1.Imp" + - "ortAptArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + - "ects/*/locations/*/repositories/*}/aptAr" + - "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + - "rtifactregistry.v1.ImportAptArtifactsRes" + - "ponse\022>google.devtools.artifactregistry." + - "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + - "YumArtifacts\022>.google.devtools.artifactr" + - "egistry.v1.ImportYumArtifactsRequest\032\035.g" + - "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + - "1/{parent=projects/*/locations/*/reposit" + - "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + - "gle.devtools.artifactregistry.v1.ImportY" + - "umArtifactsResponse\022>google.devtools.art" + - "ifactregistry.v1.ImportYumArtifactsMetad" + - "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + - "ls.artifactregistry.v1.ListRepositoriesR" + - "equest\032=.google.devtools.artifactregistr" + - "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + - "v1/{parent=projects/*/locations/*}/repos" + - "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + - "gle.devtools.artifactregistry.v1.GetRepo" + - "sitoryRequest\032/.google.devtools.artifact" + - "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + - "e=projects/*/locations/*/repositories/*}" + - "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + - "vtools.artifactregistry.v1.CreateReposit" + - "oryRequest\032\035.google.longrunning.Operatio" + - "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + - "ions/*}/repositories:\nrepository\332A\037paren" + - "t,repository,repository_id\312Ag\n.google.de" + - "vtools.artifactregistry.v1.Repository\0225g" + - "oogle.devtools.artifactregistry.v1.Opera" + - "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + - "le.devtools.artifactregistry.v1.UpdateRe" + - "positoryRequest\032/.google.devtools.artifa" + - "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + - "epository.name=projects/*/locations/*/re" + - "positories/*}:\nrepository\332A\026repository,u" + - "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + - ".devtools.artifactregistry.v1.DeleteRepo" + - "sitoryRequest\032\035.google.longrunning.Opera" + - "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + - "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + - "e.protobuf.Empty\0225google.devtools.artifa" + - "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + - "Packages\0228.google.devtools.artifactregis" + - "try.v1.ListPackagesRequest\0329.google.devt" + - "ools.artifactregistry.v1.ListPackagesRes" + - "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + - "cations/*/repositories/*}/packages\332A\006par" + - "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + - "ifactregistry.v1.GetPackageRequest\032,.goo" + - "gle.devtools.artifactregistry.v1.Package" + - "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + - "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + - "\rDeletePackage\0229.google.devtools.artifac" + - "tregistry.v1.DeletePackageRequest\032\035.goog" + - "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + - "name=projects/*/locations/*/repositories" + - "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + - "f.Empty\0225google.devtools.artifactregistr" + - "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + - "8.google.devtools.artifactregistry.v1.Li" + - "stVersionsRequest\0329.google.devtools.arti" + - "factregistry.v1.ListVersionsResponse\"W\202\323" + - "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + - "/repositories/*/packages/*}/versions\332A\006p" + - "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + - "rtifactregistry.v1.GetVersionRequest\032,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + - "ns/*/repositories/*/packages/*/versions/" + - "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + - "tools.artifactregistry.v1.DeleteVersionR" + - "equest\032\035.google.longrunning.Operation\"\246\001" + - "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\312AN\n\025google.protobuf.Empty\0225google." + - "devtools.artifactregistry.v1.OperationMe" + - "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + - "rtifactregistry.v1.ListFilesRequest\0326.go" + - "ogle.devtools.artifactregistry.v1.ListFi" + - "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + - "s/*/locations/*/repositories/*}/files\332A\006" + - "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + - "ifactregistry.v1.GetFileRequest\032).google" + - ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + - "\002;\0229/v1/{name=projects/*/locations/*/rep" + - "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + - "s\0224.google.devtools.artifactregistry.v1." + - "ListTagsRequest\0325.google.devtools.artifa" + - "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + - "/v1/{parent=projects/*/locations/*/repos" + - "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + - "GetTag\0222.google.devtools.artifactregistr" + - "y.v1.GetTagRequest\032(.google.devtools.art" + - "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + - "projects/*/locations/*/repositories/*/pa" + - "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + - "google.devtools.artifactregistry.v1.Crea" + - "teTagRequest\032(.google.devtools.artifactr" + - "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + - "ects/*/locations/*/repositories/*/packag" + - "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + - "UpdateTag\0225.google.devtools.artifactregi" + - "stry.v1.UpdateTagRequest\032(.google.devtoo" + - "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + - "{tag.name=projects/*/locations/*/reposit" + - "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + - "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + - "s.artifactregistry.v1.DeleteTagRequest\032\026" + - ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + - "e=projects/*/locations/*/repositories/*/" + - "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + - "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + - ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + - "urce=projects/*/locations/*/repositories" + - "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + - "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + - "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + - "rojects/*/locations/*/repositories/*}:ge" + - "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + - "le.iam.v1.TestIamPermissionsRequest\032).go" + - "ogle.iam.v1.TestIamPermissionsResponse\"R" + - "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + - "ns/*/repositories/*}:testIamPermissions:" + - "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + - "ols.artifactregistry.v1.GetProjectSettin" + - "gsRequest\0324.google.devtools.artifactregi" + - "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + - "me=projects/*/projectSettings}\332A\004name\022\201\002" + - "\n\025UpdateProjectSettings\022A.google.devtool" + - "s.artifactregistry.v1.UpdateProjectSetti" + - "ngsRequest\0324.google.devtools.artifactreg" + - "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + - "roject_settings.name=projects/*/projectS" + - "ettings}:\020project_settings\332A\034project_set" + - "tings,update_mask\032\214\001\312A\037artifactregistry." + - "googleapis.com\322Aghttps://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/cloud-platform.read-only" + - "B\372\001\n\'com.google.devtools.artifactregistr" + - "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + - "genproto/googleapis/devtools/artifactreg" + - "istry/v1;artifactregistry\252\002 Google.Cloud" + - ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + - "factRegistry\\V1\352\002#Google::Cloud::Artifac" + - "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index db067c93..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" + - "ttings.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + - "state\030\002 \001(\0162E.google.devtools.artifactre" + - "gistry.v1.ProjectSettings.RedirectionSta" + - "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + - "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + - "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + - "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + - "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + - "leapis.com/ProjectSettings\022\"projects/{pr" + - "oject}/projectSettings\"b\n\031GetProjectSett" + - "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + - "actregistry.googleapis.com/ProjectSettin" + - "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + - "roject_settings\030\002 \001(\01324.google.devtools." + - "artifactregistry.v1.ProjectSettings\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "MaskB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index a0942140..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,147 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + - "g.proto\022#google.devtools.artifactregistr" + - "y.v1\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + - "ags\030\001 \003(\0132(.google.devtools.artifactregi" + - "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + - "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + - "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + - "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + - "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + - "g\030\001 \001(\0132(.google.devtools.artifactregist" + - "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + - "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + - "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + - "ang.org/genproto/googleapis/devtools/art" + - "ifactregistry/v1;artifactregistry\252\002 Goog" + - "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + - "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + - ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index e4184f9e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,141 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" + - "rsion.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032-google/dev" + - "tools/artifactregistry/v1/tag.proto\032\034goo" + - "gle/protobuf/struct.proto\032\037google/protob" + - "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" + - " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" + - "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" + - "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" + - "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" + - "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" + - "\222\001\n\'artifactregistry.googleapis.com/Vers" + - "ion\022gprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/packages/" + - "{package}/versions/{version}\"\243\001\n\023ListVer" + - "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" + - "\01620.google.devtools.artifactregistry.v1." + - "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" + - "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" + - "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" + - " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" + - "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" + - "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index 1ec8e04d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" + - "m_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.YumArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + - "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + - "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + - "ctregistry.googleapis.com/YumArtifact\022]p" + - "rojects/{project}/locations/{location}/r" + - "epositories/{repository}/yumArtifacts/{y" + - "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + - "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + - "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + - "urce\030\002 \001(\0132@.google.devtools.artifactreg" + - "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + - "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + - "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + - "oogle.devtools.artifactregistry.v1.Impor" + - "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + - "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + - "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + - "\003(\01320.google.devtools.artifactregistry.v" + - "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + - "evtools.artifactregistry.v1.ImportYumArt" + - "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + - "adataB\376\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + - "lang.org/genproto/googleapis/devtools/ar" + - "tifactregistry/v1;artifactregistry\252\002 Goo" + - "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + - "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + - "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index bf2e6f04..00000000 --- a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2456 +0,0 @@ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index eabaa203..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,157 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/apt_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.AptArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + - "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + - " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + - "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + - "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + - "ptArtifact\022]projects/{project}/locations" + - "/{location}/repositories/{repository}/ap" + - "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + - "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + - "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + - "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + - "s.artifactregistry.v1beta2.ImportAptArti" + - "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + - "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + - "s_source\030\001 \001(\0132E.google.devtools.artifac" + - "tregistry.v1beta2.ImportAptArtifactsGcsS" + - "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + - "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + - "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + - "ools.artifactregistry.v1beta2.AptArtifac" + - "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + - "factregistry.v1beta2.ImportAptArtifactsE" + - "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + - "\002\n,com.google.devtools.artifactregistry." + - "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + - "ng.org/genproto/googleapis/devtools/arti" + - "factregistry/v1beta2;artifactregistry\252\002%" + - "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + - "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + - "Google::Cloud::ArtifactRegistry::V1beta2" + - "b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index 0df0c1b7..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index b29d4e2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 9be43f2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index c605f981..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,130 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" + - "a2/file.proto\022(google.devtools.artifactr" + - "egistry.v1beta2\032\034google/api/annotations." + - "proto\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + - "pe\030\001 \001(\01627.google.devtools.artifactregis" + - "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + - "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + - "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + - "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + - "..google.devtools.artifactregistry.v1bet" + - "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + - ":y\352Av\n$artifactregistry.googleapis.com/F" + - "ile\022Nprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/files/{fi" + - "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + - "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + - "iles\030\001 \003(\0132..google.devtools.artifactreg" + - "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + - "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + - "com.google.devtools.artifactregistry.v1b" + - "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + - "proto/googleapis/devtools/artifactregist" + - "ry/v1beta2;artifactregistry\252\002%Google.Clo" + - "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + - "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + - "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 13fd2797..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 0521cb2b..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index cfd70f3e..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index ad095e24..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 31d1c627..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 343d02be..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9ea4c192..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 9d96bd08..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0e725b25..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,115 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/package.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\037google/protobuf/time" + - "stamp.proto\032\034google/api/annotations.prot" + - "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." + - "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" + - "\032.google.protobuf.Timestamp\"L\n\023ListPacka" + - "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" + - "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" + - "tools.artifactregistry.v1beta2.Package\022\027" + - "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" + - "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" + - "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" + - ".artifactregistry.v1beta2B\014PackageProtoP" + - "\001ZXgoogle.golang.org/genproto/googleapis" + - "/devtools/artifactregistry/v1beta2;artif" + - "actregistry\252\002%Google.Cloud.ArtifactRegis" + - "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" + - "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" + - "istry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 39b40092..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" + - "a2/repository.proto\022(google.devtools.art" + - "ifactregistry.v1beta2\032\034google/api/annota" + - "tions.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + - "en_config\030\t \001(\0132J.google.devtools.artifa" + - "ctregistry.v1beta2.Repository.MavenRepos" + - "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + - "\001(\0162;.google.devtools.artifactregistry.v" + - "1beta2.Repository.Format\022\023\n\013description\030" + - "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + - "artifactregistry.v1beta2.Repository.Labe" + - "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + - "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + - "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + - "policy\030\002 \001(\0162X.google.devtools.artifactr" + - "egistry.v1beta2.Repository.MavenReposito" + - "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + - "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + - "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + - "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + - "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + - "\010:r\352Ao\n*artifactregistry.googleapis.com/" + - "Repository\022Aprojects/{project}/locations" + - "/{location}/repositories/{repository}B\017\n" + - "\rformat_config\"\204\001\n\027ListRepositoriesReque" + - "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + - "stry.googleapis.com/Repository\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + - "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + - "4.google.devtools.artifactregistry.v1bet" + - "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + - "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + - "\002\372A,\n*artifactregistry.googleapis.com/Re" + - "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + - "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + - "oogleapis.com/Repository\022\025\n\rrepository_i" + - "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + - "tools.artifactregistry.v1beta2.Repositor" + - "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + - "ory\030\001 \001(\01324.google.devtools.artifactregi" + - "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + - "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + - ",\n*artifactregistry.googleapis.com/Repos" + - "itoryB\226\002\n,com.google.devtools.artifactre" + - "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1beta2;artifactregis" + - "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + - "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + - "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + - "1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index 2ae49699..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,262 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/service.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032;googl" + - "e/devtools/artifactregistry/v1beta2/apt_" + - "artifact.proto\0323google/devtools/artifact" + - "registry/v1beta2/file.proto\0326google/devt" + - "ools/artifactregistry/v1beta2/package.pr" + - "oto\0329google/devtools/artifactregistry/v1" + - "beta2/repository.proto\0327google/devtools/" + - "artifactregistry/v1beta2/settings.proto\032" + - "2google/devtools/artifactregistry/v1beta" + - "2/tag.proto\0326google/devtools/artifactreg" + - "istry/v1beta2/version.proto\032;google/devt" + - "ools/artifactregistry/v1beta2/yum_artifa" + - "ct.proto\032\036google/iam/v1/iam_policy.proto" + - "\032\032google/iam/v1/policy.proto\032#google/lon" + - "grunning/operations.proto\032\033google/protob" + - "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + - "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + - "C.google.devtools.artifactregistry.v1bet" + - "a2.ImportAptArtifactsRequest\032\035.google.lo" + - "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + - "parent=projects/*/locations/*/repositori" + - "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + - ".devtools.artifactregistry.v1beta2.Impor" + - "tAptArtifactsResponse\022Cgoogle.devtools.a" + - "rtifactregistry.v1beta2.ImportAptArtifac" + - "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + - "le.devtools.artifactregistry.v1beta2.Imp" + - "ortYumArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + - "=projects/*/locations/*/repositories/*}/" + - "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + - "ols.artifactregistry.v1beta2.ImportYumAr" + - "tifactsResponse\022Cgoogle.devtools.artifac" + - "tregistry.v1beta2.ImportYumArtifactsMeta" + - "data\022\341\001\n\020ListRepositories\022A.google.devto" + - "ols.artifactregistry.v1beta2.ListReposit" + - "oriesRequest\032B.google.devtools.artifactr" + - "egistry.v1beta2.ListRepositoriesResponse" + - "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + - "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + - "Repository\022>.google.devtools.artifactreg" + - "istry.v1beta2.GetRepositoryRequest\0324.goo" + - "gle.devtools.artifactregistry.v1beta2.Re" + - "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + - "s/*/locations/*/repositories/*}\332A\004name\022\326" + - "\002\n\020CreateRepository\022A.google.devtools.ar" + - "tifactregistry.v1beta2.CreateRepositoryR" + - "equest\032\035.google.longrunning.Operation\"\337\001" + - "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + - "tions/*}/repositories:\nrepository\332A\037pare" + - "nt,repository,repository_id\312Aq\n3google.d" + - "evtools.artifactregistry.v1beta2.Reposit" + - "ory\022:google.devtools.artifactregistry.v1" + - "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + - "tory\022A.google.devtools.artifactregistry." + - "v1beta2.UpdateRepositoryRequest\0324.google" + - ".devtools.artifactregistry.v1beta2.Repos" + - "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + - "=projects/*/locations/*/repositories/*}:" + - "\nrepository\332A\026repository,update_mask\022\221\002\n" + - "\020DeleteRepository\022A.google.devtools.arti" + - "factregistry.v1beta2.DeleteRepositoryReq" + - "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + - "\344\223\0027*5/v1beta2/{name=projects/*/location" + - "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + - "otobuf.Empty\022:google.devtools.artifactre" + - "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + - "tPackages\022=.google.devtools.artifactregi" + - "stry.v1beta2.ListPackagesRequest\032>.googl" + - "e.devtools.artifactregistry.v1beta2.List" + - "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + - "nt=projects/*/locations/*/repositories/*" + - "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + - "gle.devtools.artifactregistry.v1beta2.Ge" + - "tPackageRequest\0321.google.devtools.artifa" + - "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + - "eta2/{name=projects/*/locations/*/reposi" + - "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + - "ckage\022>.google.devtools.artifactregistry" + - ".v1beta2.DeletePackageRequest\032\035.google.l" + - "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + - "{name=projects/*/locations/*/repositorie" + - "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + - "uf.Empty\022:google.devtools.artifactregist" + - "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + - "sions\022=.google.devtools.artifactregistry" + - ".v1beta2.ListVersionsRequest\032>.google.de" + - "vtools.artifactregistry.v1beta2.ListVers" + - "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + - "rojects/*/locations/*/repositories/*/pac" + - "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + - "n\022;.google.devtools.artifactregistry.v1b" + - "eta2.GetVersionRequest\0321.google.devtools" + - ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + - "M\022K/v1beta2/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + - "s.artifactregistry.v1beta2.DeleteVersion" + - "Request\032\035.google.longrunning.Operation\"\260" + - "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + - "ions/*/repositories/*/packages/*/version" + - "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + - "oogle.devtools.artifactregistry.v1beta2." + - "OperationMetadata\022\324\001\n\tListFiles\022:.google" + - ".devtools.artifactregistry.v1beta2.ListF" + - "ilesRequest\032;.google.devtools.artifactre" + - "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + - "\022=/v1beta2/{parent=projects/*/locations/" + - "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + - "File\0228.google.devtools.artifactregistry." + - "v1beta2.GetFileRequest\032..google.devtools" + - ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + - "/v1beta2/{name=projects/*/locations/*/re" + - "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + - "gs\0229.google.devtools.artifactregistry.v1" + - "beta2.ListTagsRequest\032:.google.devtools." + - "artifactregistry.v1beta2.ListTagsRespons" + - "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + - "ocations/*/repositories/*/packages/*}/ta" + - "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + - ".artifactregistry.v1beta2.GetTagRequest\032" + - "-.google.devtools.artifactregistry.v1bet" + - "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + - "vtools.artifactregistry.v1beta2.CreateTa" + - "gRequest\032-.google.devtools.artifactregis" + - "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + - "t=projects/*/locations/*/repositories/*/" + - "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + - "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + - "ctregistry.v1beta2.UpdateTagRequest\032-.go" + - "ogle.devtools.artifactregistry.v1beta2.T" + - "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + - "eTag\022:.google.devtools.artifactregistry." + - "v1beta2.DeleteTagRequest\032\026.google.protob" + - "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + - "s/*/locations/*/repositories/*/packages/" + - "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + - "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + - "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + - "=projects/*/locations/*/repositories/*}:" + - "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + - "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + - "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + - "projects/*/locations/*/repositories/*}:g" + - "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + - "gle.iam.v1.TestIamPermissionsRequest\032).g" + - "oogle.iam.v1.TestIamPermissionsResponse\"" + - "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + - "ocations/*/repositories/*}:testIamPermis" + - "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + - ".devtools.artifactregistry.v1beta2.GetPr" + - "ojectSettingsRequest\0329.google.devtools.a" + - "rtifactregistry.v1beta2.ProjectSettings\"" + - "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + - "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + - "ings\022F.google.devtools.artifactregistry." + - "v1beta2.UpdateProjectSettingsRequest\0329.g" + - "oogle.devtools.artifactregistry.v1beta2." + - "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + - "ct_settings.name=projects/*/projectSetti" + - "ngs}:\020project_settings\332A\034project_setting" + - "s,update_mask\032\214\001\312A\037artifactregistry.goog" + - "leapis.com\322Aghttps://www.googleapis.com/" + - "auth/cloud-platform,https://www.googleap" + - "is.com/auth/cloud-platform.read-onlyB\223\002\n" + - ",com.google.devtools.artifactregistry.v1" + - "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + - "/genproto/googleapis/devtools/artifactre" + - "gistry/v1beta2;artifactregistry\252\002%Google" + - ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + - "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + - "::Cloud::ArtifactRegistry::V1beta2b\006prot" + - "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index e3b740d3..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,112 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" + - "a2/settings.proto\022(google.devtools.artif" + - "actregistry.v1beta2\032\034google/api/annotati" + - "ons.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + - "state\030\002 \001(\0162J.google.devtools.artifactre" + - "gistry.v1beta2.ProjectSettings.Redirecti" + - "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + - "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + - "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + - "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + - "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + - ".googleapis.com/ProjectSettings\022\"project" + - "s/{project}/projectSettings\"b\n\031GetProjec" + - "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + - "artifactregistry.googleapis.com/ProjectS" + - "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + - "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + - "ools.artifactregistry.v1beta2.ProjectSet" + - "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + - "rtifactregistry.v1beta2B\rSettingsProtoP\001" + - "ZXgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1beta2;artifa" + - "ctregistry\252\002%Google.Cloud.ArtifactRegist" + - "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + - "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + - "stry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 392fa000..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,151 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" + - "a2/tag.proto\022(google.devtools.artifactre" + - "gistry.v1beta2\032\034google/api/annotations.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + - "ags\030\001 \003(\0132-.google.devtools.artifactregi" + - "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + - "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + - "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + - " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + - "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + - "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\010Ta" + - "gProtoP\001ZXgoogle.golang.org/genproto/goo" + - "gleapis/devtools/artifactregistry/v1beta" + - "2;artifactregistry\252\002%Google.Cloud.Artifa" + - "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + - "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + - "factRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index cd58bc89..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,145 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/version.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\0322google/dev" + - "tools/artifactregistry/v1beta2/tag.proto" + - "\032\034google/protobuf/struct.proto\032\037google/p" + - "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" + - "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." + - "devtools.artifactregistry.v1beta2.Tag\022.\n" + - "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" + - "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" + - "s.com/Version\022gprojects/{project}/locati" + - "ons/{location}/repositories/{repository}" + - "/packages/{package}/versions/{version}\"\250" + - "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" + - "\004view\030\004 \001(\01625.google.devtools.artifactre" + - "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" + - " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" + - "sions\030\001 \003(\01321.google.devtools.artifactre" + - "gistry.v1beta2.Version\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" + - "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" + - "actregistry.v1beta2.VersionView\"3\n\024Delet" + - "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" + - " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" + - "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" + - "oogle.devtools.artifactregistry.v1beta2B" + - "\014VersionProtoP\001ZXgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1beta2;artifactregistry\252\002%Google.Cloud" + - ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" + - "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" + - "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5e402911..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,155 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/yum_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.YumArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + - "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + - "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + - "factregistry.googleapis.com/YumArtifact\022" + - "]projects/{project}/locations/{location}" + - "/repositories/{repository}/yumArtifacts/" + - "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + - "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + - "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + - "source\030\002 \001(\0132E.google.devtools.artifactr" + - "egistry.v1beta2.ImportYumArtifactsGcsSou" + - "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + - "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + - "\001(\0132E.google.devtools.artifactregistry.v" + - "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + - "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + - "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + - "artifacts\030\001 \003(\01325.google.devtools.artifa" + - "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + - "\030\002 \003(\0132E.google.devtools.artifactregistr" + - "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + - "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\020Yu" + - "mArtifactProtoP\001ZXgoogle.golang.org/genp" + - "roto/googleapis/devtools/artifactregistr" + - "y/v1beta2;artifactregistry\252\002%Google.Clou" + - "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + - "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + - "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 448922b7..7117c539 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +617,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +629,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +639,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.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = + (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +682,103 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +787,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -736,16 +811,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +839,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +860,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +876,39 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +916,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +959,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +972,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +994,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1016,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1078,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1100,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1122,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1184,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1288,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1310,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1332,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1394,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1416,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1438,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1500,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1515,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1421,16 +1578,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1602,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index ccbfbfba..24f2f3e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..fe9a09c5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..9fd5ca98 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { + "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { + "DockerImages", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 73cce54c..28dde700 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +376,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -452,16 +504,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +530,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -500,7 +552,8 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +569,50 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +643,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +657,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +681,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +705,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +773,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +795,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +817,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +879,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +940,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +960,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +972,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +986,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1006,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,11 +1015,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
@@ -918,11 +1032,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1047,24 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1074,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1111,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index cc064ca5..9816339e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index bbdbbb62..31cca5ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,11 +253,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ @java.lang.Override @@ -232,6 +268,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +282,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +294,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_); } @@ -282,8 +320,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +330,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +369,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -452,16 +497,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -500,7 +544,8 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +561,39 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +633,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +646,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +668,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +690,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +752,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +774,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +796,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +858,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,14 +919,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -856,6 +938,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +950,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +964,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +984,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +993,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1010,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1025,24 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -968,16 +1066,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index ffc90b5d..491f3b74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index a84494eb..8f10f939 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +485,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +507,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +529,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +600,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -566,16 +615,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index 8ad16aca..e347b777 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder extends +public interface DeletePackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index e9c9f3e3..29138c37 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +515,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +539,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +616,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..d2bbba3c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 492ecb7a..0f4b7556 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..ea110ac1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index bb45536b..74d8170f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,125 +253,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -355,16 +388,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +408,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +430,8 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,38 +442,39 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +482,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +511,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +524,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +546,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +568,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +646,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,12 +694,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -651,16 +709,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index a845238c..fbc7fd65 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index e11da581..cc31dfd0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -33,16 +51,15 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,71 +79,79 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uri_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tags_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            tags_.add(s);
-            break;
-          }
-          case 32: {
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            imageSizeBytes_ = input.readInt64();
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (uploadTime_ != null) {
-              subBuilder = uploadTime_.toBuilder();
+              uri_ = s;
+              break;
             }
-            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(uploadTime_);
-              uploadTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              tags_.add(s);
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            mediaType_ = s;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (buildTime_ != null) {
-              subBuilder = buildTime_.toBuilder();
+          case 32:
+            {
+              imageSizeBytes_ = input.readInt64();
+              break;
             }
-            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(buildTime_);
-              buildTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (uploadTime_ != null) {
+                subBuilder = uploadTime_.toBuilder();
+              }
+              uploadTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(uploadTime_);
+                uploadTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              mediaType_ = s;
+              break;
+            }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (buildTime_ != null) {
+                subBuilder = buildTime_.toBuilder();
+              }
+              buildTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(buildTime_);
+                buildTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -134,8 +159,7 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -144,22 +168,27 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class,
+            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -174,6 +203,7 @@ private DockerImage(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -182,14 +212,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; } } /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -204,16 +235,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -224,6 +254,8 @@ public java.lang.String getName() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -231,6 +263,7 @@ public java.lang.String getName() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -239,14 +272,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -254,16 +288,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -274,34 +307,42 @@ public java.lang.String getUri() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -309,22 +350,26 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -332,6 +377,7 @@ public java.lang.String getTags(int index) {
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -342,11 +388,14 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -354,11 +403,14 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ @java.lang.Override @@ -366,6 +418,8 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** + * + * *
    * Time the image was uploaded.
    * 
@@ -380,6 +434,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -388,6 +444,7 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; + * * @return The mediaType. */ @java.lang.Override @@ -396,14 +453,15 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -412,16 +470,15 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -432,6 +489,8 @@ public java.lang.String getMediaType() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -441,6 +500,7 @@ public java.lang.String getMediaType() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -448,6 +508,8 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -457,6 +519,7 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ @java.lang.Override @@ -464,6 +527,8 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -480,6 +545,7 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -491,8 +557,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_);
     }
@@ -538,19 +603,16 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -560,32 +622,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other =
+        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getUri()
-        .equals(other.getUri())) return false;
-    if (!getTagsList()
-        .equals(other.getTagsList())) return false;
-    if (getImageSizeBytes()
-        != other.getImageSizeBytes()) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getUri().equals(other.getUri())) return false;
+    if (!getTagsList().equals(other.getTagsList())) return false;
+    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime()
-          .equals(other.getUploadTime())) return false;
+      if (!getUploadTime().equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType()
-        .equals(other.getMediaType())) return false;
+    if (!getMediaType().equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime()
-          .equals(other.getBuildTime())) return false;
+      if (!getBuildTime().equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -607,8 +663,7 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -625,96 +680,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -726,21 +788,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class,
+              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -748,16 +812,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -787,9 +850,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -808,7 +871,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result =
+          new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -837,38 +901,39 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,7 +941,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -927,7 +993,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -936,10 +1003,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -954,13 +1024,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -969,6 +1039,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -983,15 +1055,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -999,6 +1070,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1013,20 +1086,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1041,15 +1116,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1064,16 +1142,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,6 +1159,8 @@ public Builder setNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1088,13 +1168,13 @@ public Builder setNameBytes(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1103,6 +1183,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1110,15 +1192,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1126,6 +1207,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1133,20 +1216,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1154,15 +1239,18 @@ public Builder setUri(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1170,57 +1258,67 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1228,80 +1326,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -1311,28 +1419,32 @@ public Builder clearTags() { return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_ ; + private long imageSizeBytes_; /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1340,6 +1452,7 @@ public Builder addTagsBytes(
      * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -1347,6 +1460,8 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1354,16 +1469,19 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; + * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1371,10 +1489,11 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; + * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1382,34 +1501,47 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + uploadTimeBuilder_; /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1430,14 +1562,15 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1448,6 +1581,8 @@ public Builder setUploadTime( return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1458,7 +1593,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1470,6 +1605,8 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1488,6 +1625,8 @@ public Builder clearUploadTime() { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1495,11 +1634,13 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1510,11 +1651,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1522,14 +1666,17 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), - getParentForChildren(), - isClean()); + uploadTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), getParentForChildren(), isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1537,6 +1684,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1545,13 +1694,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; + * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1560,6 +1709,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1568,15 +1719,14 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1584,6 +1734,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1592,20 +1744,22 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType( - java.lang.String value) { + public Builder setMediaType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1614,15 +1768,18 @@ public Builder setMediaType(
      * 
* * string media_type = 6; + * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1631,16 +1788,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; + * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1648,8 +1805,13 @@ public Builder setMediaTypeBytes( private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + buildTimeBuilder_; /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1659,12 +1821,15 @@ public Builder setMediaTypeBytes(
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1674,6 +1839,7 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1684,6 +1850,8 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1708,6 +1876,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1718,8 +1888,7 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1730,6 +1899,8 @@ public Builder setBuildTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1744,7 +1915,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1756,6 +1927,8 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1778,6 +1951,8 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1789,11 +1964,13 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-      
+
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1808,11 +1985,12 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1824,21 +2002,24 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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>
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(),
-                getParentForChildren(),
-                isClean());
+        buildTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(), getParentForChildren(), isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
+
     @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);
     }
 
@@ -1848,12 +2029,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -1862,16 +2043,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DockerImage parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new DockerImage(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DockerImage parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new DockerImage(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1886,6 +2067,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 320f9fe3..23262b8c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder extends
+public interface DockerImageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -22,10 +40,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,12 +61,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -53,10 +76,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -64,53 +90,65 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -118,29 +156,38 @@ public interface DockerImageOrBuilder extends
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
@@ -150,6 +197,8 @@ public interface DockerImageOrBuilder extends com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -158,10 +207,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The mediaType. */ java.lang.String getMediaType(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -170,12 +222,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString - getMediaTypeBytes(); + com.google.protobuf.ByteString getMediaTypeBytes(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -185,10 +239,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -198,10 +255,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index 6c52e7ff..ce45d8df 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,73 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +147,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +156,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +184,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +193,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +209,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 { @@ -198,11 +228,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +246,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +259,8 @@ public java.util.List getHashesLis return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +268,13 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +286,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +299,8 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +308,21 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +330,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +345,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +361,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +376,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +391,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +407,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +423,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +454,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +466,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_); } @@ -437,20 +498,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +520,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = + (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +554,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -523,118 +574,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -642,17 +702,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -705,7 +765,8 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = + new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +798,39 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); } else { super.mergeFrom(other); return this; @@ -802,9 +864,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -848,10 +911,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +925,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +940,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +949,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 { @@ -897,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +973,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +996,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1015,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1047,60 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1115,8 @@ public java.util.List getHashesLis } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1131,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1147,15 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1169,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1189,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1211,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,14 +1233,15 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1152,6 +1252,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1272,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1284,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1292,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1311,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,39 +1330,44 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1375,8 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1384,48 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1433,47 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1494,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1513,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1525,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1537,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1557,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1566,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1583,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1598,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1616,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1677,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1696,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1708,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1720,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1740,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1749,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1766,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1781,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1799,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1821,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1843,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1914,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1742,16 +1928,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 647b4921..1fcb148d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..0a01aeb9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,146 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "OrderBy", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index 6adf4d6d..f871a896 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = + new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -566,16 +630,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..646394c6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index ecee545f..3f8a0fad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = + (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = + new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..0499ed5e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index 10915d11..dedb9b29 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 4875af8f..76ccce9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder extends +public interface GetPackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 020c6eea..3627d4ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..0652626c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 048b50e2..583d7cc7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +513,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +537,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +614,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -566,16 +629,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..5a1488a1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index b8001a05..7b8ad00d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = + (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = + new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..aa348921 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index 87991098..acecfccc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -408,7 +455,8 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +467,39 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +535,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +548,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +570,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +592,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +654,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +722,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -690,16 +770,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,6 +794,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index da00f2d4..e84fc09e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index 1c03545a..c47f21a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +279,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +333,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +345,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +363,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +379,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = + (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,118 +409,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -480,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -522,7 +578,8 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = + new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +590,39 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); } else { super.mergeFrom(other); return this; @@ -610,51 +668,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +736,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +761,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +776,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -753,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index d8e3f7f4..be94835f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index bb7e4513..9c9acac2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 01ea3691..421580d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 7ae60022..98066536 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index 5fc859fc..af98cad2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 4ca45085..7d39fbec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fffbb74 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 8259205d..559cb1cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index f70fc673..7d91344c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 2dc5cfd3..6f0a6f0a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +125,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getAp return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getAp } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index 7c5e3ba3..da3615ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 6cdd7e6a..8a621732 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index 845066fd..f04be65c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index d6815dc2..85d8b6ca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index a4a49e76..0771527b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 1833db60..14ed5254 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9cbb42e5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index b2984499..82bcbf4b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 38d3e8bd..2f447836 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index 8a51de85..c3ec50ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +125,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getYu return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getYu } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index e42fa5ab..50fe871f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index d180c24c..5102e43d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -460,7 +497,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +510,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +584,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +598,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +620,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +642,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +719,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +756,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +778,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +800,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +871,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +908,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 5ba1a827..30b4accd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder extends +public interface ListDockerImagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index 4ab80e6e..ac237ea9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dockerImages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.DockerImage.parser(), + extensionRegistry)); + break; } - dockerImages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -94,22 +115,27 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** + * + * *
    * The docker images returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getDo return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -144,6 +174,8 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** + * + * *
    * The docker images returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** + * + * *
    * The docker images returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList() - .equals(other.getDockerImagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -411,17 +456,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) { getDockerImagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) + return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImage dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDockerImagesFieldBuilder() : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDockerImagesFieldBuilder() + : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(dockerImages_); + dockerImages_ = + new java.util.ArrayList( + dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + dockerImagesBuilder_; /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List getDockerImagesList() { + public java.util.List + getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -605,6 +669,8 @@ public java.util.List getDo } } /** + * + * *
      * The docker images returned.
      * 
@@ -619,6 +685,8 @@ public int getDockerImagesCount() { } } /** + * + * *
      * The docker images returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** + * + * *
      * The docker images returned.
      * 
@@ -654,6 +724,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -672,6 +744,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -692,6 +766,8 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -713,6 +789,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -731,6 +809,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -749,6 +829,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearDockerImages() { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeDockerImages(int index) { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The docker images returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); } else { + return dockerImages_.get(index); + } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** + * + * *
      * The docker images returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dockerImagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index c2023b9e..e0d919e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder extends +public interface ListDockerImagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List - getDockerImagesList(); + java.util.List getDockerImagesList(); /** + * + * *
    * The docker images returned.
    * 
@@ -25,6 +44,8 @@ public interface ListDockerImagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** + * + * *
    * The docker images returned.
    * 
@@ -33,43 +54,51 @@ public interface ListDockerImagesResponseOrBuilder extends */ int getDockerImagesCount(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 3d55fa27..411fed6c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -28,16 +46,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -136,30 +162,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +196,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -183,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -191,14 +220,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -212,16 +242,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 { @@ -232,11 +261,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -247,11 +279,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -260,29 +295,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -293,11 +328,14 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -306,29 +344,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; } } /** + * + * *
    * The field to order the results by.
    * 
* * 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 { @@ -337,6 +375,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -378,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -398,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -442,117 +475,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -560,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -608,7 +650,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -622,38 +665,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -661,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -700,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -712,19 +758,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -733,21 +781,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -755,57 +804,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -826,13 +884,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -841,6 +899,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -854,15 +914,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 { @@ -870,6 +929,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -883,20 +944,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -910,15 +973,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -932,28 +998,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -961,30 +1030,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -992,18 +1067,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1012,20 +1089,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1033,54 +1111,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1088,18 +1173,20 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The field to order the results by.
      * 
* * 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; @@ -1108,20 +1195,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * 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 { @@ -1129,61 +1217,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1193,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1207,16 +1302,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index 1c397163..b5e92315 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,58 +86,71 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index 9ec076ca..e084224a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +113,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getFilesList return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +172,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -411,17 +453,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getFilesList } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +675,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +733,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +755,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +816,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index c336fc53..1233e9a3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index a0f89423..71e6ae6d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -460,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,38 +509,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; @@ -511,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +594,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +616,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +638,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +715,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +752,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +774,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +796,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -812,16 +881,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,6 +905,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index 060f2b1f..d503daf4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index 3a627415..de6c46c8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +114,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getPackag return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +173,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -411,17 +454,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) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getPackag } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +679,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +737,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,14 +759,15 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +801,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +821,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,17 +879,20 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** + * + * *
      * The packages returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( - int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { + return getPackagesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index c8f36957..b1ee1f50 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index f1d9d7e9..82160ab1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +329,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -416,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -460,7 +501,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +514,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +588,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +602,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +626,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +650,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +733,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +770,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +792,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +814,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +885,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index fde383a0..90b52eae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 1eb77068..803da10f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +115,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getRep return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +174,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) + return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositorie repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +669,8 @@ public java.util.List getRep } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +685,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +724,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -672,6 +744,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +766,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +789,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +809,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -749,6 +829,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** + * + * *
      * The repositories returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index ac72a01a..1654957b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,43 +54,51 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 86938b7a..968a6cf3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -535,7 +574,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +588,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +664,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +677,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +699,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +721,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +783,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +795,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +810,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +822,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 { @@ -781,6 +837,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +849,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +875,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +897,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +929,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +966,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +988,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1010,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1013,16 +1095,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 338c640b..0bf5fee0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index c34a1b83..f93eed7a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +113,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTagsList() return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +172,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -411,17 +453,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getTagsList() } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +675,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +733,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +755,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +816,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 53f7130a..8a0a118f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index 7e27c2e6..b73c0779 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -571,7 +625,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,38 +640,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -624,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +732,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +754,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +776,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +853,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +890,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +912,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +934,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +996,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1064,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1089,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1111,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1133,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1102,16 +1218,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,6 +1242,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index 039f3d9b..bbed7b15 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 7ef4d76b..1acb4394 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +114,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getVersio return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +173,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -411,17 +454,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) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getVersio } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +679,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +737,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,14 +759,15 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +801,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +821,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,17 +879,20 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** + * + * *
      * The versions returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( - int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { + return getVersionsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index d7fd7ec0..610ee3e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index d94e616c..6737d59a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = + (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = + new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -400,16 +432,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..0dec3987 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index b8110e19..1736129a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,29 +129,33 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -136,6 +163,7 @@ private Package(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -144,14 +172,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -159,16 +188,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 { @@ -179,11 +207,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -192,29 +223,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -225,11 +256,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -237,11 +271,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -249,6 +286,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -263,12 +302,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -276,12 +318,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -289,6 +334,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -302,6 +349,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +361,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_);
     }
@@ -343,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -358,26 +403,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.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other =
+        (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -407,118 +449,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -526,16 +577,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +609,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -580,7 +630,8 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = + new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -601,38 +652,39 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); } else { super.mergeFrom(other); return this; @@ -640,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -686,6 +739,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -693,13 +748,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -708,6 +763,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -715,15 +772,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 { @@ -731,6 +787,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -738,20 +796,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -759,15 +819,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -775,16 +838,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -792,18 +855,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -812,20 +877,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -833,54 +899,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -888,34 +961,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -936,14 +1022,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -954,6 +1041,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -964,7 +1053,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -976,6 +1065,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,6 +1085,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -1001,11 +1094,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1016,11 +1111,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1028,14 +1126,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1043,36 +1144,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,6 +1208,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1101,8 +1217,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1113,6 +1228,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1124,7 +1241,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1136,6 +1253,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1155,6 +1274,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1163,11 +1284,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1179,11 +1302,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1192,21 +1318,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1216,12 +1345,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1230,16 +1359,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1383,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 94ad9830..23149f99 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -15,10 +33,13 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -26,50 +47,63 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -79,26 +113,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..a8c0a10a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,141 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa"
+          + "ckage.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032\037google/pro"
+          + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam"
+          + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_"
+          + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/"
+          + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti"
+          + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent"
+          + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
+          + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa"
+          + "ckages\030\001 \003(\0132,.google.devtools.artifactr"
+          + "egistry.v1.Package\022\027\n\017next_page_token\030\002 "
+          + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003"
+          + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001("
+          + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr"
+          + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan"
+          + "g.org/genproto/googleapis/devtools/artif"
+          + "actregistry/v1;artifactregistry\252\002 Google"
+          + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou"
+          + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A"
+          + "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 4f9ae440..3be659f8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = + (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -578,7 +654,8 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = + new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +666,39 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +706,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +734,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +747,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +758,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +773,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +784,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 { @@ -716,6 +799,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +810,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +835,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +856,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +873,112 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -880,16 +1002,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1026,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index 0eb8aa35..fba88646 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2a08d6b3..2b2685c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,51 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +860,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +880,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +896,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +919,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +927,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,6 +1031,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -891,38 +1041,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using
+      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -934,19 +1088,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -954,8 +1111,10 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -966,46 +1125,54 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
+        if (other
+            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom(
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other
+            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+                .getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1027,11 +1194,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1041,14 +1211,17 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_ ;
+      private boolean allowSnapshotOverwrites_;
       /**
+       *
+       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1229,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1268,113 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1387,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1425,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1457,36 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1494,61 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1557,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1591,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1645,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1676,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1701,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1713,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1740,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1757,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1778,11 @@ public 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();
     }
@@ -1535,11 +1792,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1807,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1822,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1838,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1853,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1868,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1884,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1894,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1903,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1920,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1937,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1949,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1973,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +1989,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2031,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = + (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2105,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -1973,16 +2252,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2312,8 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = + new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2347,39 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2387,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2400,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2412,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2441,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2451,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2469,21 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2491,49 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2547,19 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2570,29 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2608,15 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Reposito return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2635,101 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2738,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2761,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2826,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2894,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2919,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2941,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2963,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3049,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3061,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3088,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3105,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3127,11 @@ public 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();
       }
@@ -2757,11 +3139,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3155,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3180,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3204,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3272,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3291,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3303,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3315,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3335,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3344,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3361,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3376,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3394,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3455,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3474,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3486,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3498,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3518,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3527,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3544,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3559,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3577,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3587,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3602,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3612,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3627,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3637,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3661,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3681,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3276,16 +3721,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3745,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 2924cb46..7d3073f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,104 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +157,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +169,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +186,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +202,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +219,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +257,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +292,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +302,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +317,10 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..d0e9bb14 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..c1ef77d8 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,278 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..99a5156a --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 2fdced91..685934c5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class,
+            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = + (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class,
+              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result =
+          new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,6 +569,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +580,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +606,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 { @@ -582,6 +621,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +632,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +657,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +678,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +695,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +705,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +720,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +730,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +745,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +755,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +779,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +799,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -783,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index b4c2b5af..5051621c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..98a7bb62 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 68968ca2..942b8253 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +180,22 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +203,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +232,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +244,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +261,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +274,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +315,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +473,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -443,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +516,51 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -527,7 +586,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +600,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +662,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.Projec return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +682,22 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +709,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.Proj return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +729,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +772,17 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +790,47 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +851,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +870,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +882,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +894,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +914,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +923,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +940,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +955,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +982,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1019,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 4b6628d6..21bc4289 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
@@ -35,24 +59,32 @@ public interface UpdateProjectSettingsRequestOrBuilder extends com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 04973de1..5076bc12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -399,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -449,7 +498,8 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +518,50 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) + return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +587,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +601,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +662,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +682,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +694,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +708,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +728,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,11 +737,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -673,11 +754,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +769,17 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +787,13 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +801,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +817,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +854,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +864,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +875,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +889,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +901,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +923,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +934,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +953,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +970,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +997,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1034,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 2c406dff..3fd08ad0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 578f5f70..067c0f7b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,11 +153,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ @java.lang.Override @@ -139,6 +168,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +184,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +193,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +201,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +210,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +246,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +263,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +276,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +317,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -399,16 +445,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -449,7 +494,8 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +514,39 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +594,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,14 +655,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -611,6 +674,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +686,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +700,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +720,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +729,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +746,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +761,17 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +779,13 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +793,15 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +809,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +846,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +856,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +867,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +881,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +893,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +915,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +926,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +945,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +962,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +989,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -896,16 +1003,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 11c3721e..08f6fdb8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index f20b3e2a..75a5b997 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,83 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +159,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +168,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class,
+            com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +197,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +206,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +223,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 { @@ -210,11 +242,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +258,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +291,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +306,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +321,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +337,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +352,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +367,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +383,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +397,8 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +407,13 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +426,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +440,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -389,14 +450,15 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +467,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +475,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +485,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +493,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +510,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +522,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_);
     }
@@ -489,20 +557,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +576,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other =
+        (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -576,97 +635,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +741,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class,
+              com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -697,17 +765,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +811,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +832,8 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result =
+          new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +869,39 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +909,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +943,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -911,10 +983,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +998,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1013,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1023,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 { @@ -962,6 +1038,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1048,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1072,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1092,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1109,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1131,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1153,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1215,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1276,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1295,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1307,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1319,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1339,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1348,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1365,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1380,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1398,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1459,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1478,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1490,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1502,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1522,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1531,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1548,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1563,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1614,8 @@ public java.util.List getRelatedTag
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1631,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1648,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1495,8 +1657,7 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1510,6 +1671,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1692,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1715,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1557,8 +1724,7 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1572,6 +1738,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1759,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1780,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1793,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1801,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1821,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1841,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1673,11 +1850,12 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1685,14 +1863,16 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1880,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1889,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1899,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1728,12 +1912,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
-        int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1926,23 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1.Tag,
+            com.google.devtools.artifactregistry.v1.Tag.Builder,
+            com.google.devtools.artifactregistry.v1.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1.Tag,
+                com.google.devtools.artifactregistry.v1.Tag.Builder,
+                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1950,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1964,17 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1982,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +1995,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2004,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2021,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2030,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2044,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2053,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2072,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2081,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2096,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2105,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2123,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2143,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -1967,16 +2188,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2212,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index c340f728..ec27cb32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..a4451c3a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,160 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve"
+          + "rsion.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032-google/dev"
+          + "tools/artifactregistry/v1/tag.proto\032\034goo"
+          + "gle/protobuf/struct.proto\032\037google/protob"
+          + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001"
+          + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time"
+          + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up"
+          + "date_time\030\006 \001(\0132\032.google.protobuf.Timest"
+          + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto"
+          + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030"
+          + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A"
+          + "\222\001\n\'artifactregistry.googleapis.com/Vers"
+          + "ion\022gprojects/{project}/locations/{locat"
+          + "ion}/repositories/{repository}/packages/"
+          + "{package}/versions/{version}\"\243\001\n\023ListVer"
+          + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz"
+          + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001("
+          + "\01620.google.devtools.artifactregistry.v1."
+          + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li"
+          + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio"
+          + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001"
+          + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE"
+          + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F"
+          + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre"
+          + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang"
+          + ".org/genproto/googleapis/devtools/artifa"
+          + "ctregistry/v1;artifactregistry\252\002 Google."
+          + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud"
+          + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar"
+          + "tifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index 95df7c74..c210c72e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index 6b5bbc99..d66ad118 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +528,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +544,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = + (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +581,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -637,16 +708,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +753,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = + new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +767,39 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +843,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +856,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +878,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +900,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +962,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +984,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1006,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1068,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1172,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1194,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1216,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1167,16 +1301,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1325,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index 856803b3..a9ba7500 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..faf5e918 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index e93240c0..3a443e11 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +618,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +631,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +641,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.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = + (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +684,104 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +790,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -736,16 +814,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +842,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +863,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +879,39 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +919,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +962,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +975,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +997,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1019,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1081,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1103,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1125,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1187,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1292,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1314,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1336,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1398,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1420,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1442,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1504,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1519,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1568,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1421,16 +1582,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index 7b69ee0c..a2e2ce07 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..f7549075 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,175 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 5eeab420..6f9907ad 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +532,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -500,7 +555,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +572,51 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +647,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +661,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +685,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +709,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +777,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +799,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +821,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +883,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +944,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +964,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +976,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +990,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1010,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,26 +1019,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1052,24 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1079,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1116,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index d37c1ca1..ab7b42c5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index a7c5ac4d..6368405b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,18 +253,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +284,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +296,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_); } @@ -282,8 +322,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +332,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +371,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -452,16 +499,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +525,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -500,7 +547,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +564,39 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +604,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +637,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +651,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +673,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +695,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +757,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +779,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +801,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +863,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,6 +924,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -856,6 +944,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +956,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +970,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +990,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +999,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1016,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1031,24 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1058,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -968,16 +1073,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index ed0dccb9..e1d4607a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 5a0dd439..798482af 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +227,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +375,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +397,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +408,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +475,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to delete.
      * 
* * 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; @@ -467,20 +511,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * 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 { @@ -488,61 +533,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +604,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +641,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..d133ca1d --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 3c964b02..4f00f9d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -362,7 +402,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +519,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +543,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +620,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..e954d602 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index ee36923c..3b450a74 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +601,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -566,16 +616,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..4e7fb61f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index bcba882b..21e0714d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,142 +253,152 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +432,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,46 +444,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +514,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +528,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +550,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +572,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +650,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,30 +698,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,9 +735,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index ddd7183c..fd9ab4b4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index deb68c74..19f64d27 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,75 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Hash.parser(), + extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +149,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +158,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +186,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +195,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +211,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 { @@ -198,11 +230,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +248,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +261,8 @@ public java.util.List getHash return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +270,13 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +288,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +301,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +310,21 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +332,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +347,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +363,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +378,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +393,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +409,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +425,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +456,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +468,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_); } @@ -437,20 +500,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +522,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = + (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +556,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -524,117 +577,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -642,17 +704,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +746,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -705,7 +767,8 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = + new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +800,39 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); } else { super.mergeFrom(other); return this; @@ -776,7 +840,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -802,9 +867,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -839,7 +905,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -848,10 +915,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +929,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +944,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +953,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 { @@ -897,6 +968,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +977,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +1000,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1019,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1051,61 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(hashes_); + hashes_ = + new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1120,8 @@ public java.util.List getHash } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1136,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1152,15 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1174,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1194,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1216,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,6 +1238,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1152,6 +1258,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1278,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1290,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1298,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1317,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,17 +1336,20 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1243,19 +1359,22 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1382,8 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1391,49 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1441,47 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1502,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1521,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1533,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1545,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1565,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1574,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1591,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1606,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1624,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1685,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1704,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1716,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1728,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1748,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1757,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1774,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1789,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1807,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1829,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1851,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1922,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1742,16 +1936,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1960,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 2e62a87b..6fc1602c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..8d60b37f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index ffea4ef0..40e5c38d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..63162f9e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 43d6340d..3dd93b09 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +601,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +638,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..79b06fba --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 417bc48f..0d6fbab2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -362,7 +403,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +496,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +520,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +544,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..7c22b893 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index cc80cc1e..83e7a0f8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..c70d1027 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index 6c60c285..c4aa4f3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..66b07dde --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 3855cba7..231f4729 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,13 +434,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -408,7 +456,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +468,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +508,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +537,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +551,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +573,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +595,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +657,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +725,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,30 +759,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,9 +796,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index d1805c3b..991586f3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index b4fae80f..9607e51d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,51 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() + .getEnumTypes() + .get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +281,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +335,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +347,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +365,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +381,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = + (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -362,117 +412,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -480,16 +539,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -522,7 +580,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = + new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +592,39 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); } else { super.mergeFrom(other); return this; @@ -572,7 +632,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -598,7 +659,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,51 +672,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +740,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +765,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +780,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -753,16 +843,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index c6b768e2..9d78385d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index c0d03b94..04d5baf3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 70dcd816..527043cc 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 5a2e2a7f..6fff5d5d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 182a79d5..3f05b9eb 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index d8258e0f..946c4375 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..928564d6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 6c9cd42b..2b0078e5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 89605ee4..4a4b7721 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index c1fbf2d9..6a012515 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +127,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportAptArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -710,14 +820,18 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -769,11 +889,14 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAllAptArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder + getAptArtifactsOrBuilder(int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder + addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 5ddcd053..2e5dee92 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 36b62705..8ed9ed4b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index 97ab4125..e9835bbe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 5cfb0ca7..6167e033 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index 3f093feb..e113a0a5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index 27468485..cf222560 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..e9d9fe0f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index c0b1b67b..b66c8aef 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 3becef22..195badb7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index db94a329..c3da7687 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +127,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportYumArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -710,14 +820,18 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -769,11 +889,14 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addAllYumArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder + getYumArtifactsOrBuilder(int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder + addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 1a00b12c..2bd2c9e0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 64d4e0fa..9dfbe84c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,30 +154,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @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 { @@ -163,6 +188,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -176,6 +203,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,14 +212,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -205,16 +234,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 { @@ -225,11 +253,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -240,11 +271,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -253,29 +287,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -284,6 +318,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,8 +356,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_); @@ -339,21 +372,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -379,117 +409,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -497,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,13 +561,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -543,7 +583,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -556,38 +597,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -630,7 +674,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,19 +688,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -663,21 +711,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -685,57 +734,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -743,6 +799,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -756,13 +814,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -771,6 +829,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -784,15 +844,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 { @@ -800,6 +859,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -813,20 +874,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -840,15 +903,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -862,28 +928,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -891,30 +960,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -922,18 +997,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -942,20 +1019,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -963,61 +1041,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +1112,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1041,16 +1127,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,6 +1151,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index cee62b03..6f9f9767 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,38 +86,46 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index fe6a1c0f..3c6f7a82 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.File.parser(), + extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +115,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getFile return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +174,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +196,22 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -411,17 +455,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +481,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -458,7 +503,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +585,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +617,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +628,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +664,8 @@ public java.util.List getFile } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +680,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +696,15 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +718,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +738,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +760,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +782,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -731,6 +802,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +822,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +834,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +861,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +880,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +934,49 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +984,21 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1007,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1030,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1141,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 1923defe..4631c3b8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index f95a285a..5594f7fa 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -154,12 +178,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -170,11 +197,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,29 +213,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -214,6 +244,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +256,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_); } @@ -249,8 +279,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_); @@ -263,19 +292,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.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -417,16 +454,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -461,7 +498,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -473,46 +511,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -543,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,18 +599,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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; @@ -575,20 +621,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -596,67 +643,77 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,32 +721,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,18 +760,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -717,20 +782,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -738,61 +804,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,30 +875,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,9 +912,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index f687007f..1eb63b7c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,60 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index 0d1ba786..c08e1c3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Package.parser(), + extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +115,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getP return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +174,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackag packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList( + packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getP } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +686,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** + * + * *
      * The packages returned.
      * 
@@ -654,6 +725,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +745,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,6 +767,8 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** + * + * *
      * The packages returned.
      * 
@@ -713,6 +790,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +810,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +830,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,6 +888,8 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** + * + * *
      * The packages returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 6cf4a9c8..0064727e 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index ddf035ff..a893add6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,134 +329,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +481,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance(); } @java.lang.Override @@ -460,7 +504,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +517,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +606,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +630,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +654,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +737,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +774,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +796,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +818,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +889,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +926,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index a32408c1..ec5a0872 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index f5b7cb40..d08c8a9d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.Repository>(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +116,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -117,10 +144,13 @@ private ListRepositoriesResponse( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +158,13 @@ public java.util.List g * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +176,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +189,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +206,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +223,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +297,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.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +330,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +486,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +509,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +530,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +593,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListReposi repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +625,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +636,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +675,8 @@ public java.util.List g } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +691,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +707,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +730,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -661,7 +739,8 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -672,6 +751,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +773,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +796,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +816,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -738,7 +825,8 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -749,6 +837,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -756,11 +846,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +858,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +877,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +896,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,28 +909,34 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,17 +944,22 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder + addRepositoriesBuilder() { + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +968,36 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +1005,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1028,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1051,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1125,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1162,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 1fc05520..93b11eea 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,15 +54,19 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
@@ -52,24 +77,29 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d1bbfedb..d80c37d7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,13 +553,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -535,7 +575,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +589,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +629,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +666,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +679,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +701,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +723,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +785,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +797,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +812,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +824,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 { @@ -781,6 +839,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +851,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +877,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +899,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +931,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +968,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +990,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1012,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1083,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1013,16 +1098,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index c77afd7e..7748ba51 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index e80a6480..a9ed7183 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), + extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +114,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getTagsL return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +173,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -411,17 +454,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getTagsL } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +679,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +737,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +759,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -731,6 +801,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +821,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +879,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +924,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +933,48 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +982,21 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1005,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1028,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1102,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1016,16 +1117,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index fa38f042..1b93bf53 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index 059a89b1..ae29fb6b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,13 +604,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -571,7 +626,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,46 +641,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +722,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +736,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +758,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +780,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +857,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +894,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +916,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +938,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +1000,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1068,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1093,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1115,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1137,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,30 +1208,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,9 +1245,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index 2660ddc5..e2fbbdde 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 06865407..933564d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Version.parser(), + extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +115,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getV return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +174,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersio versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList( + versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getV } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +686,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** + * + * *
      * The versions returned.
      * 
@@ -654,6 +725,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +745,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,6 +767,8 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** + * + * *
      * The versions returned.
      * 
@@ -713,6 +790,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +810,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +830,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,6 +888,8 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** + * + * *
      * The versions returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index bcc3b1a6..45175f20 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index b6258b3e..6aa3d9e4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = + new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +409,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +421,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +458,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..5373800b --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index d63f5fe3..03b7ad70 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,35 +129,40 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -143,30 +171,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -177,11 +205,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -190,29 +221,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -223,11 +254,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -235,11 +269,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -247,6 +284,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -261,12 +300,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -274,12 +316,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -287,6 +332,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -300,6 +347,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -311,8 +359,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_);
     }
@@ -341,12 +388,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -356,26 +401,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.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other =
+        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -406,117 +448,126 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -524,16 +575,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -578,7 +628,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = + new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -599,38 +650,39 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); } else { super.mergeFrom(other); return this; @@ -638,7 +690,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -672,7 +725,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,19 +738,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -705,21 +761,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -727,57 +784,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -785,18 +849,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -805,20 +871,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -826,54 +893,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -881,34 +955,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -929,14 +1016,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -947,6 +1035,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -957,7 +1047,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -969,6 +1059,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -987,6 +1079,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,11 +1088,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1009,11 +1105,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1021,14 +1120,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1036,36 +1138,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1087,6 +1202,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,8 +1211,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1106,6 +1222,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1117,7 +1235,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1129,6 +1247,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1148,6 +1268,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1156,11 +1278,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1172,11 +1296,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1185,21 +1312,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1209,12 +1339,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1223,16 +1353,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1247,6 +1377,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index cc9c2140..104cbf12 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,73 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -77,26 +111,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0a96b6ee
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/package.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\037google/protobuf/time"
+          + "stamp.proto\032\034google/api/annotations.prot"
+          + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n"
+          + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google."
+          + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132"
+          + "\032.google.protobuf.Timestamp\"L\n\023ListPacka"
+          + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030"
+          + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage"
+          + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev"
+          + "tools.artifactregistry.v1beta2.Package\022\027"
+          + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq"
+          + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque"
+          + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools"
+          + ".artifactregistry.v1beta2B\014PackageProtoP"
+          + "\001ZXgoogle.golang.org/genproto/googleapis"
+          + "/devtools/artifactregistry/v1beta2;artif"
+          + "actregistry\252\002%Google.Cloud.ArtifactRegis"
+          + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis"
+          + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg"
+          + "istry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 0fcff33f..30b8d123 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,13 +633,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -578,7 +655,8 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = + new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +667,39 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +707,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +736,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +749,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +760,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +775,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +786,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 { @@ -716,6 +801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +812,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +837,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +858,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +875,113 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +991,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -880,16 +1006,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index d633ee88..801c80f6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index 6aec32de..a7778a16 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,52 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +861,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +881,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +897,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +921,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +929,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,46 +1033,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -934,19 +1091,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -954,8 +1114,10 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -966,46 +1128,56 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); + if (other + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1027,11 +1199,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1041,14 +1216,17 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_ ; + private boolean allowSnapshotOverwrites_; /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1234,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1273,115 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1394,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1433,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1465,37 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1503,64 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1569,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1603,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1657,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1688,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1713,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1725,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1752,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1769,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1790,11 @@ public 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();
     }
@@ -1535,11 +1804,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1819,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1834,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1850,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1865,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1880,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1896,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1906,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1915,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1932,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1949,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1961,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1985,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +2002,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2044,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = + (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2118,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -1973,16 +2266,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2326,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = + new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2361,39 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2414,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2426,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2455,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2465,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2483,22 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2506,51 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2564,20 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repos return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2588,32 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .newBuilder( + (com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2629,16 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Rep return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2657,106 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder, + com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2765,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2788,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2853,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2921,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2946,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2968,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2990,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3076,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3088,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3115,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3132,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3154,11 @@ public 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();
       }
@@ -2757,11 +3166,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3182,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3207,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3231,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3299,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3318,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3330,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3342,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3362,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3371,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3388,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3403,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3421,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3482,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3501,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3513,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3525,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3545,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3554,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3571,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3586,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3604,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3614,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3629,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3639,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3654,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3664,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3688,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3708,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3276,16 +3748,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3772,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 1aabc981..56edcd7a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,104 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +160,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +172,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +189,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +205,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +222,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +260,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +295,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +305,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +320,11 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase + getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..0f89810e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,243 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..d1061ad9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..45e2471c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index ec604378..468c4c93 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = + (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class,
+              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result =
+          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -533,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +581,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +596,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +607,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 { @@ -582,6 +622,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +633,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +658,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +679,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +696,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +706,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +721,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +731,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +746,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +756,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +780,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +800,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +826,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -783,16 +840,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +864,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 3c1dbead..16f0d517 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..117abb8f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,172 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index d90d410d..bce2f426 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,46 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = + null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +115,40 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +156,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +182,22 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +205,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +246,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +263,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +276,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +318,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,19 +477,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -442,8 +500,10 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +522,52 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -523,11 +589,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +608,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +670,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.P return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +690,23 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( + projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +718,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2 return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +738,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +781,17 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +799,47 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +860,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +879,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +891,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +903,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +932,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +949,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +964,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +991,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1029,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 8be1bfe3..4257f596 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 8d812606..48b1127b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,134 +320,145 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +478,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -449,7 +501,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +521,51 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +591,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +605,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +666,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +686,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +698,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +712,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +732,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,26 +741,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +774,17 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +792,13 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +806,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +822,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +859,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +869,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +880,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +894,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +928,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +939,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +958,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +975,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +1002,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1039,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index ce37b484..2414b1b3 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index a3ff1b5c..b88ad1b8 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +195,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +203,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +212,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +265,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +278,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +319,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -399,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -449,7 +497,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +517,39 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,6 +660,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -611,6 +680,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +692,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +706,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +726,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +735,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +752,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +767,17 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +785,13 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +799,15 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +815,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +852,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +862,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +873,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +887,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +899,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +921,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +932,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +968,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +995,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -896,16 +1010,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1034,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 697f83b5..8a19edf0 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 90c5af7f..414910c1 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,84 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
+                      extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +160,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +169,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class,
+            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +198,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +207,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +224,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 { @@ -210,11 +243,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +259,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +292,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +307,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +322,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +338,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +353,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +368,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +384,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +398,8 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +408,13 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +427,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +441,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,6 +459,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +469,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +477,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +487,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +495,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +512,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +524,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_);
     }
@@ -489,20 +559,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +578,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other =
+        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -577,96 +638,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +743,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class,
+              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -697,17 +767,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +813,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +834,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result =
+          new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +871,39 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +911,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +945,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -902,7 +976,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -911,10 +986,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +1001,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1016,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1026,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 { @@ -962,6 +1041,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1051,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1075,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1095,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1112,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1134,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1156,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1218,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1279,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1298,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1310,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1322,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1342,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1351,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1368,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1383,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1401,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1462,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1481,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1493,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1505,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1525,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1534,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1551,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1566,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1617,8 @@ public java.util.List getRelat
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1634,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1651,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1510,6 +1675,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1696,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1719,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1572,6 +1743,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1764,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1785,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1798,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1806,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1826,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1846,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1678,6 +1860,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1688,11 +1872,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1887,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1896,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1906,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1730,10 +1921,12 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1934,23 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1beta2.Tag,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1beta2.Tag,
+                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1958,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1972,17 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1990,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +2003,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2012,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2029,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2038,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2052,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2061,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2080,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2089,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2104,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2113,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2131,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2151,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -1967,16 +2196,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 1fca4549..505534fe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..5f9a1a41
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,164 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/version.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\034google/api/annotatio"
+          + "ns.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\0322google/dev"
+          + "tools/artifactregistry/v1beta2/tag.proto"
+          + "\032\034google/protobuf/struct.proto\032\037google/p"
+          + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n"
+          + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create"
+          + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022"
+          + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T"
+          + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google."
+          + "devtools.artifactregistry.v1beta2.Tag\022.\n"
+          + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct"
+          + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi"
+          + "s.com/Version\022gprojects/{project}/locati"
+          + "ons/{location}/repositories/{repository}"
+          + "/packages/{package}/versions/{version}\"\250"
+          + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021"
+          + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n"
+          + "\004view\030\004 \001(\01625.google.devtools.artifactre"
+          + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005"
+          + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver"
+          + "sions\030\001 \003(\01321.google.devtools.artifactre"
+          + "gistry.v1beta2.Version\022\027\n\017next_page_toke"
+          + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001"
+          + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif"
+          + "actregistry.v1beta2.VersionView\"3\n\024Delet"
+          + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002"
+          + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP"
+          + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g"
+          + "oogle.devtools.artifactregistry.v1beta2B"
+          + "\014VersionProtoP\001ZXgoogle.golang.org/genpr"
+          + "oto/googleapis/devtools/artifactregistry"
+          + "/v1beta2;artifactregistry\252\002%Google.Cloud"
+          + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud"
+          + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou"
+          + "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 92d55120..0621d8af 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index c0059766..6111a567 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +529,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +546,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +583,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -637,16 +711,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +756,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = + new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +770,39 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +810,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +846,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +859,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +881,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +903,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +965,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +987,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1009,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1071,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1176,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1198,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1220,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1167,16 +1305,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1329,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index c61239a2..0be7b093 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5efcc8f3 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto From 5bc588848e2226639b2cbf4e1d40d4dad57bec81 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 23 Jun 2022 12:05:47 -0400 Subject: [PATCH 7/9] Update pom.xml --- google-cloud-artifact-registry/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-artifact-registry/pom.xml b/google-cloud-artifact-registry/pom.xml index 9071324f..669d2ad2 100644 --- a/google-cloud-artifact-registry/pom.xml +++ b/google-cloud-artifact-registry/pom.xml @@ -62,6 +62,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + org.threeten threetenbp @@ -90,12 +94,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test + From 10f6eaad8f14313673af6bd08278a8f0a0124ba1 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:37:09 +0000 Subject: [PATCH 8/9] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../v1/ArtifactRegistryGrpc.java | 3494 ----------------- .../v1beta2/ArtifactRegistryGrpc.java | 3275 --------------- .../v1/ArtifactRegistryClient.java | 58 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 + ...tpJsonArtifactRegistryCallableFactory.java | 0 .../v1/stub/HttpJsonArtifactRegistryStub.java | 1 + .../ArtifactRegistryClientHttpJsonTest.java | 0 .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 2628 +++++++++++++ .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 150 + .../artifactregistry/v1/ArtifactProto.java | 119 + .../v1/CreateRepositoryRequest.java | 541 +-- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 +-- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 29 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 127 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 29 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 29 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 29 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportAptArtifactsRequest.java | 526 +-- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1/ImportYumArtifactsRequest.java | 526 +-- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 +-- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 +-- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 ++- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 +-- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 +-- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 +-- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 +-- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 +-- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 +-- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 ++- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 +-- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 9 + .../devtools/artifactregistry/v1/Package.java | 571 ++- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 122 + .../artifactregistry/v1/ProjectSettings.java | 498 +-- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 ++++----- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 203 + .../artifactregistry/v1/ServiceProto.java | 265 ++ .../artifactregistry/v1/SettingsProto.java | 108 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 147 + .../v1/UpdateProjectSettingsRequest.java | 481 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 +-- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 141 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 ++- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 148 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../v1beta2/ArtifactRegistryClient.java | 47 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 + ...tpJsonArtifactRegistryCallableFactory.java | 0 .../stub/HttpJsonArtifactRegistryStub.java | 1 + .../ArtifactRegistryClientHttpJsonTest.java | 0 .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1beta2/ArtifactRegistryGrpc.java | 2456 ++++++++++++ .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 157 + .../v1beta2/CreateRepositoryRequest.java | 556 +-- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 +-- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 29 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 29 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 29 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 130 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 29 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 29 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 29 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 29 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 29 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportAptArtifactsRequest.java | 580 ++- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 9 + .../v1beta2/ImportYumArtifactsRequest.java | 580 ++- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 +-- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 +-- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 +-- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 +-- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 +-- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 +-- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 +-- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 +-- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 ++- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 +-- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 9 + .../artifactregistry/v1beta2/Package.java | 578 ++- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 115 + .../v1beta2/ProjectSettings.java | 506 +-- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 ++++----- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 208 + .../v1beta2/ServiceProto.java | 262 ++ .../v1beta2/SettingsProto.java | 112 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 151 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 +-- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 +-- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 +-- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 145 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 ++- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 155 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 .../artifactregistry/v1/AptArtifactProto.java | 168 - .../artifactregistry/v1/ArtifactProto.java | 137 - .../v1/DeleteRepositoryRequestOrBuilder.java | 54 - .../v1/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1/FileProto.java | 146 - .../v1/GetDockerImageRequestOrBuilder.java | 54 - .../v1/GetFileRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../v1/GetRepositoryRequestOrBuilder.java | 54 - .../v1/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1/OperationMetadataOrBuilder.java | 24 - .../artifactregistry/v1/PackageProto.java | 141 - .../artifactregistry/v1/RepositoryProto.java | 238 -- .../artifactregistry/v1/ServiceProto.java | 278 -- .../artifactregistry/v1/SettingsProto.java | 125 - .../artifactregistry/v1/TagProto.java | 168 - .../artifactregistry/v1/VersionProto.java | 160 - .../artifactregistry/v1/YumArtifactProto.java | 166 - .../v1beta2/AptArtifactProto.java | 175 - .../DeletePackageRequestOrBuilder.java | 50 - .../DeleteRepositoryRequestOrBuilder.java | 54 - .../v1beta2/DeleteTagRequestOrBuilder.java | 50 - .../artifactregistry/v1beta2/FileProto.java | 149 - .../v1beta2/GetFileRequestOrBuilder.java | 50 - .../v1beta2/GetPackageRequestOrBuilder.java | 50 - .../GetProjectSettingsRequestOrBuilder.java | 54 - .../GetRepositoryRequestOrBuilder.java | 54 - .../v1beta2/GetTagRequestOrBuilder.java | 50 - .../ImportAptArtifactsMetadataOrBuilder.java | 24 - .../ImportYumArtifactsMetadataOrBuilder.java | 24 - .../v1beta2/OperationMetadataOrBuilder.java | 24 - .../v1beta2/PackageProto.java | 134 - .../v1beta2/RepositoryProto.java | 243 -- .../v1beta2/ServiceProto.java | 275 -- .../v1beta2/SettingsProto.java | 129 - .../artifactregistry/v1beta2/TagProto.java | 172 - .../v1beta2/VersionProto.java | 164 - .../v1beta2/YumArtifactProto.java | 173 - 307 files changed, 27938 insertions(+), 43515 deletions(-) delete mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1 => owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java (99%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {google-cloud-artifact-registry => owl-bot-staging/v1beta2/google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {proto-google-cloud-artifact-registry-v1beta2 => owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index 8dd4c5ad..00000000 --- a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3494 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = - getListDockerImagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage> - getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = - getGetDockerImageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListDockerImagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetDockerImageMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> - listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.DockerImage> - getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> - listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Repository> - updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Package> - getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Version> - getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.File> - getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.Tag> - updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages( - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) - responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage( - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index 63baa4ed..00000000 --- a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,3275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = - "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation> - getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = - getImportAptArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation> - getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) - == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = - getImportYumArtifactsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = - getListRepositoriesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = - getGetRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation> - getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = - getCreateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository> - getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = - getUpdateRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation> - getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = - getDeleteRepositoryMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = - getListPackagesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package> - getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = - getGetPackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation> - getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = - getDeletePackageMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = - getListVersionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version> - getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = - getGetVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation> - getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = - getDeleteVersionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = - getListFilesMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File> - getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = - getGetFileMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = - getListTagsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = - getGetTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = - getCreateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag> - getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = - getUpdateTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> - getDeleteTagMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty> - getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = - getDeleteTagMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - .newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) - == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = - getGetProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) - == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = - getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2 - .UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings - .getDefaultInstance())) - .setSchemaDescriptor( - new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportAptArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getImportYumArtifactsMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListRepositoriesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteRepositoryMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListPackagesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeletePackageMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListVersionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getDeleteVersionMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getSetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetIamPolicyMethod(), responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getTestIamPermissionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetProjectSettingsMethod(), responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub - extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public void getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public void listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public void getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public void listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public void getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public void listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public void getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public void listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public void getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public void createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public void updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - * - * - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> - listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Repository> - updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> - listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Package> - getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> - listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Version> - getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> - listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.File> - getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> - listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.Tag> - updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture - getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.iam.v1.TestIamPermissionsResponse> - testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings> - updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) - responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository( - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages( - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) - responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage( - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage( - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions( - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) - responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion( - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion( - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles( - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) - responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile( - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags( - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) - responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag( - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag( - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag( - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag( - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy( - (com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy( - (com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions( - (com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private abstract static class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index a5e560e6..e85dda09 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -53,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +82,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -211,6 +212,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -2774,10 +2776,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2827,10 +2826,7 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, - ListDockerImagesResponse, - DockerImage, - ListDockerImagesPage, + ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2851,10 +2847,7 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2904,10 +2897,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2928,10 +2918,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2980,10 +2967,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -3003,10 +2987,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3055,10 +3036,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index fd0751f2..0009bc68 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java @@ -34,6 +34,7 @@ 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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -55,10 +56,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index a58cd64c..16275bcf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index 0ba3a47c..cbd26e53 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -117,10 +117,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index 45335bd2..e0d1bb10 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,6 +84,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java index a6ff2063..836dd0c1 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java +++ b/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java @@ -35,6 +35,7 @@ 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.UnaryCallable; diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..e3ceeee1 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,2628 @@ +package com.google.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListDockerImagesMethod() { + io.grpc.MethodDescriptor getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetDockerImageMethod() { + io.grpc.MethodDescriptor getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 7117c539..448922b7 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,16 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -617,10 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -629,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -639,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = - (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -682,103 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -787,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -811,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -839,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -860,8 +786,7 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -876,39 +801,38 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -916,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -959,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -972,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -994,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1016,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1078,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1100,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1122,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1184,103 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1288,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1310,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1332,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1394,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1416,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1438,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1500,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1515,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1564,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1578,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1602,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index 24f2f3e6..ccbfbfba 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..443f6d5f --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,150 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..d2e38912 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,119 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { "DockerImages", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 28dde700..73cce54c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -504,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -552,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -569,50 +516,46 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -643,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -657,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -681,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -705,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -773,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -795,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -817,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -879,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -940,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -960,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -972,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -986,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1006,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1015,13 +903,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
@@ -1032,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1047,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1074,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1111,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index 9816339e..cc064ca5 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index 31cca5ed..bbdbbb62 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,14 +220,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ @java.lang.Override @@ -268,8 +232,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -282,7 +244,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -320,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -330,19 +293,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -369,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -497,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -523,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -544,8 +500,7 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -561,39 +516,38 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -601,8 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -633,8 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -646,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -668,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -690,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -752,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -774,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -796,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -858,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -919,15 +838,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -938,8 +856,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -950,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -964,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -984,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -993,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1010,14 +918,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1025,24 +930,21 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1052,12 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -1066,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1090,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index 491f3b74..ffc90b5d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index 8f10f939..a84494eb 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -485,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -507,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -529,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @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); } @@ -600,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -615,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -639,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index e347b777..8ad16aca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder - extends +public interface DeletePackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index 29138c37..e9c9f3e3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -477,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -515,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -539,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -616,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..8199afc8 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 0f4b7556..492ecb7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..2a237596 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index 74d8170f..bb45536b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,134 +229,125 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -388,15 +355,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -430,8 +397,7 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -442,39 +408,38 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -482,9 +447,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -511,8 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -524,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -546,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -568,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -646,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -694,13 +637,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -709,16 +651,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -733,4 +675,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index fbc7fd65..a845238c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index cc31dfd0..e11da581 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -32,16 +15,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DockerImage extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -51,15 +33,16 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -79,79 +62,71 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              uri_ = s;
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                tags_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              tags_.add(s);
-              break;
+            uri_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              tags_ = new com.google.protobuf.LazyStringArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 32:
-            {
-              imageSizeBytes_ = input.readInt64();
-              break;
+            tags_.add(s);
+            break;
+          }
+          case 32: {
+
+            imageSizeBytes_ = input.readInt64();
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (uploadTime_ != null) {
+              subBuilder = uploadTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (uploadTime_ != null) {
-                subBuilder = uploadTime_.toBuilder();
-              }
-              uploadTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(uploadTime_);
-                uploadTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(uploadTime_);
+              uploadTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              mediaType_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            mediaType_ = s;
+            break;
+          }
+          case 58: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (buildTime_ != null) {
+              subBuilder = buildTime_.toBuilder();
             }
-          case 58:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (buildTime_ != null) {
-                subBuilder = buildTime_.toBuilder();
-              }
-              buildTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(buildTime_);
-                buildTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(buildTime_);
+              buildTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +134,8 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -168,27 +144,22 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class,
-            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -203,7 +174,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -212,15 +182,14 @@ 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. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -235,15 +204,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -254,8 +224,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -263,7 +231,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ @java.lang.Override @@ -272,15 +239,14 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -288,15 +254,16 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -307,42 +274,34 @@ public com.google.protobuf.ByteString getUriBytes() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_; } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -350,26 +309,22 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -377,7 +332,6 @@ public com.google.protobuf.ByteString getTagsBytes(int index) {
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -388,14 +342,11 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -403,14 +354,11 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ @java.lang.Override @@ -418,8 +366,6 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** - * - * *
    * Time the image was uploaded.
    * 
@@ -434,8 +380,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -444,7 +388,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; - * * @return The mediaType. */ @java.lang.Override @@ -453,15 +396,14 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -470,15 +412,16 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -489,8 +432,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -500,7 +441,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -508,8 +448,6 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -519,7 +457,6 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ @java.lang.Override @@ -527,8 +464,6 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -545,7 +480,6 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -557,7 +491,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -603,16 +538,19 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -622,26 +560,32 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other =
-        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getUri().equals(other.getUri())) return false;
-    if (!getTagsList().equals(other.getTagsList())) return false;
-    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getUri()
+        .equals(other.getUri())) return false;
+    if (!getTagsList()
+        .equals(other.getTagsList())) return false;
+    if (getImageSizeBytes()
+        != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime().equals(other.getUploadTime())) return false;
+      if (!getUploadTime()
+          .equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType().equals(other.getMediaType())) return false;
+    if (!getMediaType()
+        .equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime().equals(other.getBuildTime())) return false;
+      if (!getBuildTime()
+          .equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -663,7 +607,8 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -680,103 +625,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -788,23 +726,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class,
-              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -812,15 +748,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -850,9 +787,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -871,8 +808,7 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result =
-          new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -901,39 +837,38 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -941,8 +876,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -993,8 +927,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -1003,13 +936,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1024,13 +954,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1039,8 +969,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1055,14 +983,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1070,8 +999,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1086,22 +1013,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1116,18 +1041,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1142,16 +1064,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1159,8 +1081,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object uri_ = ""; /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1168,13 +1088,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1183,8 +1103,6 @@ public java.lang.String getUri() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1192,14 +1110,15 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - public com.google.protobuf.ByteString getUriBytes() { + public com.google.protobuf.ByteString + getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); uri_ = b; return b; } else { @@ -1207,8 +1126,6 @@ public com.google.protobuf.ByteString getUriBytes() { } } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1216,22 +1133,20 @@ public com.google.protobuf.ByteString getUriBytes() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri(java.lang.String value) { + public Builder setUri( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1239,18 +1154,15 @@ public Builder setUri(java.lang.String value) {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** - * - * *
      * Required. URL to access the image.
      * Example:
@@ -1258,67 +1170,57 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes(com.google.protobuf.ByteString value) { + public Builder setUriBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList getTagsList() { + public com.google.protobuf.ProtocolStringList + getTagsList() { return tags_.getUnmodifiableView(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1326,90 +1228,80 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString getTagsBytes(int index) { + public com.google.protobuf.ByteString + getTagsBytes(int index) { return tags_.getByteString(index); } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags(int index, java.lang.String value) { + public Builder setTags( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags(java.lang.String value) { + public Builder addTags( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags(java.lang.Iterable values) { + public Builder addAllTags( + java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @return This builder for chaining. */ public Builder clearTags() { @@ -1419,32 +1311,28 @@ public Builder clearTags() { return this; } /** - * - * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; - * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes(com.google.protobuf.ByteString value) { + public Builder addTagsBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_; + private long imageSizeBytes_ ; /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1452,7 +1340,6 @@ public Builder addTagsBytes(com.google.protobuf.ByteString value) {
      * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ @java.lang.Override @@ -1460,8 +1347,6 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1469,19 +1354,16 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; - * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1489,11 +1371,10 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; - * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1501,47 +1382,34 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - uploadTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1562,15 +1430,14 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1581,8 +1448,6 @@ public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1593,7 +1458,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1605,8 +1470,6 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1625,8 +1488,6 @@ public Builder clearUploadTime() { return this; } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1634,13 +1495,11 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1651,14 +1510,11 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : uploadTime_; + return uploadTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } } /** - * - * *
      * Time the image was uploaded.
      * 
@@ -1666,17 +1522,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), getParentForChildren(), isClean()); + uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), + getParentForChildren(), + isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1684,8 +1537,6 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1694,13 +1545,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; - * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1709,8 +1560,6 @@ public java.lang.String getMediaType() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1719,14 +1568,15 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString getMediaTypeBytes() { + public com.google.protobuf.ByteString + getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1734,8 +1584,6 @@ public com.google.protobuf.ByteString getMediaTypeBytes() { } } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1744,22 +1592,20 @@ public com.google.protobuf.ByteString getMediaTypeBytes() {
      * 
* * string media_type = 6; - * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType(java.lang.String value) { + public Builder setMediaType( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1768,18 +1614,15 @@ public Builder setMediaType(java.lang.String value) {
      * 
* * string media_type = 6; - * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** - * - * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1788,16 +1631,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; - * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1805,13 +1648,8 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - buildTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1821,15 +1659,12 @@ public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1839,7 +1674,6 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1850,8 +1684,6 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** - * - * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1876,8 +1708,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1888,7 +1718,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1899,8 +1730,6 @@ public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValu
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1915,7 +1744,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1927,8 +1756,6 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1951,8 +1778,6 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1964,13 +1789,11 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-
+      
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1985,12 +1808,11 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ?
+            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
-     *
-     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -2002,24 +1824,21 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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> 
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(), getParentForChildren(), isClean());
+        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(),
+                getParentForChildren(),
+                isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
-
     @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);
     }
 
@@ -2029,12 +1848,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -2043,16 +1862,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public DockerImage parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new DockerImage(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public DockerImage parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new DockerImage(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2067,4 +1886,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 23262b8c..320f9fe3 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder
-    extends
+public interface DockerImageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,13 +22,10 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -61,14 +40,12 @@ public interface DockerImageOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -76,13 +53,10 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The uri. */ java.lang.String getUri(); /** - * - * *
    * Required. URL to access the image.
    * Example:
@@ -90,65 +64,53 @@ public interface DockerImageOrBuilder
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for uri. */ - com.google.protobuf.ByteString getUriBytes(); + com.google.protobuf.ByteString + getUriBytes(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return A list containing the tags. */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @return The count of tags. */ int getTagsCount(); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** - * - * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; - * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString getTagsBytes(int index); + com.google.protobuf.ByteString + getTagsBytes(int index); /** - * - * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -156,38 +118,29 @@ public interface DockerImageOrBuilder
    * 
* * int64 image_size_bytes = 4; - * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; - * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** - * - * *
    * Time the image was uploaded.
    * 
@@ -197,8 +150,6 @@ public interface DockerImageOrBuilder com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -207,13 +158,10 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The mediaType. */ java.lang.String getMediaType(); /** - * - * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -222,14 +170,12 @@ public interface DockerImageOrBuilder
    * 
* * string media_type = 6; - * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString getMediaTypeBytes(); + com.google.protobuf.ByteString + getMediaTypeBytes(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -239,13 +185,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -255,13 +198,10 @@ public interface DockerImageOrBuilder
    * 
* * .google.protobuf.Timestamp build_time = 7; - * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** - * - * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index ce45d8df..6c52e7ff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,73 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -147,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -156,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -184,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -193,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -209,15 +178,16 @@ 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 { @@ -228,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -246,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -259,8 +224,6 @@ public java.util.List getHashesLis return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -268,13 +231,11 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -286,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -299,8 +258,6 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -308,21 +265,19 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -330,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -345,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -361,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -376,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -391,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -407,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -423,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -454,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -498,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -520,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = - (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -554,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -574,127 +523,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, - com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -702,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -744,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -765,8 +705,7 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = - new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -798,39 +737,38 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); } else { super.mergeFrom(other); return this; @@ -864,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -911,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -940,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -949,14 +881,15 @@ 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 { @@ -964,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -973,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -996,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1015,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1047,60 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1115,8 +1026,6 @@ public java.util.List getHashesLis } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1131,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1147,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1169,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1189,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1211,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1233,15 +1134,14 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes( + com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1252,8 +1152,6 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder bu return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1272,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1284,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1292,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1311,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1330,44 +1223,39 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1375,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1384,48 +1270,42 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, - com.google.devtools.artifactregistry.v1.Hash.Builder, - com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1433,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1494,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1513,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1525,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1537,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1557,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1566,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1583,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1598,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1616,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1677,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1696,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1708,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1720,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1740,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1749,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1766,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1781,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1799,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1821,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1843,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1914,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1928,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1952,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 1fcb148d..647b4921 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..b27baa2c --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,127 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index f871a896..6adf4d6d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetDockerImageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the docker images.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = - new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -490,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -514,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -538,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the docker images.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -615,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -630,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -654,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..36dc5023 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the docker images.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index 3f8a0fad..ecee545f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = - (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, - com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = - new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..8a742290 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index dedb9b29..10915d11 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 76ccce9a..4875af8f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,50 +1,29 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder - extends +public interface GetPackageRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 3627d4ab..020c6eea 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..35c962cf --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 583d7cc7..048b50e2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -359,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -377,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -399,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -410,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; @@ -450,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -476,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -513,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -537,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -629,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -653,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..323cd5a0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index 7b8ad00d..b8001a05 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = - (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, - com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = - new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..9c1264a9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index acecfccc..87991098 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +387,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -455,8 +408,7 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -467,39 +419,38 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -507,8 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -535,8 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -548,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -570,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -592,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -654,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -722,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +676,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -770,16 +690,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -794,4 +714,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index e84fc09e..da00f2d4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index c47f21a7..1c03545a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,49 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -279,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -333,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -345,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -363,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -379,16 +331,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = - (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +361,118 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, - com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -537,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -578,8 +522,7 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = - new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -590,39 +533,38 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); } else { super.mergeFrom(other); return this; @@ -668,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = - com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -736,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -761,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -776,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -825,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -839,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index be94835f..d8e3f7f4 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index 9c9acac2..bb7e4513 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 421580d3..01ea3691 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 98066536..7ae60022 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index af98cad2..5fc859fc 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 7d39fbec..4ca45085 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..c24b837d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 559cb1cf..8259205d 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index 7d91344c..f70fc673 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 6f0a6f0a..2dc5cfd3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -125,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getAp return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, - com.google.devtools.artifactregistry.v1.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index da3615ea..7c5e3ba3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 8a621732..6cdd7e6a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,48 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -165,34 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -200,26 +166,21 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
@@ -227,10 +188,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -238,14 +198,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -253,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -268,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -282,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -312,12 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -327,22 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -376,145 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -530,16 +471,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override @@ -553,8 +492,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -576,64 +514,57 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -654,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -680,20 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -701,14 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ @java.lang.Override @@ -717,27 +638,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -751,8 +667,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -760,8 +674,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,26 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -807,8 +712,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -832,21 +735,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -854,21 +752,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
@@ -876,59 +770,44 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -939,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -961,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -980,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -991,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1003,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1023,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1032,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1049,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1062,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1086,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index f04be65c..845066fd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -94,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index 85d8b6ca..d6815dc2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,16 +220,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -278,152 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -435,16 +394,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override @@ -458,8 +415,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -475,51 +431,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -552,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -563,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -619,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -712,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -751,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -797,32 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index 0771527b..a4a49e76 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 14ed5254..1833db60 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,145 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -306,16 +276,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override @@ -329,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -339,51 +306,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -403,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -414,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -426,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -463,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fba0379 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index 82bcbf4b..b2984499 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,41 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -160,34 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -195,26 +160,21 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -222,10 +182,9 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -233,14 +192,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -249,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -280,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -292,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -313,9 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -325,19 +279,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -369,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -519,14 +463,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -541,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -560,64 +502,58 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -638,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -649,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -664,20 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -685,14 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ @java.lang.Override @@ -701,27 +627,22 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -735,8 +656,6 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -744,8 +663,7 @@ public Builder setGcsSource( * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -756,26 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -791,8 +701,6 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -816,21 +724,16 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -838,21 +741,17 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -860,48 +759,38 @@ public Builder clearGcsSource() { * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -910,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -932,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1003,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 2f447836..38d3e8bd 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,89 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; - * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index c3ec50ce..8a51de85 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,40 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -125,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -157,8 +127,6 @@ public java.util.List getYu return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -166,13 +134,11 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -184,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -197,8 +161,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -212,85 +174,66 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -319,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,16 +278,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -367,148 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,16 +463,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override @@ -551,8 +484,7 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -580,51 +512,46 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -643,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -670,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -698,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -709,38 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -748,8 +661,6 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -764,8 +675,6 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -780,8 +689,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -803,8 +710,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -823,8 +728,6 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -845,8 +748,6 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -868,8 +769,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -888,8 +787,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -908,8 +805,6 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -920,7 +815,8 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -928,8 +824,6 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -947,8 +841,6 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -966,8 +858,6 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -979,8 +869,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -990,22 +878,19 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1013,8 +898,6 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1022,12 +905,10 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
@@ -1036,71 +917,55 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1108,14 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1125,17 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1143,14 +1001,11 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1167,19 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1190,17 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1214,14 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1238,18 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1260,19 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1283,22 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1306,14 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1326,14 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1346,50 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1397,75 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1475,32 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index 50fe871f..e42fa5ab 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,83 +33,64 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index 5102e43d..d180c24c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -497,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -510,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -584,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -620,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -642,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -719,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -756,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -778,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -800,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -871,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -908,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 30b4accd..5ba1a827 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder - extends +public interface ListDockerImagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index ac237ea9..4ab80e6e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListDockerImagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - dockerImages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.DockerImage.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dockerImages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -115,27 +94,22 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** - * - * *
    * The docker images returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getDo return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** - * - * *
    * The docker images returned.
    * 
@@ -174,8 +144,6 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** - * - * *
    * The docker images returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** - * - * *
    * The docker images returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getDockerImagesList() + .equals(other.getDockerImagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -456,17 +411,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) { getDockerImagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto - .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = - new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDockerImagesFieldBuilder() - : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDockerImagesFieldBuilder() : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = - new java.util.ArrayList( - dockerImages_); + dockerImages_ = new java.util.ArrayList(dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> - dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesList() { + public java.util.List getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -669,8 +605,6 @@ private void ensureDockerImagesIsMutable() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -685,8 +619,6 @@ public int getDockerImagesCount() { } } /** - * - * *
      * The docker images returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** - * - * *
      * The docker images returned.
      * 
@@ -724,8 +654,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -744,8 +672,6 @@ public Builder setDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -766,8 +692,6 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -789,8 +713,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -809,8 +731,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -829,8 +749,6 @@ public Builder addDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllDockerImages( return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearDockerImages() { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeDockerImages(int index) { return this; } /** - * - * *
      * The docker images returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The docker images returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); - } else { + return dockerImages_.get(index); } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** - * - * *
      * The docker images returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** - * - * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, - com.google.devtools.artifactregistry.v1.DockerImage.Builder, - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index e0d919e8..c2023b9e 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder - extends +public interface ListDockerImagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List getDockerImagesList(); + java.util.List + getDockerImagesList(); /** - * - * *
    * The docker images returned.
    * 
@@ -44,8 +25,6 @@ public interface ListDockerImagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** - * - * *
    * The docker images returned.
    * 
@@ -54,51 +33,43 @@ public interface ListDockerImagesResponseOrBuilder */ int getDockerImagesCount(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** - * - * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 411fed6c..3d55fa27 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -46,15 +28,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,40 +99,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -162,30 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -196,8 +170,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -211,7 +183,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -220,15 +191,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -242,15 +212,16 @@ 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 { @@ -261,14 +232,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -279,14 +247,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -295,29 +260,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -328,14 +293,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -344,29 +306,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; } } /** - * - * *
    * The field to order the results by.
    * 
* * 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 { @@ -375,7 +337,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -387,7 +348,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -416,7 +378,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -435,19 +398,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.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -475,127 +442,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -603,15 +560,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -629,9 +587,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -650,8 +608,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -665,39 +622,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -705,8 +661,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -745,8 +700,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -758,21 +712,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -781,22 +733,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -804,64 +755,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -869,8 +813,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -884,13 +826,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -899,8 +841,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -914,14 +854,15 @@ 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 { @@ -929,8 +870,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -944,22 +883,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -973,18 +910,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -998,31 +932,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -1030,36 +961,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -1067,20 +992,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1089,21 +1012,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1111,61 +1033,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1173,20 +1088,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private java.lang.Object orderBy_ = ""; /** - * - * *
      * The field to order the results by.
      * 
* * 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; @@ -1195,21 +1108,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * The field to order the results by.
      * 
* * 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 { @@ -1217,68 +1129,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy(java.lang.String value) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * string order_by = 5; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1288,12 +1193,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1302,16 +1207,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1326,4 +1231,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index b5e92315..1c397163 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,71 +60,58 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * The field to order the results by.
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index e084224a..9ec076ca 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -113,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getFilesList return files_; } /** - * - * *
    * The files returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -172,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -453,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto - .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getFilesList } } /** - * - * *
      * The files returned.
      * 
@@ -675,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
@@ -733,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -755,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles( + com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder bui return this; } /** - * - * *
      * The files returned.
      * 
@@ -816,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i } } /** - * - * *
      * The files returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(i * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, - com.google.devtools.artifactregistry.v1.File.Builder, - com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index 1233e9a3..c336fc53 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index 71e6ae6d..a0f89423 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -178,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -196,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -212,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -243,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -278,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -291,17 +262,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -453,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,9 +439,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -496,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -509,39 +472,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; @@ -549,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -581,8 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,20 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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; @@ -616,21 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @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 { @@ -638,76 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -715,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -752,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -774,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -796,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -867,12 +798,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -881,16 +812,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -905,4 +836,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index d503daf4..060f2b1f 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index de6c46c8..3a627415 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -114,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getPackag return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -173,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -454,17 +411,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) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getPackag } } /** - * - * *
      * The packages returned.
      * 
@@ -679,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -737,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -759,15 +692,14 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages( + int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Pa return this; } /** - * - * *
      * The packages returned.
      * 
@@ -801,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -821,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -879,20 +802,17 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( + int index) { return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** - * - * *
      * The packages returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { - return getPackagesFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( + int index) { + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, - com.google.devtools.artifactregistry.v1.Package.Builder, - com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index b1ee1f50..c8f36957 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index 82160ab1..f1d9d7e9 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,127 +298,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -457,15 +416,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +439,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -501,8 +460,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -514,50 +472,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -588,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -602,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -626,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -650,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -733,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -770,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -792,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -814,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -885,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -922,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index 90b52eae..fde383a0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 803da10f..1eb77068 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -115,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getRep return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -174,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -456,17 +411,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -482,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -504,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -525,50 +478,46 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -587,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -619,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -630,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -669,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -685,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -701,8 +633,6 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** - * - * *
      * The repositories returned.
      * 
@@ -724,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -744,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -766,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -789,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -809,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -829,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -841,7 +759,8 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -849,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -868,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -887,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -900,8 +813,6 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
@@ -911,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -934,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** - * - * *
      * The repositories returned.
      * 
@@ -943,12 +849,10 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -957,36 +861,30 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -994,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1017,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1040,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1114,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index 1654957b..ac72a01a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,51 +33,43 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 968a6cf3..86938b7a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,9 +514,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -574,8 +535,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -588,39 +548,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -628,8 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -664,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -677,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -699,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -721,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -783,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -795,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -810,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -822,14 +765,15 @@ 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 { @@ -837,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -849,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -875,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -897,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -929,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -966,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -988,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1010,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1081,12 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1095,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 0bf5fee0..338c640b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index f93eed7a..c34a1b83 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,31 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -113,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -145,8 +121,6 @@ public java.util.List getTagsList() return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -154,13 +128,11 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -172,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -185,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -194,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -218,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -250,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -279,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -325,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -453,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +437,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -500,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -521,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -561,8 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -581,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -613,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -623,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -659,8 +605,6 @@ public java.util.List getTagsList() } } /** - * - * *
      * The tags returned.
      * 
@@ -675,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -691,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
@@ -733,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -755,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -777,15 +713,14 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag va return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -796,8 +731,6 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder build return this; } /** - * - * *
      * The tags returned.
      * 
@@ -816,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -828,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -836,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -855,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -874,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int } } /** - * - * *
      * The tags returned.
      * 
@@ -928,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -977,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int in private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1000,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1023,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1097,12 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1111,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1135,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 8a0a118f..53f7130a 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index b73c0779..7e27c2e6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,9 +550,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -625,8 +571,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -640,39 +585,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; @@ -680,8 +624,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -719,8 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -732,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -754,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -776,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -853,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -890,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -912,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -934,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -996,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = - com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1064,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1089,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1111,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1133,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1204,12 +1088,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1218,16 +1102,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1242,4 +1126,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index bbed7b15..039f3d9b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 1acb4394..7ef4d76b 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -114,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getVersio return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -173,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -454,17 +411,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) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto - .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -616,8 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -626,29 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getVersio } } /** - * - * *
      * The versions returned.
      * 
@@ -679,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -737,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -759,15 +692,14 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions( + int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Ve return this; } /** - * - * *
      * The versions returned.
      * 
@@ -801,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -821,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -879,20 +802,17 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( + int index) { return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -902,22 +822,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** - * - * *
      * The versions returned.
      * 
@@ -934,48 +849,42 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { - return getVersionsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( + int index) { + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, - com.google.devtools.artifactregistry.v1.Version.Builder, - com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -983,21 +892,19 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1006,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1029,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1103,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1118,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index 610ee3e0..d7fd7ec0 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index 6737d59a..d94e616c 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = - (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, - com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,9 +276,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto - .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -325,8 +297,7 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = - new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -335,39 +306,38 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -375,8 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -396,8 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -406,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -418,12 +386,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -432,16 +400,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -456,4 +424,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..e3a558ac --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index 1736129a..b8110e19 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,33 +106,29 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -163,7 +136,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -172,15 +144,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -188,15 +159,16 @@ 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 { @@ -207,14 +179,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -223,29 +192,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -256,14 +225,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -271,14 +237,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -286,8 +249,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -302,15 +263,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -318,15 +276,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -334,8 +289,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -349,7 +302,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -361,7 +313,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -390,10 +343,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -403,23 +358,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other =
-        (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -449,127 +407,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, - com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -577,15 +526,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -609,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto - .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -630,8 +580,7 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = - new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -652,39 +601,38 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); } else { super.mergeFrom(other); return this; @@ -692,8 +640,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -739,8 +686,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -748,13 +693,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -763,8 +708,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -772,14 +715,15 @@ 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 { @@ -787,8 +731,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -796,22 +738,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -819,18 +759,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -838,16 +775,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -855,20 +792,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -877,21 +812,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -899,61 +833,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -961,47 +888,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1022,15 +936,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1041,8 +954,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1053,7 +964,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1065,8 +976,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1085,8 +994,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1094,13 +1001,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1111,14 +1016,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1126,17 +1028,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1144,49 +1043,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1208,8 +1094,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1217,7 +1101,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1228,8 +1113,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1241,7 +1124,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1253,8 +1136,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1274,8 +1155,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1284,13 +1163,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1302,14 +1179,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1318,24 +1192,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1345,12 +1216,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1359,16 +1230,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1383,4 +1254,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 23149f99..94ad9830 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,31 +1,13 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -33,13 +15,10 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -47,63 +26,50 @@ public interface PackageOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -113,34 +79,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..7b437e4a
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,122 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa" +
+      "ckage.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032\037google/pro" +
+      "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" +
+      "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" +
+      "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" +
+      "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" +
+      "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" +
+      "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" +
+      "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" +
+      "ckages\030\001 \003(\0132,.google.devtools.artifactr" +
+      "egistry.v1.Package\022\027\n\017next_page_token\030\002 " +
+      "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" +
+      "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" +
+      "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" +
+      "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" +
+      "g.org/genproto/googleapis/devtools/artif" +
+      "actregistry/v1;artifactregistry\252\002 Google" +
+      ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" +
+      "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" +
+      "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 3be659f8..4f9ae440 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = - (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -654,8 +578,7 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = - new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -666,39 +589,38 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -706,8 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -734,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -747,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -758,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -773,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -784,14 +700,15 @@ 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 { @@ -799,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -810,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -835,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -856,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -873,112 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -988,12 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -1002,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index fba88646..0eb8aa35 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2b2685c2..2a08d6b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,51 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -860,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -880,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -896,16 +761,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -919,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -927,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1031,8 +883,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -1041,42 +891,38 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
-                    .class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
       }
 
-      // Construct using
-      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -1088,22 +934,19 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto
-            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-            .getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -1111,10 +954,8 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-          buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
-            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -1125,54 +966,46 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other
-            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom(
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
+        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(
-          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other
-            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
-                .getDefaultInstance()) return this;
+      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1194,14 +1027,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
-            null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1211,17 +1041,14 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_;
+      private boolean allowSnapshotOverwrites_ ;
       /**
-       *
-       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1229,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1268,113 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1387,33 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1425,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1457,36 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1494,61 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1557,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1591,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1645,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1676,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1701,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1713,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1740,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1757,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1778,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1792,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1807,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1822,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1838,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1853,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1868,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1884,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1894,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1903,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1920,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1937,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1949,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1973,9 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1989,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2031,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = - (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2105,146 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, - com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -2252,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2291,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2312,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = - new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2347,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); } else { super.mergeFrom(other); return this; @@ -2387,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2400,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2412,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2441,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2451,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2469,21 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2491,49 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2547,19 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2570,29 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2608,15 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2635,101 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2738,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2761,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2826,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = - com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2894,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2919,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2941,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2963,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3049,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3061,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3105,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3127,11 +2744,12 @@ public 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();
       }
@@ -3139,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3155,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3180,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3204,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3272,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3291,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3303,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3315,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3335,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3344,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3361,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3376,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3394,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3455,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3474,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3486,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3498,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3518,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3527,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3544,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3559,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3577,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3587,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3602,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3612,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3627,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3637,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3661,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3681,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3707,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3721,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3745,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 7d3073f7..2924cb46 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,150 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -157,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -169,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -186,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -202,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -219,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -257,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -292,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -302,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -317,10 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..c29b26fa --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,203 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..cf63a61d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,265 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..db067c93 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,108 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 685934c5..2fdced91 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto
-        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class,
-            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = - (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class,
-              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto
-          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result =
-          new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -569,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -580,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -595,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -606,14 +566,15 @@ 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 { @@ -621,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -657,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -678,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -695,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -705,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -720,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -730,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -745,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -755,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -779,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -799,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -825,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -839,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -863,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index 5051621c..b4c2b5af 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..a0942140 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,147 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 942b8253..68968ca2 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -180,22 +146,18 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -232,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -244,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -261,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -274,21 +233,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -315,145 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,16 +422,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto - .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override @@ -496,8 +443,7 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -516,51 +462,46 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -586,9 +527,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -662,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -682,22 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -709,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -729,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -772,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -790,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -851,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -870,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -882,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -894,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -914,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -940,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -955,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -982,32 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1019,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 21bc4289..4b6628d6 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
@@ -59,32 +35,24 @@ public interface UpdateProjectSettingsRequestOrBuilder com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 5076bc12..04973de1 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -448,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -498,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -518,50 +468,46 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -587,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -601,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -662,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -682,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -694,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -708,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -728,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -737,13 +658,11 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -754,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -769,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, - com.google.devtools.artifactregistry.v1.Repository.Builder, - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -787,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -801,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -817,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -854,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -864,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -875,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -889,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -901,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -923,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -934,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -953,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -970,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -997,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 3fd08ad0..2c406dff 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 067c0f7b..578f5f70 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,14 +127,11 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ @java.lang.Override @@ -168,8 +139,6 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -184,8 +153,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -193,7 +160,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -201,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -210,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -218,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -234,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -246,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -263,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -276,21 +239,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -317,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -445,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -473,9 +428,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto - .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -494,8 +449,7 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -514,39 +468,38 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -554,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -581,8 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -655,15 +593,14 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag( + com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -674,8 +611,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builde return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -686,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -700,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -720,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -729,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -746,14 +673,11 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -761,17 +685,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -779,13 +700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -793,15 +709,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -809,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -846,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -856,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -867,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -881,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -893,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -915,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -926,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -945,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -962,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -989,12 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -1003,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1027,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 08f6fdb8..11c3721e 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index 75a5b997..f20b3e2a 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,83 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -159,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -168,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class,
-            com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -197,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -206,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -223,15 +190,16 @@ 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 { @@ -242,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -258,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -291,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -306,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -321,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -337,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -352,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -367,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -383,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,8 +344,6 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -407,13 +352,11 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -426,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -440,8 +381,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -450,15 +389,14 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -467,7 +405,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -475,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -485,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -493,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -510,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -522,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -557,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -576,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other =
-        (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -635,104 +576,97 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -741,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class,
-              com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -765,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -811,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -832,8 +764,7 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result =
-          new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -869,39 +800,38 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -909,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -943,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -983,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -998,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1013,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1023,14 +946,15 @@ 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 { @@ -1038,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1048,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1072,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1092,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1109,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1131,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1153,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1215,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1276,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1295,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1307,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1319,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1339,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1348,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1365,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1380,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1398,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1459,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1478,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1490,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1502,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1522,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1531,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1548,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1563,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, - com.google.devtools.artifactregistry.v1.Tag.Builder, - com.google.devtools.artifactregistry.v1.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1614,8 +1458,6 @@ public java.util.List getRelatedTag
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1631,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1657,7 +1495,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1671,8 +1510,6 @@ public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1692,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1715,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1724,7 +1557,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(
+        int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1738,8 +1572,6 @@ public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1759,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1780,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1793,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1801,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1821,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1841,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1850,12 +1673,11 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
+        int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1863,16 +1685,14 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+        int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1880,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1889,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1899,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1912,13 +1728,12 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
+        int index) {
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1926,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag,
-            com.google.devtools.artifactregistry.v1.Tag.Builder,
-            com.google.devtools.artifactregistry.v1.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1.Tag,
-                com.google.devtools.artifactregistry.v1.Tag.Builder,
-                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1950,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1964,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1982,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1995,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2004,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2021,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2030,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2044,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2053,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2072,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2081,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2096,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2105,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2123,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2143,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2174,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -2188,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2212,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index ec27cb32..c340f728 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..e4184f9e
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,141 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve" +
+      "rsion.proto\022#google.devtools.artifactreg" +
+      "istry.v1\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\032-google/dev" +
+      "tools/artifactregistry/v1/tag.proto\032\034goo" +
+      "gle/protobuf/struct.proto\032\037google/protob" +
+      "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" +
+      " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" +
+      "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" +
+      "date_time\030\006 \001(\0132\032.google.protobuf.Timest" +
+      "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" +
+      "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" +
+      "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" +
+      "\222\001\n\'artifactregistry.googleapis.com/Vers" +
+      "ion\022gprojects/{project}/locations/{locat" +
+      "ion}/repositories/{repository}/packages/" +
+      "{package}/versions/{version}\"\243\001\n\023ListVer" +
+      "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" +
+      "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" +
+      "\01620.google.devtools.artifactregistry.v1." +
+      "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" +
+      "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" +
+      "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" +
+      "oogle.devtools.artifactregistry.v1.Versi" +
+      "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" +
+      " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" +
+      "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" +
+      "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" +
+      "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" +
+      ".org/genproto/googleapis/devtools/artifa" +
+      "ctregistry/v1;artifactregistry\252\002 Google." +
+      "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" +
+      "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" +
+      "tifactRegistry::V1b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index c210c72e..95df7c74 100644
--- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index d66ad118..6b5bbc99 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,16 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -528,10 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -544,18 +480,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = - (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -581,126 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, - com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -708,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -732,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -753,8 +683,7 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = - new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -767,39 +696,38 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -807,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -843,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -856,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -878,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -900,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -962,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -984,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1006,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1068,103 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1172,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1194,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1216,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1287,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1301,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1325,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index a9ba7500..856803b3 100644 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..1ec8e04d --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,148 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index 60a4cc01..cddd0d73 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -212,6 +212,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -2546,10 +2547,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2599,10 +2597,7 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, - ListRepositoriesResponse, - Repository, - ListRepositoriesPage, + ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2623,10 +2618,7 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2675,10 +2667,7 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, - ListPackagesResponse, - Package, - ListPackagesPage, + ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2698,10 +2687,7 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2750,10 +2736,7 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, - ListVersionsResponse, - Version, - ListVersionsPage, + ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 5a68e3f9..780baf15 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -33,6 +33,7 @@ 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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -54,10 +55,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index 2ee2d5f4..ce7d976f 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index a85f453f..19b4b858 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -112,10 +112,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index 322bd754..d73deacf 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,6 +80,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java similarity index 100% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java diff --git a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java similarity index 99% rename from google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java index 1b4afb9e..3c97ce78 100644 --- a/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java +++ b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java @@ -34,6 +34,7 @@ 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.UnaryCallable; diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..bf2e6f04 --- /dev/null +++ b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,2456 @@ +package com.google.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListRepositoriesMethod() { + io.grpc.MethodDescriptor getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetRepositoryMethod() { + io.grpc.MethodDescriptor getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { + io.grpc.MethodDescriptor getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListPackagesMethod() { + io.grpc.MethodDescriptor getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetPackageMethod() { + io.grpc.MethodDescriptor getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeletePackageMethod() { + io.grpc.MethodDescriptor getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListVersionsMethod() { + io.grpc.MethodDescriptor getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetVersionMethod() { + io.grpc.MethodDescriptor getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteVersionMethod() { + io.grpc.MethodDescriptor getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListFilesMethod() { + io.grpc.MethodDescriptor getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetFileMethod() { + io.grpc.MethodDescriptor getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListTagsMethod() { + io.grpc.MethodDescriptor getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetTagMethod() { + io.grpc.MethodDescriptor getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateTagMethod() { + io.grpc.MethodDescriptor getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateTagMethod() { + io.grpc.MethodDescriptor getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteTagMethod() { + io.grpc.MethodDescriptor getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ArtifactRegistryFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>( + this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>( + this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>( + this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>( + this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, + com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private static abstract class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index 3a443e11..e93240c0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AptArtifact extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -50,15 +32,16 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -77,53 +60,48 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              packageName_ = s;
-              break;
-            }
-          case 24:
-            {
-              int rawValue = input.readEnum();
+            packageName_ = s;
+            break;
+          }
+          case 24: {
+            int rawValue = input.readEnum();
 
-              packageType_ = rawValue;
-              break;
-            }
-          case 34:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            packageType_ = rawValue;
+            break;
+          }
+          case 34: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              architecture_ = s;
-              break;
-            }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            architecture_ = s;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              component_ = s;
-              break;
-            }
-          case 50:
-            {
-              controlFile_ = input.readBytes();
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            component_ = s;
+            break;
+          }
+          case 50: {
+
+            controlFile_ = input.readBytes();
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -131,41 +109,36 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -174,8 +147,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package.
      * 
@@ -184,8 +155,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package.
      * 
@@ -197,8 +166,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -207,8 +174,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package.
      * 
@@ -217,8 +182,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package.
      * 
@@ -227,6 +190,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -251,51 +215,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -315,14 +277,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -331,29 +290,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -364,14 +323,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -380,29 +336,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -413,56 +369,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -471,29 +409,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -504,14 +442,11 @@ public com.google.protobuf.ByteString getArchitectureBytes() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ @java.lang.Override @@ -520,29 +455,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -553,14 +488,11 @@ public com.google.protobuf.ByteString getComponentBytes() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -569,7 +501,6 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -581,17 +512,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -618,11 +547,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -631,7 +558,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -641,20 +569,24 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = - (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; - if (!getComponent().equals(other.getComponent())) return false; - if (!getControlFile().equals(other.getControlFile())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; + if (!getComponent() + .equals(other.getComponent())) return false; + if (!getControlFile() + .equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -684,104 +616,96 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -790,23 +714,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -814,15 +736,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -842,9 +765,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -863,8 +786,7 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
-          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -879,39 +801,38 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -919,8 +840,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -962,8 +882,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -975,20 +894,18 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -997,21 +914,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -1019,61 +935,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,20 +990,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1103,21 +1010,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1125,61 +1031,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1187,104 +1086,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1292,20 +1160,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1314,21 +1180,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1336,61 +1201,54 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1398,20 +1256,18 @@ public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { private java.lang.Object component_ = ""; /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1420,21 +1276,20 @@ public java.lang.String getComponent() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - public com.google.protobuf.ByteString getComponentBytes() { + public com.google.protobuf.ByteString + getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); component_ = b; return b; } else { @@ -1442,61 +1297,54 @@ public com.google.protobuf.ByteString getComponentBytes() { } } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent(java.lang.String value) { + public Builder setComponent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** - * - * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes(com.google.protobuf.ByteString value) { + public Builder setComponentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1504,14 +1352,11 @@ public Builder setComponentBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ @java.lang.Override @@ -1519,46 +1364,40 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1568,12 +1407,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1582,16 +1421,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1606,4 +1445,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index a2e2ce07..7b69ee0c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,166 +1,117 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder - extends +public interface AptArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The component. */ java.lang.String getComponent(); /** - * - * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for component. */ - com.google.protobuf.ByteString getComponentBytes(); + com.google.protobuf.ByteString + getComponentBytes(); /** - * - * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..eabaa203 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,157 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { "AptArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 6f9907ad..5eeab420 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -44,15 +26,16 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; + repositoryId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,41 +93,34 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -159,31 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 { @@ -194,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ @java.lang.Override @@ -210,29 +175,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -243,14 +208,11 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -258,25 +220,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository to be created.
    * 
@@ -289,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -301,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -327,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -337,19 +293,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getRepositoryId().equals(other.getRepositoryId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getRepositoryId() + .equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository().equals(other.getRepository())) return false; + if (!getRepository() + .equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -376,145 +334,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -532,16 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -555,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -572,51 +516,46 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -647,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,22 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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; @@ -685,23 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * 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 { @@ -709,67 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -777,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object repositoryId_ = ""; /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -799,21 +714,20 @@ public java.lang.String getRepositoryId() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString getRepositoryIdBytes() { + public com.google.protobuf.ByteString + getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -821,61 +735,54 @@ public com.google.protobuf.ByteString getRepositoryIdBytes() { } } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId(java.lang.String value) { + public Builder setRepositoryId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** - * - * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; - * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -883,47 +790,34 @@ public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository to be created.
      * 
@@ -944,8 +838,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -964,8 +856,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -976,9 +866,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -990,8 +878,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1010,8 +896,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository to be created.
      * 
@@ -1019,32 +903,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository to be created.
      * 
@@ -1052,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1079,32 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1116,8 +989,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index ab7b42c5..d37c1ca1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,109 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder - extends +public interface CreateRepositoryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * - * 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 name of the parent resource where the repository will be created.
    * 
* - * - * 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(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** - * - * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; - * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString getRepositoryIdBytes(); + com.google.protobuf.ByteString + getRepositoryIdBytes(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index 6368405b..a7c5ac4d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CreateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -44,15 +26,16 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,43 +54,38 @@ private CreateTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; + tagId_ = s; + break; + } + case 26: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); } - case 26: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +93,34 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -156,29 +129,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -189,14 +162,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ @java.lang.Override @@ -205,29 +175,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -238,14 +208,11 @@ public com.google.protobuf.ByteString getTagIdBytes() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -253,25 +220,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag to be created.
    * 
@@ -284,7 +244,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -296,7 +255,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,7 +282,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -332,19 +293,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (!getTagId().equals(other.getTagId())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (!getTagId() + .equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag().equals(other.getTag())) return false; + if (!getTag() + .equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -371,127 +334,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -499,15 +452,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -525,14 +479,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -547,8 +500,7 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -564,39 +516,38 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -604,9 +555,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -637,9 +586,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -651,20 +598,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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; @@ -673,21 +618,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @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 { @@ -695,61 +639,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -757,20 +694,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object tagId_ = ""; /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -779,21 +714,20 @@ public java.lang.String getTagId() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString getTagIdBytes() { + public com.google.protobuf.ByteString + getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); tagId_ = b; return b; } else { @@ -801,61 +735,54 @@ public com.google.protobuf.ByteString getTagIdBytes() { } } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId(java.lang.String value) { + public Builder setTagId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** - * - * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; - * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes(com.google.protobuf.ByteString value) { + public Builder setTagIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -863,47 +790,34 @@ public Builder setTagIdBytes(com.google.protobuf.ByteString value) { private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag to be created.
      * 
@@ -924,8 +838,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -944,8 +856,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -956,9 +866,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -970,8 +878,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -990,8 +896,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag to be created.
      * 
@@ -999,13 +903,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag to be created.
      * 
@@ -1016,14 +918,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag to be created.
      * 
@@ -1031,24 +930,21 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; } - @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); } @@ -1058,13 +954,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -1073,16 +968,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1097,4 +992,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index e1d4607a..ed0dccb9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,105 +1,71 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder - extends +public interface CreateTagRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The tagId. */ java.lang.String getTagId(); /** - * - * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; - * * @return The bytes for tagId. */ - com.google.protobuf.ByteString getTagIdBytes(); + com.google.protobuf.ByteString + getTagIdBytes(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag to be created.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 798482af..5a0dd439 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeletePackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -375,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -397,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -408,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -475,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -489,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to delete.
      * 
* * 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; @@ -511,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * 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 { @@ -533,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -604,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -641,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..0df0c1b7 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 4f00f9d2..3c964b02 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to delete.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,16 +341,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -402,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -413,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -481,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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; @@ -519,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 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 { @@ -543,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to delete.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -620,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..b29d4e2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index 3b450a74..ee36923c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to delete.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,13 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -616,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -640,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..9be43f2f --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index 21e0714d..bcba882b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class DeleteVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,25 +53,24 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - force_ = input.readBool(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + case 16: { + + force_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -96,39 +78,34 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -137,29 +114,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to delete.
    * 
* * 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 { @@ -170,15 +147,12 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -187,7 +161,6 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -199,7 +172,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -219,7 +193,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -229,16 +204,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName().equals(other.getName())) return false; - if (getForce() != other.getForce()) return false; + if (!getName() + .equals(other.getName())) return false; + if (getForce() + != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -253,152 +229,142 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -410,14 +376,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -432,8 +397,7 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -444,50 +408,46 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -514,9 +474,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -528,20 +486,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to delete.
      * 
* * 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; @@ -550,21 +506,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * 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 { @@ -572,77 +527,67 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to delete.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_; + private boolean force_ ; /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return The force. */ @java.lang.Override @@ -650,45 +595,39 @@ public boolean getForce() { return force_; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** - * - * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; - * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -698,32 +637,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -735,8 +672,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index fd9ab4b4..ddd7183c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,63 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder - extends +public interface DeleteVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to delete.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; - * * @return The force. */ boolean getForce(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index 19f64d27..deb68c74 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends com.google.protobuf.GeneratedMessageV3 - implements +public final class File extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -45,15 +27,16 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,75 +56,65 @@ private File( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 24: { + + sizeBytes_ = input.readInt64(); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - sizeBytes_ = input.readInt64(); - break; + hashes_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - hashes_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Hash.parser(), - extensionRegistry)); - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - owner_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + owner_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,7 +122,8 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -158,27 +132,22 @@ private File( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -186,7 +155,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -195,15 +163,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -211,15 +178,16 @@ 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 { @@ -230,14 +198,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -248,8 +213,6 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** - * - * *
    * The hashes of the file content.
    * 
@@ -261,8 +224,6 @@ public java.util.List getHash return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -270,13 +231,11 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** - * - * *
    * The hashes of the file content.
    * 
@@ -288,8 +247,6 @@ public int getHashesCount() { return hashes_.size(); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -301,8 +258,6 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** - * - * *
    * The hashes of the file content.
    * 
@@ -310,21 +265,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -332,14 +285,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -347,8 +297,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the File was created.
    * 
@@ -363,14 +311,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -378,14 +323,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -393,8 +335,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the File was last updated.
    * 
@@ -409,14 +349,11 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ @java.lang.Override @@ -425,29 +362,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -456,7 +393,6 @@ public com.google.protobuf.ByteString getOwnerBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -468,7 +404,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -500,16 +437,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -522,26 +463,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = - (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName().equals(other.getName())) return false; - if (getSizeBytes() != other.getSizeBytes()) return false; - if (!getHashesList().equals(other.getHashesList())) return false; + if (!getName() + .equals(other.getName())) return false; + if (getSizeBytes() + != other.getSizeBytes()) return false; + if (!getHashesList() + .equals(other.getHashesList())) 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 (!getOwner().equals(other.getOwner())) return false; + if (!getOwner() + .equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -556,7 +502,8 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -577,126 +524,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, - com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -704,17 +642,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) { getHashesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -746,9 +684,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -767,8 +705,7 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = - new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -800,39 +737,38 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); } else { super.mergeFrom(other); return this; @@ -840,8 +776,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -867,10 +802,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getHashesFieldBuilder() - : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getHashesFieldBuilder() : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -905,8 +839,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -915,13 +848,10 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -929,13 +859,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -944,8 +874,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -953,14 +881,15 @@ 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 { @@ -968,8 +897,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -977,22 +904,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1000,18 +925,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -1019,31 +941,28 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_; + private long sizeBytes_ ; /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ @java.lang.Override @@ -1051,61 +970,48 @@ public long getSizeBytes() { return sizeBytes_; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** - * - * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; - * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = - new java.util.ArrayList(hashes_); + hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> - hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; /** - * - * *
      * The hashes of the file content.
      * 
@@ -1120,8 +1026,6 @@ public java.util.List getHash } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1136,8 +1040,6 @@ public int getHashesCount() { } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1152,15 +1054,14 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1174,8 +1075,6 @@ public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1194,8 +1093,6 @@ public Builder setHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1216,15 +1113,14 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes( + int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1238,8 +1134,6 @@ public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2 return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1258,8 +1152,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1278,8 +1170,6 @@ public Builder addHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1290,7 +1180,8 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1298,8 +1189,6 @@ public Builder addAllHashes( return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1317,8 +1206,6 @@ public Builder clearHashes() { return this; } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1336,20 +1223,17 @@ public Builder removeHashes(int index) { return this; } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( + int index) { return getHashesFieldBuilder().getBuilder(index); } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1359,22 +1243,19 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); - } else { + return hashes_.get(index); } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1382,8 +1263,6 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** - * - * *
      * The hashes of the file content.
      * 
@@ -1391,49 +1270,42 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { - return getHashesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( + int index) { + return getHashesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** - * - * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder, - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); hashes_ = null; } return hashesBuilder_; @@ -1441,47 +1313,34 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1502,15 +1361,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1521,8 +1379,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1533,7 +1389,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1545,8 +1401,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1565,8 +1419,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the File was created.
      * 
@@ -1574,13 +1426,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was created.
      * 
@@ -1591,14 +1441,11 @@ 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_; } } /** - * - * *
      * The time when the File was created.
      * 
@@ -1606,17 +1453,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1624,47 +1468,34 @@ 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_; /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1685,15 +1516,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1704,8 +1534,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1716,7 +1544,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1728,8 +1556,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1748,8 +1574,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1757,13 +1581,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1774,14 +1596,11 @@ 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_; } } /** - * - * *
      * The time when the File was last updated.
      * 
@@ -1789,17 +1608,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1807,20 +1623,18 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1829,21 +1643,20 @@ public java.lang.String getOwner() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return The bytes for owner. */ - public com.google.protobuf.ByteString getOwnerBytes() { + public com.google.protobuf.ByteString + getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); owner_ = b; return b; } else { @@ -1851,68 +1664,61 @@ public com.google.protobuf.ByteString getOwnerBytes() { } } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner(java.lang.String value) { + public Builder setOwner( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** - * - * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; - * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes(com.google.protobuf.ByteString value) { + public Builder setOwnerBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1922,12 +1728,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1936,16 +1742,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1960,4 +1766,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 6fc1602c..2e62a87b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder - extends +public interface FileOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -33,13 +15,10 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -47,37 +26,31 @@ public interface FileOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; - * * @return The sizeBytes. */ long getSizeBytes(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List getHashesList(); + java.util.List + getHashesList(); /** - * - * *
    * The hashes of the file content.
    * 
@@ -86,8 +59,6 @@ public interface FileOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** - * - * *
    * The hashes of the file content.
    * 
@@ -96,54 +67,43 @@ public interface FileOrBuilder */ int getHashesCount(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** - * - * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( + int index); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the File was created.
    * 
@@ -153,32 +113,24 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the File was last updated.
    * 
@@ -188,27 +140,22 @@ public interface FileOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The owner. */ java.lang.String getOwner(); /** - * - * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; - * * @return The bytes for owner. */ - com.google.protobuf.ByteString getOwnerBytes(); + com.google.protobuf.ByteString + getOwnerBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..c605f981 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,130 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { "Type", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { "Files", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index 40e5c38d..ffea4ef0 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetFileRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetFileRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the file to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the file to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..13fd2797 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 3dd93b09..43d6340d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetPackageRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetPackageRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -395,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -406,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); } else { super.mergeFrom(other); return this; @@ -446,9 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -472,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -508,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -530,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -638,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..0521cb2b --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 0d6fbab2..417bc48f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the projectSettings 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 @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the projectSettings 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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,22 +341,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -403,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -414,51 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -482,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -496,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the projectSettings 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; @@ -520,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the projectSettings 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 { @@ -544,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -621,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -658,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..cfd70f3e --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index 83e7a0f8..cc80cc1e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,34 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -134,31 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. The name of the repository to retrieve.
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,145 +204,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +341,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -401,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -412,50 +372,46 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -479,9 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,22 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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; @@ -517,23 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 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 { @@ -541,74 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Required. The name of the repository to retrieve.
      * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -618,32 +552,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -655,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..ad095e24 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index c4aa4f3b..6c60c285 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetTagRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,39 +73,34 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -132,29 +109,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -227,127 +204,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -355,15 +322,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -373,9 +341,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -394,8 +362,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -405,39 +372,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); } else { super.mergeFrom(other); return this; @@ -445,8 +411,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -470,8 +435,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -483,20 +447,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -505,21 +467,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -527,68 +488,61 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -598,12 +552,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -612,16 +566,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -636,4 +590,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..31d1c627 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,29 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 231f4729..3855cba7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetVersionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetVersionRequest() { name_ = ""; view_ = 0; @@ -44,15 +26,16 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private GetVersionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,39 +80,34 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -140,29 +116,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -173,43 +149,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -221,13 +185,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -242,10 +205,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -255,15 +217,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -286,127 +248,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -414,15 +366,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -434,14 +387,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -456,8 +408,7 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = - new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -468,39 +419,38 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); } else { super.mergeFrom(other); return this; @@ -508,9 +458,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -537,9 +485,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -551,20 +497,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -573,21 +517,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -595,61 +538,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version to retrieve.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -657,67 +593,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @param value The view to set. * @return This builder for chaining. */ @@ -725,31 +645,28 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -759,32 +676,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -796,8 +711,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index 991586f3..d1805c3b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,74 +1,47 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder - extends +public interface GetVersionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version to retrieve.
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index 9607e51d..b4fae80f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Hash extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -44,15 +26,16 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,25 +54,24 @@ private Hash( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: - { - value_ = input.readBytes(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + type_ = rawValue; + break; + } + case 18: { + + value_ = input.readBytes(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -97,41 +79,36 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** - * - * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -140,8 +117,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ HASH_TYPE_UNSPECIFIED(0), /** - * - * *
      * SHA256 hash.
      * 
@@ -150,8 +125,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(1), /** - * - * *
      * MD5 hash.
      * 
@@ -163,8 +136,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -173,8 +144,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * SHA256 hash.
      * 
@@ -183,8 +152,6 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 1; /** - * - * *
      * MD5 hash.
      * 
@@ -193,6 +160,7 @@ public enum HashType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MD5_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -217,51 +185,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: - return HASH_TYPE_UNSPECIFIED; - case 1: - return SHA256; - case 2: - return MD5; - default: - return null; + case 0: return HASH_TYPE_UNSPECIFIED; + case 1: return SHA256; + case 2: return MD5; + 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< + HashType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public HashType findValueByNumber(int number) { + return HashType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -281,52 +247,38 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -335,7 +287,6 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,10 +298,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -365,13 +315,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ - != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); + if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -381,16 +331,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = - (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -412,126 +362,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, - com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -539,15 +480,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +501,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -580,8 +522,7 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = - new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -592,39 +533,38 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); } else { super.mergeFrom(other); return this; @@ -632,8 +572,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -659,8 +598,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -672,67 +610,51 @@ public Builder mergeFrom( private int type_ = 0; /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ - @java.lang.Override - public int getTypeValue() { + @java.lang.Override public int getTypeValue() { return type_; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = - com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @param value The type to set. * @return This builder for chaining. */ @@ -740,24 +662,21 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -765,14 +684,11 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return The value. */ @java.lang.Override @@ -780,46 +696,40 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** - * - * *
      * The hash value.
      * 
* * bytes value = 2; - * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -829,12 +739,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -843,16 +753,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -867,4 +777,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index 9d78385d..c6b768e2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,62 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder - extends +public interface HashOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** - * - * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; - * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** - * - * *
    * The hash value.
    * 
* * bytes value = 2; - * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index 04d5baf3..c0d03b94 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsErrorInfo() {} + private ImportAptArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 527043cc..70dcd816 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder - extends +public interface ImportAptArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportAptArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 6fff5d5d..5a2e2a7f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 3f05b9eb..182a79d5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder - extends +public interface ImportAptArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index 946c4375..d8258e0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportAptArtifactsMetadata() {} + private ImportAptArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..343d02be --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 2b0078e5..6c9cd42b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 4a4b7721..89605ee4 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder - extends +public interface ImportAptArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index 6a012515..c1fbf2d9 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportAptArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - aptArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + aptArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -127,27 +100,22 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getAptArtifactsList() + .equals(other.getAptArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAptArtifactsFieldBuilder() - : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAptArtifactsFieldBuilder() : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = - new java.util.ArrayList( - aptArtifacts_); + aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsList() { + public java.util.List getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureAptArtifactsIsMutable() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getAptArtifactsCount() { } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -820,18 +710,14 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder setAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -889,14 +769,11 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAptArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder addAllAptArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllAptArtifacts( return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearAptArtifacts() { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeAptArtifacts(int index) { return this; } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder - getAptArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( + int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); - } else { + return aptArtifacts_.get(index); } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptAr } } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder - addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** - * - * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, - com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 2e5dee92..5ddcd053 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder - extends +public interface ImportAptArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List getAptArtifactsList(); + java.util.List + getAptArtifactsList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportAptArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportAptArtifactsResponseOrBuilder */ int getAptArtifactsCount(); /** - * - * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** - * - * *
    * The Apt artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 8ed9ed4b..36b62705 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsErrorInfo extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsErrorInfo() {} + private ImportYumArtifactsErrorInfo() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,51 +52,40 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } - - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 1; + break; + } + case 18: { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +93,34 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -168,35 +136,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 1: return GCS_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; /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -204,56 +166,43 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ @java.lang.Override @@ -261,14 +210,11 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ @java.lang.Override @@ -276,8 +222,6 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** - * - * *
    * The detailed error status.
    * 
@@ -290,7 +234,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -302,10 +245,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage( - 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -320,13 +263,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -336,23 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) 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 0: default: @@ -386,146 +328,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,22 +471,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -565,8 +492,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -588,65 +514,57 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -667,9 +585,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -678,12 +594,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -693,21 +609,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -715,15 +625,11 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ @java.lang.Override @@ -732,28 +638,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -767,18 +667,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -789,28 +685,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 1 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -826,14 +712,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -852,106 +735,79 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } 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_; /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; - * * @return The error. */ public com.google.rpc.Status getError() { @@ -962,8 +818,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * The detailed error status.
      * 
@@ -984,15 +838,14 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError(com.google.rpc.Status.Builder builderForValue) { + public Builder setError( + com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -1003,8 +856,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1014,7 +865,8 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) { public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = + com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -1026,8 +878,6 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1046,8 +896,6 @@ public Builder clearError() { return this; } /** - * - * *
      * The detailed error status.
      * 
@@ -1055,13 +903,11 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * The detailed error status.
      * 
@@ -1072,12 +918,11 @@ 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_; } } /** - * - * *
      * The detailed error status.
      * 
@@ -1085,21 +930,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -1109,33 +954,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +989,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index e9835bbe..97ab4125 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,94 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder - extends +public interface ImportYumArtifactsErrorInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; - * * @return The error. */ com.google.rpc.Status getError(); /** - * - * *
    * The detailed error status.
    * 
@@ -97,6 +61,5 @@ public interface ImportYumArtifactsErrorInfoOrBuilder */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 6167e033..5cfb0ca7 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsGcsSource extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,28 +54,27 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; - } - uris_.add(s); - break; - } - case 16: - { - useWildcards_ = input.readBool(); - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + uris_.add(s); + break; + } + case 16: { + + useWildcards_ = input.readBool(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -100,7 +82,8 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -109,61 +92,50 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_; } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -171,32 +143,27 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -205,7 +172,6 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,7 +183,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -242,7 +209,8 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -252,17 +220,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList().equals(other.getUrisList())) return false; - if (getUseWildcards() != other.getUseWildcards()) return false; + if (!getUrisList() + .equals(other.getUrisList())) return false; + if (getUseWildcards() + != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -279,153 +247,142 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -437,22 +394,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -461,8 +415,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -478,52 +431,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -556,9 +503,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -567,55 +512,44 @@ public Builder mergeFrom( } return this; } - private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = - com.google.protobuf.LazyStringArrayList.EMPTY; - + private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList getUrisList() { + public com.google.protobuf.ProtocolStringList + getUrisList() { return uris_.getUnmodifiableView(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -623,90 +557,80 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString getUrisBytes(int index) { + public com.google.protobuf.ByteString + getUrisBytes(int index) { return uris_.getByteString(index); } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris(int index, java.lang.String value) { + public Builder setUris( + int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris(java.lang.String value) { + public Builder addUris( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris(java.lang.Iterable values) { + public Builder addAllUris( + java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, uris_); onChanged(); return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @return This builder for chaining. */ public Builder clearUris() { @@ -716,38 +640,33 @@ public Builder clearUris() { return this; } /** - * - * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; - * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes(com.google.protobuf.ByteString value) { + public Builder addUrisBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_; + private boolean useWildcards_ ; /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ @java.lang.Override @@ -755,43 +674,37 @@ public boolean getUseWildcards() { return useWildcards_; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** - * - * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; - * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -801,33 +714,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -839,8 +749,9 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index e113a0a5..3f093feb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,88 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder - extends +public interface ImportYumArtifactsGcsSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return A list containing the uris. */ - java.util.List getUrisList(); + java.util.List + getUrisList(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @return The count of uris. */ int getUrisCount(); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** - * - * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; - * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString getUrisBytes(int index); + com.google.protobuf.ByteString + getUrisBytes(int index); /** - * - * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; - * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index cf222560..27468485 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ImportYumArtifactsMetadata() {} + private ImportYumArtifactsMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,146 +141,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -307,22 +276,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -331,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -341,52 +306,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -406,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -417,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -429,33 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -467,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9ea4c192 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index b66c8aef..c0b1b67b 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,44 +53,33 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; + parent_ = s; + break; + } + case 18: { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); } - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .toBuilder(); - } - source_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 2; - break; + source_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + sourceCase_ = 2; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,39 +87,34 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; - public enum SourceCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; - private SourceCase(int value) { this.value = value; } @@ -163,35 +130,29 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: - return GCS_SOURCE; - case 0: - return SOURCE_NOT_SET; - default: - return null; + case 2: return GCS_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 = 2; /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -199,56 +160,43 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -257,29 +205,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @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 { @@ -288,7 +236,6 @@ public com.google.protobuf.ByteString getParentBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -300,13 +247,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage( - 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -321,10 +268,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -334,19 +279,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource().equals(other.getGcsSource())) return false; + if (!getGcsSource() + .equals(other.getGcsSource())) return false; break; case 0: default: @@ -378,145 +324,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -528,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -552,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -571,65 +502,58 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: - { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: - { - break; - } + case GCS_SOURCE: { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -650,9 +574,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -661,12 +583,12 @@ public Builder mergeFrom( } return this; } - private int sourceCase_ = 0; private java.lang.Object source_; - - public SourceCase getSourceCase() { - return SourceCase.forNumber(sourceCase_); + public SourceCase + getSourceCase() { + return SourceCase.forNumber( + sourceCase_); } public Builder clearSource() { @@ -676,21 +598,15 @@ public Builder clearSource() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> - gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -698,15 +614,11 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ @java.lang.Override @@ -715,28 +627,22 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -750,18 +656,14 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -772,28 +674,18 @@ public Builder setGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 - && source_ - != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance()) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - source_) - .mergeFrom(value) - .buildPartial(); + if (sourceCase_ == 2 && + source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value).buildPartial(); } else { source_ = value; } @@ -809,14 +701,11 @@ public Builder mergeGcsSource( return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -835,95 +724,73 @@ public Builder clearGcsSource() { return this; } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder - getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } } /** - * - * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource - .getDefaultInstance(); + source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); } - gcsSourceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged(); - ; + onChanged();; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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; @@ -932,21 +799,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @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 { @@ -954,68 +820,61 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - @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); } @@ -1025,32 +884,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1062,8 +919,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 195badb7..3becef22 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,92 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder - extends +public interface ImportYumArtifactsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** - * - * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; - * + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder - getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase - getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index c3da7687..db94a329 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportYumArtifactsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -44,15 +26,16 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,42 +55,31 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); - mutable_bitField0_ |= 0x00000001; - } - yumArtifacts_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); - mutable_bitField0_ |= 0x00000002; - } - errors_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .parser(), - extensionRegistry)); - break; + yumArtifacts_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + errors_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,7 +87,8 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -127,27 +100,22 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** - * - * *
    * The yum artifacts imported.
    * 
@@ -155,13 +123,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -169,13 +134,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -187,8 +150,6 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -200,8 +161,6 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** - * - * *
    * The yum artifacts imported.
    * 
@@ -215,92 +174,66 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List - errors_; + private java.util.List errors_; /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + public java.util.List getErrorsOrBuilderList() { return errors_; } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +245,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -329,10 +263,12 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -342,16 +278,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; - if (!getErrorsList().equals(other.getErrorsList())) return false; + if (!getYumArtifactsList() + .equals(other.getYumArtifactsList())) return false; + if (!getErrorsList() + .equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -377,149 +314,136 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -539,22 +463,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -563,8 +484,7 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -592,52 +512,46 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -656,10 +570,9 @@ public Builder mergeFrom( yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getYumArtifactsFieldBuilder() - : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getYumArtifactsFieldBuilder() : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -683,10 +596,9 @@ public Builder mergeFrom( errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getErrorsFieldBuilder() - : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getErrorsFieldBuilder() : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -711,9 +623,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -722,39 +632,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = - new java.util.ArrayList( - yumArtifacts_); + yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsList() { + public java.util.List getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -762,14 +661,11 @@ private void ensureYumArtifactsIsMutable() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -779,14 +675,11 @@ public int getYumArtifactsCount() { } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -796,14 +689,11 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -820,18 +710,14 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder setYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -842,14 +728,11 @@ public Builder setYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -865,14 +748,11 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -889,14 +769,11 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -910,18 +787,14 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addYumArtifacts( - int index, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -932,21 +805,18 @@ public Builder addYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder addAllYumArtifacts( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -954,14 +824,11 @@ public Builder addAllYumArtifacts( return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -974,14 +841,11 @@ public Builder clearYumArtifacts() { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -994,50 +858,39 @@ public Builder removeYumArtifacts(int index) { return this; } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder - getYumArtifactsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( + int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); - } else { + return yumArtifacts_.get(index); } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -1045,100 +898,74 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumAr } } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder - addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** - * - * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; - * + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, - com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List - errors_ = java.util.Collections.emptyList(); - + private java.util.List errors_ = + java.util.Collections.emptyList(); private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); + errors_ = new java.util.ArrayList(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List - getErrorsList() { + public java.util.List getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -1146,15 +973,11 @@ private void ensureErrorsIsMutable() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -1164,18 +987,13 @@ public int getErrorsCount() { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1183,15 +1001,11 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1208,20 +1022,14 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder setErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1232,18 +1040,13 @@ public Builder setErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1257,15 +1060,11 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1282,19 +1081,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1305,20 +1099,14 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addErrors( - int index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1329,23 +1117,18 @@ public Builder addErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder addAllErrors( - java.lang.Iterable< - ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> - values) { + java.lang.Iterable values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1353,15 +1136,11 @@ public Builder addAllErrors( return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1374,15 +1153,11 @@ public Builder clearErrors() { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1395,54 +1170,39 @@ public Builder removeErrors(int index) { return this; } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - getErrorsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( + int index) { return getErrorsFieldBuilder().getBuilder(index); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index) { if (errorsBuilder_ == null) { - return errors_.get(index); - } else { + return errors_.get(index); } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> - getErrorsOrBuilderList() { + public java.util.List + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1450,78 +1210,56 @@ public Builder removeErrors(int index) { } } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder() { - return getErrorsFieldBuilder() - .addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { + return getErrorsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder - addErrorsBuilder(int index) { - return getErrorsFieldBuilder() - .addBuilder( - index, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo - .getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( + int index) { + return getErrorsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); } /** - * - * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - public java.util.List< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> - getErrorsBuilderList() { + public java.util.List + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); errors_ = null; } return errorsBuilder_; } - @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); } @@ -1531,33 +1269,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1569,8 +1304,9 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 2bd2c9e0..1a00b12c 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder - extends +public interface ImportYumArtifactsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List getYumArtifactsList(); + java.util.List + getYumArtifactsList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -44,8 +25,6 @@ public interface ImportYumArtifactsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -54,19 +33,15 @@ public interface ImportYumArtifactsResponseOrBuilder */ int getYumArtifactsCount(); /** - * - * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** - * - * *
    * The yum artifacts imported.
    * 
@@ -77,68 +52,46 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List + java.util.List getErrorsList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ int getErrorsCount(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - java.util.List< - ? extends - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + java.util.List getErrorsOrBuilderList(); /** - * - * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; - * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder - getErrorsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( + int index); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 9dfbe84c..64d4e0fa 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListFilesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,40 +92,35 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -154,30 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @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 { @@ -188,8 +163,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -203,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -212,15 +184,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -234,15 +205,16 @@ 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 { @@ -253,14 +225,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -271,14 +240,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -287,29 +253,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -318,7 +284,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -330,7 +295,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -356,7 +322,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -372,18 +339,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.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -409,127 +379,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -537,15 +497,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -561,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -583,8 +543,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -597,39 +556,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); } else { super.mergeFrom(other); return this; @@ -637,9 +595,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -674,9 +630,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -688,21 +642,19 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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; @@ -711,22 +663,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @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 { @@ -734,64 +685,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -799,8 +743,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -814,13 +756,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -829,8 +771,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -844,14 +784,15 @@ 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 { @@ -859,8 +800,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -874,22 +813,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -903,18 +840,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -928,31 +862,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -960,36 +891,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -997,20 +922,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1019,21 +942,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1041,68 +963,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1112,13 +1027,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1127,16 +1041,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,4 +1065,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index 6f9f9767..cee62b03 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,58 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder - extends +public interface ListFilesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -66,13 +43,10 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -86,46 +60,38 @@ public interface ListFilesRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index 3c6f7a82..fe6a1c0f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListFilesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListFilesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - files_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.File.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + files_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -115,27 +94,22 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** - * - * *
    * The files returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getFile return files_; } /** - * - * *
    * The files returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** - * - * *
    * The files returned.
    * 
@@ -174,8 +144,6 @@ public int getFilesCount() { return files_.size(); } /** - * - * *
    * The files returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** - * - * *
    * The files returned.
    * 
@@ -196,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -220,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * 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 { @@ -252,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -281,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -294,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList().equals(other.getFilesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getFilesList() + .equals(other.getFilesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -327,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -455,17 +411,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) { getFilesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -503,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -524,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); } else { super.mergeFrom(other); return this; @@ -564,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -585,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFilesFieldBuilder() - : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFilesFieldBuilder() : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -617,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -628,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> - filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; /** - * - * *
      * The files returned.
      * 
@@ -664,8 +605,6 @@ public java.util.List getFile } } /** - * - * *
      * The files returned.
      * 
@@ -680,8 +619,6 @@ public int getFilesCount() { } } /** - * - * *
      * The files returned.
      * 
@@ -696,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -718,8 +654,6 @@ public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -738,8 +672,6 @@ public Builder setFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -760,15 +692,14 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles( + int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -782,8 +713,6 @@ public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2. return this; } /** - * - * *
      * The files returned.
      * 
@@ -802,8 +731,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -822,8 +749,6 @@ public Builder addFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -834,7 +759,8 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -842,8 +768,6 @@ public Builder addAllFiles( return this; } /** - * - * *
      * The files returned.
      * 
@@ -861,8 +785,6 @@ public Builder clearFiles() { return this; } /** - * - * *
      * The files returned.
      * 
@@ -880,44 +802,39 @@ public Builder removeFiles(int index) { return this; } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( + int index) { return getFilesFieldBuilder().getBuilder(index); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index) { if (filesBuilder_ == null) { - return files_.get(index); - } else { + return files_.get(index); } else { return filesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -925,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** - * - * *
      * The files returned.
      * 
@@ -934,49 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { - return getFilesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( + int index) { + return getFilesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** - * - * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, - com.google.devtools.artifactregistry.v1beta2.File.Builder, - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); files_ = null; } return filesBuilder_; @@ -984,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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; @@ -1007,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * 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 { @@ -1030,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1104,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 4631c3b8..1923defe 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder - extends +public interface ListFilesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List getFilesList(); + java.util.List + getFilesList(); /** - * - * *
    * The files returned.
    * 
@@ -44,8 +25,6 @@ public interface ListFilesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** - * - * *
    * The files returned.
    * 
@@ -54,51 +33,43 @@ public interface ListFilesResponseOrBuilder */ int getFilesCount(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** - * - * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index 5594f7fa..f95a285a 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,39 +85,34 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -145,29 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -178,15 +154,12 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -197,14 +170,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -213,29 +183,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -244,7 +214,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -279,7 +249,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -292,17 +263,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +299,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -454,15 +417,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -476,14 +440,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -498,8 +461,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -511,50 +473,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -585,9 +543,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,20 +555,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return The parent. */ public java.lang.String getParent() { java.lang.Object ref = parent_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; @@ -621,21 +575,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -643,77 +596,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -721,38 +664,32 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -760,20 +697,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -782,21 +717,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -804,68 +738,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -875,32 +802,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -912,8 +837,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index 1eb63b7c..f687007f 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,89 +1,60 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder - extends +public interface ListPackagesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index c08e1c3b..0d1ba786 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListPackagesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - packages_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Package.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + packages_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -115,27 +94,22 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** - * - * *
    * The packages returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getP return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** - * - * *
    * The packages returned.
    * 
@@ -174,8 +144,6 @@ public int getPackagesCount() { return packages_.size(); } /** - * - * *
    * The packages returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** - * - * *
    * The packages returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList().equals(other.getPackagesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getPackagesList() + .equals(other.getPackagesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPackagesFieldBuilder() - : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPackagesFieldBuilder() : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = - new java.util.ArrayList( - packages_); + packages_ = new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> - packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; /** - * - * *
      * The packages returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getP } } /** - * - * *
      * The packages returned.
      * 
@@ -686,8 +619,6 @@ public int getPackagesCount() { } } /** - * - * *
      * The packages returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** - * - * *
      * The packages returned.
      * 
@@ -725,8 +654,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -745,8 +672,6 @@ public Builder setPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -767,8 +692,6 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** - * - * *
      * The packages returned.
      * 
@@ -790,8 +713,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -810,8 +731,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -830,8 +749,6 @@ public Builder addPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllPackages( return this; } /** - * - * *
      * The packages returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearPackages() { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -888,8 +802,6 @@ public Builder removePackages(int index) { return this; } /** - * - * *
      * The packages returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** - * - * *
      * The packages returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); - } else { + return packages_.get(index); } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** - * - * *
      * The packages returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** - * - * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, - com.google.devtools.artifactregistry.v1beta2.Package.Builder, - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); packages_ = null; } return packagesBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 0064727e..6cf4a9c8 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder - extends +public interface ListPackagesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List getPackagesList(); + java.util.List + getPackagesList(); /** - * - * *
    * The packages returned.
    * 
@@ -44,8 +25,6 @@ public interface ListPackagesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** - * - * *
    * The packages returned.
    * 
@@ -54,51 +33,43 @@ public interface ListPackagesResponseOrBuilder */ int getPackagesCount(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** - * - * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index a893add6..ddf035ff 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,32 +54,30 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + pageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -104,41 +85,34 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 @@ -147,31 +121,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 { @@ -182,14 +154,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -200,14 +169,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -216,29 +182,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -247,7 +213,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +224,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -282,7 +248,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -295,17 +262,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -329,145 +298,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -481,16 +439,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); } @java.lang.Override @@ -504,8 +460,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -517,51 +472,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -592,9 +542,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -606,22 +554,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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; @@ -630,23 +574,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * 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 { @@ -654,82 +595,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -737,36 +662,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -774,20 +693,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -796,21 +713,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -818,68 +734,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -889,32 +798,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -926,8 +833,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index ec5a0872..a32408c1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,92 +1,59 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder - extends +public interface ListRepositoriesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * - * 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(); /** - * - * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index d08c8a9d..f5b7cb40 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListRepositoriesResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,34 +55,28 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList< - com.google.devtools.artifactregistry.v1beta2.Repository>(); - mutable_bitField0_ |= 0x00000001; - } - repositories_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + repositories_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -107,7 +84,8 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -116,27 +94,22 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** - * - * *
    * The repositories returned.
    * 
@@ -144,13 +117,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -158,13 +128,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** - * - * *
    * The repositories returned.
    * 
@@ -176,8 +144,6 @@ public int getRepositoriesCount() { return repositories_.size(); } /** - * - * *
    * The repositories returned.
    * 
@@ -189,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** - * - * *
    * The repositories returned.
    * 
@@ -206,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -223,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * 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 { @@ -255,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -284,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -297,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getRepositoriesList() + .equals(other.getRepositoriesList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -486,16 +437,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); } @java.lang.Override @@ -509,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -530,51 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -593,10 +536,9 @@ public Builder mergeFrom( repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getRepositoriesFieldBuilder() - : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getRepositoriesFieldBuilder() : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -625,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -636,38 +576,28 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = - new java.util.ArrayList( - repositories_); + repositories_ = new java.util.ArrayList(repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesList() { + public java.util.List getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -675,8 +605,6 @@ private void ensureRepositoriesIsMutable() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -691,8 +619,6 @@ public int getRepositoriesCount() { } } /** - * - * *
      * The repositories returned.
      * 
@@ -707,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** - * - * *
      * The repositories returned.
      * 
@@ -730,8 +654,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -739,8 +661,7 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -751,8 +672,6 @@ public Builder setRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -773,8 +692,6 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -796,8 +713,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -816,8 +731,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -825,8 +738,7 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -837,8 +749,6 @@ public Builder addRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -846,11 +756,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -858,8 +768,6 @@ public Builder addAllRepositories( return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -877,8 +785,6 @@ public Builder clearRepositories() { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -896,8 +802,6 @@ public Builder removeRepositories(int index) { return this; } /** - * - * *
      * The repositories returned.
      * 
@@ -909,34 +813,28 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoriesOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( + int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); - } else { + return repositories_.get(index); } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List< - ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -944,22 +842,17 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi } } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder - addRepositoriesBuilder() { - return getRepositoriesFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { + return getRepositoriesFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
@@ -968,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** - * - * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -1005,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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; @@ -1028,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * 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 { @@ -1051,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 93b11eea..1fc05520 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder - extends +public interface ListRepositoriesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List getRepositoriesList(); + java.util.List + getRepositoriesList(); /** - * - * *
    * The repositories returned.
    * 
@@ -44,8 +25,6 @@ public interface ListRepositoriesResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** - * - * *
    * The repositories returned.
    * 
@@ -54,19 +33,15 @@ public interface ListRepositoriesResponseOrBuilder */ int getRepositoriesCount(); /** - * - * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** - * - * *
    * The repositories returned.
    * 
@@ -77,29 +52,24 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d80c37d7..d1bbfedb 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -45,15 +27,16 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,39 +55,36 @@ private ListTagsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + filter_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -112,39 +92,34 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -153,29 +128,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -186,8 +161,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -198,7 +171,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -207,15 +179,14 @@ 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; } } /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -226,15 +197,16 @@ 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 { @@ -245,14 +217,11 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -263,14 +232,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -279,29 +245,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -310,7 +276,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -322,7 +287,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -348,7 +314,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -364,18 +331,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -401,127 +371,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -529,15 +489,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -553,14 +514,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -575,8 +535,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -589,39 +548,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); } else { super.mergeFrom(other); return this; @@ -629,9 +587,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -666,8 +622,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -679,20 +634,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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; @@ -701,21 +654,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -723,61 +675,54 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -785,8 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -797,13 +740,13 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -812,8 +755,6 @@ public java.lang.String getFilter() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -824,14 +765,15 @@ 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 { @@ -839,8 +781,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -851,22 +791,20 @@ public com.google.protobuf.ByteString getFilterBytes() {
      * 
* * string filter = 4; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { + public Builder setFilter( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -877,18 +815,15 @@ public Builder setFilter(java.lang.String value) {
      * 
* * string filter = 4; - * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** - * - * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -899,31 +834,28 @@ 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) { + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -931,36 +863,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -968,20 +894,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -990,21 +914,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1012,68 +935,61 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1083,13 +999,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1098,16 +1013,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1122,4 +1037,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index 7748ba51..c77afd7e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,56 +1,33 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder - extends +public interface ListTagsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -61,13 +38,10 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The filter. */ java.lang.String getFilter(); /** - * - * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -78,46 +52,38 @@ public interface ListTagsRequestOrBuilder
    * 
* * string filter = 4; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index a9ed7183..e80a6480 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListTagsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,32 +55,28 @@ private ListTagsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - tags_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + tags_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -105,7 +84,8 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -114,27 +94,22 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** - * - * *
    * The tags returned.
    * 
@@ -146,8 +121,6 @@ public java.util.List getTagsL return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -155,13 +128,11 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** - * - * *
    * The tags returned.
    * 
@@ -173,8 +144,6 @@ public int getTagsCount() { return tags_.size(); } /** - * - * *
    * The tags returned.
    * 
@@ -186,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** - * - * *
    * The tags returned.
    * 
@@ -195,22 +162,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -219,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * 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 { @@ -251,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -263,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -280,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -293,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList().equals(other.getTagsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getTagsList() + .equals(other.getTagsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -326,127 +293,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -454,17 +411,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) { getTagsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -480,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -502,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -523,39 +478,38 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); } else { super.mergeFrom(other); return this; @@ -563,9 +517,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -584,10 +536,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getTagsFieldBuilder() - : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getTagsFieldBuilder() : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -616,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -627,28 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; /** - * - * *
      * The tags returned.
      * 
@@ -663,8 +605,6 @@ public java.util.List getTagsL } } /** - * - * *
      * The tags returned.
      * 
@@ -679,8 +619,6 @@ public int getTagsCount() { } } /** - * - * *
      * The tags returned.
      * 
@@ -695,15 +633,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -717,8 +654,6 @@ public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -737,8 +672,6 @@ public Builder setTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -759,15 +692,14 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags( + int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -781,8 +713,6 @@ public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.T return this; } /** - * - * *
      * The tags returned.
      * 
@@ -801,8 +731,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -821,8 +749,6 @@ public Builder addTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -833,7 +759,8 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -841,8 +768,6 @@ public Builder addAllTags( return this; } /** - * - * *
      * The tags returned.
      * 
@@ -860,8 +785,6 @@ public Builder clearTags() { return this; } /** - * - * *
      * The tags returned.
      * 
@@ -879,44 +802,39 @@ public Builder removeTags(int index) { return this; } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( + int index) { return getTagsFieldBuilder().getBuilder(index); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index) { if (tagsBuilder_ == null) { - return tags_.get(index); - } else { + return tags_.get(index); } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -924,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** - * - * *
      * The tags returned.
      * 
@@ -933,48 +849,42 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { - return getTagsFieldBuilder() - .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( + int index) { + return getTagsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** - * - * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); tags_ = null; } return tagsBuilder_; @@ -982,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(i private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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; @@ -1005,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * 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 { @@ -1028,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,13 +1002,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1117,16 +1016,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1141,4 +1040,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index 1b93bf53..fa38f042 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder - extends +public interface ListTagsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List getTagsList(); + java.util.List + getTagsList(); /** - * - * *
    * The tags returned.
    * 
@@ -44,8 +25,6 @@ public interface ListTagsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** - * - * *
    * The tags returned.
    * 
@@ -54,51 +33,43 @@ public interface ListTagsResponseOrBuilder */ int getTagsCount(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** - * - * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index ae29fb6b..059a89b1 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -46,15 +28,16 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 32: - { - int rawValue = input.readEnum(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - view_ = rawValue; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 32: { + int rawValue = input.readEnum(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,39 +99,34 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ @java.lang.Override @@ -161,29 +135,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @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 { @@ -194,14 +168,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -212,14 +183,11 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -228,29 +196,29 @@ 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; } } /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -261,52 +229,38 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ @java.lang.Override @@ -315,29 +269,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. The field to order the results by.
    * 
* * 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 { @@ -346,7 +300,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +311,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,9 +322,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -389,15 +341,15 @@ 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_); } - if (view_ - != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -410,19 +362,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy().equals(other.getOrderBy())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -450,127 +405,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -578,15 +523,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -604,14 +550,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -626,8 +571,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -641,50 +585,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -722,9 +662,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -736,20 +674,18 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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; @@ -758,21 +694,20 @@ public java.lang.String getParent() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @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 { @@ -780,76 +715,66 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent(java.lang.String value) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** - * - * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; - * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -857,36 +782,30 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,20 +813,18 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -916,21 +833,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -938,61 +854,54 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1000,67 +909,51 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = - com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @param value The view to set. * @return This builder for chaining. */ @@ -1068,24 +961,21 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -1093,20 +983,18 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1115,21 +1003,20 @@ public java.lang.String getOrderBy() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1137,68 +1024,61 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** - * - * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } - @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); } @@ -1208,32 +1088,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1245,8 +1123,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index e2fbbdde..2660ddc5 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,138 +1,98 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder - extends +public interface ListVersionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The parent. */ java.lang.String getParent(); /** - * - * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; - * * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; - * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The orderBy. */ java.lang.String getOrderBy(); /** - * - * *
    * Optional. The field to order the results by.
    * 
* * 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 933564d2..06865407 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ListVersionsResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -44,15 +26,16 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,33 +55,28 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - versions_.add( - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Version.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + versions_.add( + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + nextPageToken_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,7 +84,8 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -115,27 +94,22 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** - * - * *
    * The versions returned.
    * 
@@ -147,8 +121,6 @@ public java.util.List getV return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -156,13 +128,11 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** - * - * *
    * The versions returned.
    * 
@@ -174,8 +144,6 @@ public int getVersionsCount() { return versions_.size(); } /** - * - * *
    * The versions returned.
    * 
@@ -187,8 +155,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** - * - * *
    * The versions returned.
    * 
@@ -204,15 +170,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -221,30 +184,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * 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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,7 +227,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -282,7 +245,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -295,16 +259,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList().equals(other.getVersionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getVersionsList() + .equals(other.getVersionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -328,147 +293,135 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -484,14 +437,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto - .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -506,8 +458,7 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = - new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -527,50 +478,46 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) - return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -589,10 +536,9 @@ public Builder mergeFrom( versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getVersionsFieldBuilder() - : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getVersionsFieldBuilder() : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -621,9 +567,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,30 +576,21 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = - new java.util.ArrayList( - versions_); + versions_ = new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> - versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; /** - * - * *
      * The versions returned.
      * 
@@ -670,8 +605,6 @@ public java.util.List getV } } /** - * - * *
      * The versions returned.
      * 
@@ -686,8 +619,6 @@ public int getVersionsCount() { } } /** - * - * *
      * The versions returned.
      * 
@@ -702,8 +633,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** - * - * *
      * The versions returned.
      * 
@@ -725,8 +654,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -745,8 +672,6 @@ public Builder setVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -767,8 +692,6 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** - * - * *
      * The versions returned.
      * 
@@ -790,8 +713,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -810,8 +731,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -830,8 +749,6 @@ public Builder addVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -842,7 +759,8 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -850,8 +768,6 @@ public Builder addAllVersions( return this; } /** - * - * *
      * The versions returned.
      * 
@@ -869,8 +785,6 @@ public Builder clearVersions() { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -888,8 +802,6 @@ public Builder removeVersions(int index) { return this; } /** - * - * *
      * The versions returned.
      * 
@@ -901,8 +813,6 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The versions returned.
      * 
@@ -912,22 +822,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); - } else { + return versions_.get(index); } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -935,8 +842,6 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** - * - * *
      * The versions returned.
      * 
@@ -944,12 +849,10 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder() - .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
@@ -958,36 +861,30 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder() - .addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder().addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** - * - * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, - com.google.devtools.artifactregistry.v1beta2.Version.Builder, - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); versions_ = null; } return versionsBuilder_; @@ -995,21 +892,19 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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; @@ -1018,22 +913,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * 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 { @@ -1041,71 +935,64 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1115,32 +1002,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1152,8 +1037,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index 45175f20..bcc3b1a6 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder - extends +public interface ListVersionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List getVersionsList(); + java.util.List + getVersionsList(); /** - * - * *
    * The versions returned.
    * 
@@ -44,8 +25,6 @@ public interface ListVersionsResponseOrBuilder */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** - * - * *
    * The versions returned.
    * 
@@ -54,51 +33,43 @@ public interface ListVersionsResponseOrBuilder */ int getVersionsCount(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** - * - * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( + int index); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index 6aa3d9e4..b6258b3e 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() {} + private OperationMetadata() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,13 +52,13 @@ private OperationMetadata( case 0: done = true; break; - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,30 +66,27 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -117,7 +98,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { unknownFields.writeTo(output); } @@ -135,13 +117,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -160,127 +141,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.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; } /** - * - * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -288,15 +259,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -304,14 +276,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto - .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -326,8 +297,7 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = - new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -336,39 +306,38 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -376,9 +345,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -398,9 +365,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -409,9 +374,9 @@ public Builder mergeFrom( } return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -421,32 +386,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -458,8 +421,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..9d96bd08 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,9 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder { +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index 03b7ad70..d63f5fe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Package extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Package() { name_ = ""; displayName_ = ""; @@ -44,15 +26,16 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,57 +54,51 @@ private Package( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; + displayName_ = s; + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -129,40 +106,35 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -171,30 +143,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; } } /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -205,14 +177,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ @java.lang.Override @@ -221,29 +190,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -254,14 +223,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -269,14 +235,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -284,8 +247,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the package was created.
    * 
@@ -300,15 +261,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -316,15 +274,12 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -332,8 +287,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -347,7 +300,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -359,7 +311,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -388,10 +341,12 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -401,23 +356,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other =
-        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDisplayName().equals(other.getDisplayName())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDisplayName()
+        .equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -448,126 +406,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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;
   }
   /**
-   *
-   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, - com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -575,15 +524,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -607,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto - .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -628,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = - new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -650,39 +599,38 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); } else { super.mergeFrom(other); return this; @@ -690,8 +638,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -725,8 +672,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -738,21 +684,19 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -761,22 +705,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -784,64 +727,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -849,20 +785,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object displayName_ = ""; /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -871,21 +805,20 @@ public java.lang.String getDisplayName() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString getDisplayNameBytes() { + public com.google.protobuf.ByteString + getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); displayName_ = b; return b; } else { @@ -893,61 +826,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName(java.lang.String value) { + public Builder setDisplayName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** - * - * *
      * The display name of the package.
      * 
* * string display_name = 2; - * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -955,47 +881,34 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1016,15 +929,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1035,8 +947,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1047,7 +957,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1059,8 +969,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1079,8 +987,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the package was created.
      * 
@@ -1088,13 +994,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the package was created.
      * 
@@ -1105,14 +1009,11 @@ 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_; } } /** - * - * *
      * The time when the package was created.
      * 
@@ -1120,17 +1021,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1138,49 +1036,36 @@ 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_; /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1202,8 +1087,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1211,7 +1094,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1222,8 +1106,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1235,7 +1117,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1247,8 +1129,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1268,8 +1148,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1278,13 +1156,11 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-
+      
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1296,14 +1172,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1312,24 +1185,21 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
     }
-
     @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);
     }
 
@@ -1339,12 +1209,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1353,16 +1223,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Package parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new Package(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Package parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new Package(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1377,4 +1247,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index 104cbf12..cc9c2140 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,107 +1,73 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder
-    extends
+public interface PackageOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The displayName. */ java.lang.String getDisplayName(); /** - * - * *
    * The display name of the package.
    * 
* * string display_name = 2; - * * @return The bytes for displayName. */ - com.google.protobuf.ByteString getDisplayNameBytes(); + com.google.protobuf.ByteString + getDisplayNameBytes(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the package was created.
    * 
@@ -111,34 +77,26 @@ public interface PackageOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0e725b25
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,115 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/package.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\037google/protobuf/time" +
+      "stamp.proto\032\034google/api/annotations.prot" +
+      "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" +
+      "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." +
+      "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" +
+      "\032.google.protobuf.Timestamp\"L\n\023ListPacka" +
+      "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" +
+      "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" +
+      "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" +
+      "tools.artifactregistry.v1beta2.Package\022\027" +
+      "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" +
+      "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" +
+      "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" +
+      ".artifactregistry.v1beta2B\014PackageProtoP" +
+      "\001ZXgoogle.golang.org/genproto/googleapis" +
+      "/devtools/artifactregistry/v1beta2;artif" +
+      "actregistry\252\002%Google.Cloud.ArtifactRegis" +
+      "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" +
+      "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" +
+      "istry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.protobuf.TimestampProto.getDescriptor(),
+          com.google.api.AnnotationsProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+        new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+        new java.lang.String[] { "Packages", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+        new java.lang.String[] { "Name", });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 30b8d123..0fcff33f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,42 +1,24 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ProjectSettings extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -44,15 +26,16 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,27 +54,25 @@ private ProjectSettings( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + legacyRedirectionState_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,41 +80,36 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** - * - * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * No redirection status has been set.
      * 
@@ -142,8 +118,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_STATE_UNSPECIFIED(0), /** - * - * *
      * Redirection is disabled.
      * 
@@ -152,8 +126,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** - * - * *
      * Redirection is enabled.
      * 
@@ -162,8 +134,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -175,8 +145,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum ; /** - * - * *
      * No redirection status has been set.
      * 
@@ -185,8 +153,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Redirection is disabled.
      * 
@@ -195,8 +161,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** - * - * *
      * Redirection is enabled.
      * 
@@ -205,8 +169,6 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** - * - * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -215,6 +177,7 @@ public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -239,47 +202,41 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: - return REDIRECTION_STATE_UNSPECIFIED; - case 1: - return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: - return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: - return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: - return null; + case 0: return REDIRECTION_STATE_UNSPECIFIED; + case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< + RedirectionState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public RedirectionState findValueByNumber(int number) { + return RedirectionState.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); } private static final RedirectionState[] VALUES = values(); @@ -287,7 +244,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static RedirectionState 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; @@ -307,8 +265,6 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -318,7 +274,6 @@ private RedirectionState(int value) {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -327,15 +282,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -345,15 +299,16 @@ 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 { @@ -364,49 +319,31 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,14 +355,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -440,11 +375,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ - != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .REDIRECTION_STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -454,15 +387,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -485,127 +418,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -613,15 +536,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -633,14 +557,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -655,8 +578,7 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = - new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -667,39 +589,38 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); } else { super.mergeFrom(other); return this; @@ -707,9 +628,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -736,8 +655,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -749,8 +667,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -760,13 +676,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -775,8 +691,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -786,14 +700,15 @@ 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 { @@ -801,8 +716,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -812,22 +725,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -837,18 +748,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the project's settings.
      * Always of the form:
@@ -858,16 +766,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -875,113 +783,80 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int legacyRedirectionState_ = 0; /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override - public int getLegacyRedirectionStateValue() { + @java.lang.Override public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( - legacyRedirectionState_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - .UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -991,13 +866,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -1006,16 +880,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1030,4 +904,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index 801c80f6..d633ee88 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder - extends +public interface ProjectSettingsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -35,13 +17,10 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the project's settings.
    * Always of the form:
@@ -51,38 +30,27 @@ public interface ProjectSettingsOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** - * - * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState - getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index a7778a16..6aec32de 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Repository extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Repository() { name_ = ""; format_ = 0; @@ -46,15 +28,16 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,108 +57,90 @@ private Repository( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - format_ = rawValue; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + format_ = rawValue; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 42: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + kmsKeyName_ = s; + break; + } + case 74: { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); } - case 74: - { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = - ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_) - .toBuilder(); - } - formatConfig_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); - formatConfig_ = subBuilder.buildPartial(); - } - formatConfigCase_ = 9; - break; + formatConfig_ = + input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + formatConfig_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + formatConfigCase_ = 9; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -183,52 +148,48 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** - * - * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format implements com.google.protobuf.ProtocolMessageEnum { + public enum Format + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified package format.
      * 
@@ -237,8 +198,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ FORMAT_UNSPECIFIED(0), /** - * - * *
      * Docker package format.
      * 
@@ -247,8 +206,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ DOCKER(1), /** - * - * *
      * Maven package format.
      * 
@@ -257,8 +214,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ MAVEN(2), /** - * - * *
      * NPM package format.
      * 
@@ -267,8 +222,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ NPM(3), /** - * - * *
      * APT package format.
      * 
@@ -277,8 +230,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ APT(5), /** - * - * *
      * YUM package format.
      * 
@@ -287,8 +238,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ YUM(6), /** - * - * *
      * Python package format.
      * 
@@ -300,8 +249,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified package format.
      * 
@@ -310,8 +257,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Docker package format.
      * 
@@ -320,8 +265,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DOCKER_VALUE = 1; /** - * - * *
      * Maven package format.
      * 
@@ -330,8 +273,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MAVEN_VALUE = 2; /** - * - * *
      * NPM package format.
      * 
@@ -340,8 +281,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NPM_VALUE = 3; /** - * - * *
      * APT package format.
      * 
@@ -350,8 +289,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APT_VALUE = 5; /** - * - * *
      * YUM package format.
      * 
@@ -360,8 +297,6 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int YUM_VALUE = 6; /** - * - * *
      * Python package format.
      * 
@@ -370,6 +305,7 @@ public enum Format implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PYTHON_VALUE = 8; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -394,59 +330,53 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: - return FORMAT_UNSPECIFIED; - case 1: - return DOCKER; - case 2: - return MAVEN; - case 3: - return NPM; - case 5: - return APT; - case 6: - return YUM; - case 8: - return PYTHON; - default: - return null; + case 0: return FORMAT_UNSPECIFIED; + case 1: return DOCKER; + case 2: return MAVEN; + case 3: return NPM; + case 5: return APT; + case 6: return YUM; + case 8: return PYTHON; + 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< + Format> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Format findValueByNumber(int number) { + return Format.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); } private static final Format[] VALUES = values(); - public static Format valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -463,58 +393,41 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder - extends + public interface MavenRepositoryConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); } /** - * - * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -523,31 +436,31 @@ public interface MavenRepositoryConfigOrBuilder
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class MavenRepositoryConfig extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet
+    getUnknownFields() {
       return this.unknownFields;
     }
-
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -566,25 +479,24 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                allowSnapshotOverwrites_ = input.readBool();
-                break;
-              }
-            case 16:
-              {
-                int rawValue = input.readEnum();
+            case 8: {
 
-                versionPolicy_ = rawValue;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              allowSnapshotOverwrites_ = input.readBool();
+              break;
+            }
+            case 16: {
+              int rawValue = input.readEnum();
+
+              versionPolicy_ = rawValue;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -592,43 +504,36 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
-                  .class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
     }
 
     /**
-     *
-     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -639,8 +544,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -649,8 +552,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ RELEASE(1), /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -662,8 +563,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -674,8 +573,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
-       *
-       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -684,8 +581,6 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RELEASE_VALUE = 1; /** - * - * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -694,6 +589,7 @@ public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SNAPSHOT_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -718,46 +614,40 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: - return VERSION_POLICY_UNSPECIFIED; - case 1: - return RELEASE; - case 2: - return SNAPSHOT; - default: - return null; + case 0: return VERSION_POLICY_UNSPECIFIED; + case 1: return RELEASE; + case 2: return SNAPSHOT; + 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< + VersionPolicy> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionPolicy findValueByNumber(int number) { + return VersionPolicy.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); } private static final VersionPolicy[] VALUES = values(); @@ -765,7 +655,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static VersionPolicy 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; @@ -785,15 +676,12 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** - * - * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -804,52 +692,31 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -861,14 +728,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -881,13 +746,12 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.VERSION_POLICY_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); + if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -897,17 +761,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() + != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -921,7 +783,8 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -929,101 +792,88 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1033,53 +883,46 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code - * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1091,22 +934,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1114,10 +954,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -1128,56 +966,46 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1199,14 +1027,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1216,17 +1041,14 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_; + private boolean allowSnapshotOverwrites_ ; /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1234,38 +1056,32 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** - * - * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; - * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1273,115 +1089,77 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override - public int getVersionPolicyValue() { + @java.lang.Override public int getVersionPolicyValue() { return versionPolicy_; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy - result = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.valueOf(versionPolicy_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .VersionPolicy - value) { + public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** - * - * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1394,34 +1172,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1433,23 +1207,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public enum FormatConfigCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; - private FormatConfigCase(int value) { this.value = value; } @@ -1465,37 +1236,30 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: - return MAVEN_CONFIG; - case 0: - return FORMATCONFIG_NOT_SET; - default: - return null; + case 9: return MAVEN_CONFIG; + case 0: return FORMATCONFIG_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1503,64 +1267,46 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1569,30 +1315,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; } } /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1603,52 +1349,38 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -1657,29 +1389,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1688,23 +1420,24 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } public static final int LABELS_FIELD_NUMBER = 4; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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_; } @@ -1713,8 +1446,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1725,22 +1456,22 @@ 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();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1752,12 +1483,11 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
+
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1769,16 +1499,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+
+  public java.lang.String getLabelsOrDefault(
+      java.lang.String key,
+      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;
   }
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1790,11 +1520,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin
    * 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();
     }
@@ -1804,14 +1535,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1819,14 +1547,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -1834,8 +1559,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the repository was created.
    * 
@@ -1850,14 +1573,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1865,14 +1585,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -1880,8 +1597,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -1896,8 +1611,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1906,7 +1619,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ @java.lang.Override @@ -1915,15 +1627,14 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1932,15 +1643,16 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1949,7 +1661,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1961,20 +1672,23 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1985,10 +1699,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -2002,39 +1713,37 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ - != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); + if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 9, - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2044,31 +1753,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = - (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription().equals(other.getDescription())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription() + .equals(other.getDescription())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) 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 (!getKmsKeyName().equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName() + .equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig().equals(other.getMavenConfig())) return false; + if (!getMavenConfig() + .equals(other.getMavenConfig())) return false; break; case 0: default: @@ -2118,147 +1833,139 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField(int number) { + protected com.google.protobuf.MapField internalGetMapField( + int number) { switch (number) { 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.MapField internalGetMutableMapField(int number) { + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -2266,15 +1973,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2305,9 +2013,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2326,8 +2034,7 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = - new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2361,39 +2068,38 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); } else { super.mergeFrom(other); return this; @@ -2401,8 +2107,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2414,7 +2119,8 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2426,15 +2132,13 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: - { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: - { - break; - } + case MAVEN_CONFIG: { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2455,8 +2159,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2465,12 +2168,12 @@ public Builder mergeFrom( } return this; } - private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - - public FormatConfigCase getFormatConfigCase() { - return FormatConfigCase.forNumber(formatConfigCase_); + public FormatConfigCase + getFormatConfigCase() { + return FormatConfigCase.forNumber( + formatConfigCase_); } public Builder clearFormatConfig() { @@ -2483,22 +2186,14 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> - mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2506,51 +2201,37 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2564,20 +2245,15 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2588,32 +2264,19 @@ public Builder setMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public Builder mergeMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 - && formatConfig_ - != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance()) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .newBuilder( - (com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfig) - formatConfig_) - .mergeFrom(value) - .buildPartial(); + if (formatConfigCase_ == 9 && + formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) + .mergeFrom(value).buildPartial(); } else { formatConfig_ = value; } @@ -2629,16 +2292,12 @@ public Builder mergeMavenConfig( return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2657,106 +2316,77 @@ public Builder clearMavenConfig() { return this; } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder - getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } } /** - * - * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .getDefaultInstance(); + formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); } - mavenConfigBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig - .Builder, - com.google.devtools.artifactregistry.v1beta2.Repository - .MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - formatConfig_, + mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged(); - ; + onChanged();; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2765,22 +2395,21 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2788,64 +2417,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2853,67 +2475,51 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int format_ = 0; /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ - @java.lang.Override - public int getFormatValue() { + @java.lang.Override public int getFormatValue() { return format_; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = - com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @param value The format to set. * @return This builder for chaining. */ @@ -2921,24 +2527,21 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2946,20 +2549,18 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2968,21 +2569,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -2990,81 +2590,75 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * The user-provided description of the repository.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> 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() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; 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(); @@ -3076,8 +2670,6 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3088,22 +2680,22 @@ 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();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3115,12 +2707,11 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3132,17 +2723,16 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
+
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key, java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+        java.lang.String key,
+        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;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3154,11 +2744,12 @@ public 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();
       }
@@ -3166,12 +2757,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3182,21 +2772,23 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3207,20 +2799,19 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    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");
-      }
+  throw new NullPointerException("map value");
+}
 
-      internalGetMutableLabels().getMutableMap().put(key, value);
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       return this;
     }
     /**
-     *
-     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -3231,54 +2822,44 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * 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);
       return this;
     }
 
     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_;
     /**
-     *
-     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3299,15 +2880,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -3318,8 +2898,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3330,7 +2908,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -3342,8 +2920,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3362,8 +2938,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3371,13 +2945,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3388,14 +2960,11 @@ 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_; } } /** - * - * *
      * The time when the repository was created.
      * 
@@ -3403,17 +2972,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -3421,47 +2987,34 @@ 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_; /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3482,15 +3035,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3501,8 +3053,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3513,7 +3063,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3525,8 +3075,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3545,8 +3093,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3554,13 +3100,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3571,14 +3115,11 @@ 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_; } } /** - * - * *
      * The time when the repository was last updated.
      * 
@@ -3586,17 +3127,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3604,8 +3142,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3614,13 +3150,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3629,8 +3165,6 @@ public java.lang.String getKmsKeyName() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3639,14 +3173,15 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString getKmsKeyNameBytes() { + public com.google.protobuf.ByteString + getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3654,8 +3189,6 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() { } } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3664,22 +3197,20 @@ public com.google.protobuf.ByteString getKmsKeyNameBytes() {
      * 
* * string kms_key_name = 8; - * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName(java.lang.String value) { + public Builder setKmsKeyName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3688,18 +3219,15 @@ public Builder setKmsKeyName(java.lang.String value) {
      * 
* * string kms_key_name = 8; - * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** - * - * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3708,23 +3236,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; - * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3734,12 +3262,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3748,16 +3276,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3772,4 +3300,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 56edcd7a..1aabc981 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,153 +1,104 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder - extends +public interface RepositoryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** - * - * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; - * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder - getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** - * - * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; - * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * The user-provided description of the repository.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -160,8 +111,6 @@ public interface RepositoryOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -172,13 +121,15 @@ public interface RepositoryOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -189,10 +140,9 @@ public interface RepositoryOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -205,13 +155,11 @@ public interface RepositoryOrBuilder
    */
 
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -222,35 +170,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the repository was created.
    * 
@@ -260,32 +202,24 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the repository was last updated.
    * 
@@ -295,8 +229,6 @@ java.lang.String getLabelsOrDefault( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -305,13 +237,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** - * - * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -320,11 +249,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string kms_key_name = 8; - * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString getKmsKeyNameBytes(); + com.google.protobuf.ByteString + getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase - getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..39b40092 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { "Key", "Value", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { "Parent", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { "Repositories", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { "Repository", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..2ae49699 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,262 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..e3b740d3 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,112 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { "Name", "LegacyRedirectionState", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { "ProjectSettings", "UpdateMask", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index 468c4c93..ec604378 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -28,16 +11,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Tag extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Tag() {
     name_ = "";
     version_ = "";
@@ -45,15 +27,16 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,27 +55,25 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              version_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            version_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -100,33 +81,29 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -136,7 +113,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -145,15 +121,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -163,15 +138,16 @@ 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 { @@ -182,8 +158,6 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -192,7 +166,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string version = 2; - * * @return The version. */ @java.lang.Override @@ -201,15 +174,14 @@ 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; } } /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -218,15 +190,16 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; - * * @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 { @@ -235,7 +208,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +219,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -277,16 +250,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = - (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName().equals(other.getName())) return false; - if (!getVersion().equals(other.getVersion())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getVersion() + .equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -307,104 +281,97 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -412,23 +379,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class,
-              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -436,15 +401,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -456,9 +422,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -477,8 +443,7 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result =
-          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -489,39 +454,38 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -529,8 +493,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -570,8 +533,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -581,13 +542,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -596,8 +557,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -607,14 +566,15 @@ 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 { @@ -622,8 +582,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -633,22 +591,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -658,18 +614,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -679,16 +632,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,8 +649,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object version_ = ""; /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -706,13 +657,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * string version = 2; - * * @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; @@ -721,8 +672,6 @@ public java.lang.String getVersion() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -731,14 +680,15 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; - * * @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 { @@ -746,8 +696,6 @@ public com.google.protobuf.ByteString getVersionBytes() { } } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -756,22 +704,20 @@ public com.google.protobuf.ByteString getVersionBytes() {
      * 
* * string version = 2; - * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion(java.lang.String value) { + public Builder setVersion( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -780,18 +726,15 @@ public Builder setVersion(java.lang.String value) {
      * 
* * string version = 2; - * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** - * - * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -800,23 +743,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; - * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes(com.google.protobuf.ByteString value) { + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -826,12 +769,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -840,16 +783,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -864,4 +807,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 16f0d517..3c1dbead 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder - extends +public interface TagOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -35,13 +17,10 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -51,14 +30,12 @@ public interface TagOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -67,13 +44,10 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The version. */ java.lang.String getVersion(); /** - * - * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -82,8 +56,8 @@ public interface TagOrBuilder
    * 
* * string version = 2; - * * @return The bytes for version. */ - com.google.protobuf.ByteString getVersionBytes(); + com.google.protobuf.ByteString + getVersionBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..392fa000 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,151 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { "Name", "Version", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { "Tags", "NextPageToken", }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { "Name", }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { "Parent", "TagId", "Tag", }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { "Tag", "UpdateMask", }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { "Name", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index bce2f426..d90d410d 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateProjectSettingsRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateProjectSettingsRequest() {} + private UpdateProjectSettingsRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,46 +52,39 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: - { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = - null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } - - break; + case 18: { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,40 +92,34 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -156,25 +127,18 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } /** - * - * *
    * The project settings.
    * 
@@ -182,22 +146,18 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -205,14 +165,11 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +177,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * Field mask to support partial updates.
    * 
@@ -234,7 +189,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -246,7 +200,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -263,10 +218,12 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -276,22 +233,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings().equals(other.getProjectSettings())) return false; + if (!getProjectSettings() + .equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask().equals(other.getUpdateMask())) return false; + if (!getUpdateMask() + .equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -318,146 +275,134 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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; } /** - * - * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder - .class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -477,22 +422,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -500,10 +442,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -522,52 +462,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); + if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -589,14 +523,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = - null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -608,55 +539,41 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> - projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -670,8 +587,6 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -690,23 +605,17 @@ public Builder setProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( - projectSettings_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); } else { projectSettings_ = value; } @@ -718,8 +627,6 @@ public Builder mergeProjectSettings( return this; } /** - * - * *
      * The project settings.
      * 
@@ -738,42 +645,33 @@ public Builder clearProjectSettings() { return this; } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder - getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** - * - * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null - ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() - : projectSettings_; + return projectSettings_ == null ? + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; } } /** - * - * *
      * The project settings.
      * 
@@ -781,17 +679,14 @@ public Builder clearProjectSettings() { * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), getParentForChildren(), isClean()); + projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), + getParentForChildren(), + isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -799,47 +694,34 @@ public Builder clearProjectSettings() { 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_; /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @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(); } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -860,15 +742,14 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask( + com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -879,8 +760,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -891,7 +770,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -903,8 +782,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -923,8 +800,6 @@ public Builder clearUpdateMask() { return this; } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -932,13 +807,11 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -949,14 +822,11 @@ 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_; } } /** - * - * *
      * Field mask to support partial updates.
      * 
@@ -964,24 +834,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } - @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); } @@ -991,33 +858,30 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - DEFAULT_INSTANCE; - + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1029,8 +893,9 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 4257f596..8be1bfe3 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,91 +1,58 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder - extends +public interface UpdateProjectSettingsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; - * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** - * - * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder - getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * Field mask to support partial updates.
    * 
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 48b1127b..8d812606 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateRepositoryRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateRepositoryRequest() {} + private UpdateRepositoryRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Repository.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,39 +92,34 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ @java.lang.Override @@ -154,25 +127,18 @@ public boolean hasRepository() { return repository_ != null; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -187,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -196,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -204,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -213,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -221,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -237,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -266,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -279,21 +239,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository().equals(other.getRepository())) return false;
+      if (!getRepository()
+          .equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -320,145 +281,134 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
+      throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      parseDelimitedFrom(
-          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-          throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using - // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -478,16 +428,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); } @java.lang.Override @@ -501,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -521,51 +468,46 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom( - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -591,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -605,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> - repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } else { return repositoryBuilder_.getMessage(); } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -666,8 +593,6 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -686,8 +611,6 @@ public Builder setRepository( return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -698,9 +621,7 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); } else { repository_ = value; } @@ -712,8 +633,6 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -732,8 +651,6 @@ public Builder clearRepository() { return this; } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -741,32 +658,26 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder - getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null - ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() - : repository_; + return repository_ == null ? + com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; } } /** - * - * *
      * The repository that replaces the resource on the server.
      * 
@@ -774,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, - com.google.devtools.artifactregistry.v1beta2.Repository.Builder, - com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), getParentForChildren(), isClean()); + repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), + getParentForChildren(), + isClean()); repository_ = null; } return repositoryBuilder_; @@ -792,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -806,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -822,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -859,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -869,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -880,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -894,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -906,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -928,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -939,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -958,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -975,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1002,32 +882,30 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateRepositoryRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateRepositoryRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateRepositoryRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateRepositoryRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1039,8 +917,9 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
-      getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index 2414b1b3..ce37b484 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder
-    extends
+public interface UpdateRepositoryRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return Whether the repository field is set. */ boolean hasRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; - * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** - * - * *
    * The repository that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateRepositoryRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateRepositoryRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index b88ad1b8..a3ff1b5c 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,55 +1,39 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class UpdateTagRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private UpdateTagRequest() {} + private UpdateTagRequest() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,44 +52,39 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: - { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = - input.readMessage( - com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -113,39 +92,34 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ @java.lang.Override @@ -153,25 +127,18 @@ public boolean hasTag() { return tag_ != null; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -186,8 +153,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,7 +160,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -203,8 +167,6 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -212,7 +174,6 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ @java.lang.Override @@ -220,8 +181,6 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -236,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -248,7 +206,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -265,10 +224,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -278,21 +239,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
-        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag().equals(other.getTag())) return false;
+      if (!getTag()
+          .equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask()
+          .equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -319,127 +281,117 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
-  public static Builder newBuilder(
-      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -447,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -475,14 +428,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto - .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest - getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -497,8 +449,7 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = - new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -517,39 +468,38 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); } else { super.mergeFrom(other); return this; @@ -557,9 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other - == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -585,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -599,47 +545,34 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } else { return tagBuilder_.getMessage(); } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -660,8 +593,6 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -680,8 +611,6 @@ public Builder setTag( return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -692,9 +621,7 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) - .mergeFrom(value) - .buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); } else { tag_ = value; } @@ -706,8 +633,6 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -726,8 +651,6 @@ public Builder clearTag() { return this; } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -735,13 +658,11 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -752,14 +673,11 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null - ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() - : tag_; + return tag_ == null ? + com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; } } /** - * - * *
      * The tag that replaces the resource on the server.
      * 
@@ -767,17 +685,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), getParentForChildren(), isClean()); + tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), + getParentForChildren(), + isClean()); tag_ = null; } return tagBuilder_; @@ -785,13 +700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -799,15 +709,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -815,21 +722,16 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @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(); } } /** - * - * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -852,8 +754,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -862,7 +762,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(
+        com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -873,8 +774,6 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -887,7 +786,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -899,8 +798,6 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -921,8 +818,6 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -932,13 +827,11 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-
+      
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -951,14 +844,11 @@ 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_;
       }
     }
     /**
-     *
-     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -968,24 +858,21 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
-
     @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);
     }
 
@@ -995,13 +882,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
-      DEFAULT_INSTANCE;
-
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -1010,16 +896,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public UpdateTagRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          return new UpdateTagRequest(input, extensionRegistry);
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public UpdateTagRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      return new UpdateTagRequest(input, extensionRegistry);
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1034,4 +920,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 8a19edf0..697f83b5 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,55 +1,31 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder
-    extends
+public interface UpdateTagRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return Whether the tag field is set. */ boolean hasTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; - * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** - * - * *
    * The tag that replaces the resource on the server.
    * 
@@ -59,8 +35,6 @@ public interface UpdateTagRequestOrBuilder com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -68,13 +42,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -82,13 +53,10 @@ public interface UpdateTagRequestOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; - * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** - * - * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 414910c1..90c5af7f 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Version extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Version() {
     name_ = "";
     description_ = "";
@@ -47,15 +29,16 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -75,84 +58,73 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            description_ = s;
+            break;
+          }
+          case 42: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
+            }
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 50: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 42:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 50:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+
+            break;
+          }
+          case 58: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              relatedTags_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 58:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                relatedTags_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              relatedTags_.add(
-                  input.readMessage(
-                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
-                      extensionRegistry));
-              break;
+            relatedTags_.add(
+                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
+            break;
+          }
+          case 66: {
+            com.google.protobuf.Struct.Builder subBuilder = null;
+            if (metadata_ != null) {
+              subBuilder = metadata_.toBuilder();
             }
-          case 66:
-            {
-              com.google.protobuf.Struct.Builder subBuilder = null;
-              if (metadata_ != null) {
-                subBuilder = metadata_.toBuilder();
-              }
-              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(metadata_);
-                metadata_ = subBuilder.buildPartial();
-              }
-
-              break;
+            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(metadata_);
+              metadata_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -160,7 +132,8 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -169,27 +142,22 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto
-        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class,
-            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
-   *
-   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -198,7 +166,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -207,15 +174,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -224,15 +190,16 @@ 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 { @@ -243,14 +210,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ @java.lang.Override @@ -259,29 +223,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -292,14 +256,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -307,14 +268,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ @java.lang.Override @@ -322,8 +280,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time when the version was created.
    * 
@@ -338,14 +294,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -353,14 +306,11 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -368,8 +318,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time when the version was last updated.
    * 
@@ -384,8 +332,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -398,8 +344,6 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -408,13 +352,11 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -427,8 +369,6 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -441,8 +381,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -459,8 +397,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -469,7 +405,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ @java.lang.Override @@ -477,8 +412,6 @@ public boolean hasMetadata() { return metadata_ != null; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -487,7 +420,6 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ @java.lang.Override @@ -495,8 +427,6 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -512,7 +442,6 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -524,7 +453,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
     }
@@ -559,16 +489,20 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -578,28 +512,33 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other =
-        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName().equals(other.getName())) return false;
-    if (!getDescription().equals(other.getDescription())) return false;
+    if (!getName()
+        .equals(other.getName())) return false;
+    if (!getDescription()
+        .equals(other.getDescription())) 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 (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList()
+        .equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata().equals(other.getMetadata())) return false;
+      if (!getMetadata()
+          .equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -638,103 +577,96 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -743,23 +675,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class,
-              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -767,17 +697,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) {
         getRelatedTagsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -813,9 +743,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto
-          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -834,8 +764,7 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result =
-          new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -871,39 +800,38 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -911,8 +839,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
-        return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -945,10 +872,9 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getRelatedTagsFieldBuilder()
-                    : null;
+            relatedTagsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getRelatedTagsFieldBuilder() : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -976,8 +902,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -986,13 +911,10 @@ public Builder mergeFrom(
       }
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1001,13 +923,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -1016,8 +938,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1026,14 +946,15 @@ 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 { @@ -1041,8 +962,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1051,22 +970,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1075,18 +992,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1095,16 +1009,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1112,20 +1026,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object description_ = ""; /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1134,21 +1046,20 @@ public java.lang.String getDescription() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return The bytes for description. */ - public com.google.protobuf.ByteString getDescriptionBytes() { + public com.google.protobuf.ByteString + getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); description_ = b; return b; } else { @@ -1156,61 +1067,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription(java.lang.String value) { + public Builder setDescription( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** - * - * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; - * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1218,47 +1122,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; - * * @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(); } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1279,15 +1170,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1298,8 +1188,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1310,7 +1198,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1322,8 +1210,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1342,8 +1228,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time when the version was created.
      * 
@@ -1351,13 +1235,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was created.
      * 
@@ -1368,14 +1250,11 @@ 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_; } } /** - * - * *
      * The time when the version was created.
      * 
@@ -1383,17 +1262,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1401,47 +1277,34 @@ 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_; /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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(); } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1462,15 +1325,14 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1481,8 +1343,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1493,7 +1353,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1505,8 +1365,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1525,8 +1383,6 @@ public Builder clearUpdateTime() { return this; } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1534,13 +1390,11 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1551,14 +1405,11 @@ 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_; } } /** - * - * *
      * The time when the version was last updated.
      * 
@@ -1566,42 +1417,32 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = - new java.util.ArrayList(relatedTags_); + relatedTags_ = new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, - com.google.devtools.artifactregistry.v1beta2.Tag.Builder, - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> - relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; /** - * - * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1617,8 +1458,6 @@ public java.util.List getRelat
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1634,8 +1473,6 @@ public int getRelatedTagsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1651,8 +1488,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1675,8 +1510,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1696,8 +1529,6 @@ public Builder setRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1719,8 +1550,6 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1743,8 +1572,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1764,8 +1591,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1785,8 +1610,6 @@ public Builder addRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1798,7 +1621,8 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1806,8 +1630,6 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1826,8 +1648,6 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1846,8 +1666,6 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1860,8 +1678,6 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1872,14 +1688,11 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);
-      } else {
+        return relatedTags_.get(index);  } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1887,8 +1700,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsOrBuilderList() {
+    public java.util.List 
+         getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1896,8 +1709,6 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1906,12 +1717,10 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1921,12 +1730,10 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder()
-          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder().addBuilder(
+          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1934,23 +1741,20 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List
-        getRelatedTagsBuilderList() {
+    public java.util.List 
+         getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag,
-            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
+        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.devtools.artifactregistry.v1beta2.Tag,
-                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
-                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1958,13 +1762,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
-        metadataBuilder_;
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
     /**
-     *
-     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1972,17 +1771,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1990,9 +1785,7 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -2003,8 +1796,6 @@ public com.google.protobuf.Struct getMetadata() { } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2012,8 +1803,7 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -2029,8 +1819,6 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2038,10 +1826,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata( + com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -2052,8 +1840,6 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2061,14 +1847,13 @@ public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -2080,8 +1865,6 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2089,8 +1872,7 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -2104,8 +1886,6 @@ public Builder clearMetadata() { return this; } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2113,17 +1893,14 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2131,19 +1908,17 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? + com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** - * - * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -2151,28 +1926,24 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder>( - getMetadata(), getParentForChildren(), isClean()); + metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( + getMetadata(), + getParentForChildren(), + isClean()); metadata_ = null; } return metadataBuilder_; } - @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); } @@ -2182,12 +1953,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -2196,16 +1967,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2220,4 +1991,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 505534fe..1fca4549 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder - extends +public interface VersionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -34,13 +16,10 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -49,63 +28,50 @@ public interface VersionOrBuilder
    * 
* * string name = 1; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The description. */ java.lang.String getDescription(); /** - * - * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; - * * @return The bytes for description. */ - com.google.protobuf.ByteString getDescriptionBytes(); + com.google.protobuf.ByteString + getDescriptionBytes(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time when the version was created.
    * 
@@ -115,32 +81,24 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time when the version was last updated.
    * 
@@ -150,8 +108,6 @@ public interface VersionOrBuilder com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** - * - * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -159,10 +115,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List getRelatedTagsList();
+  java.util.List 
+      getRelatedTagsList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -172,8 +127,6 @@ public interface VersionOrBuilder
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -183,8 +136,6 @@ public interface VersionOrBuilder
    */
   int getRelatedTagsCount();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -192,11 +143,9 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List
+  java.util.List 
       getRelatedTagsOrBuilderList();
   /**
-   *
-   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -204,11 +153,10 @@ public interface VersionOrBuilder
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -217,13 +165,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -232,13 +177,10 @@ public interface VersionOrBuilder
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** - * - * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..cd58bc89
--- /dev/null
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,145 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor
+      getDescriptor() {
+    return descriptor;
+  }
+  private static  com.google.protobuf.Descriptors.FileDescriptor
+      descriptor;
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet" +
+      "a2/version.proto\022(google.devtools.artifa" +
+      "ctregistry.v1beta2\032\034google/api/annotatio" +
+      "ns.proto\032\037google/api/field_behavior.prot" +
+      "o\032\031google/api/resource.proto\0322google/dev" +
+      "tools/artifactregistry/v1beta2/tag.proto" +
+      "\032\034google/protobuf/struct.proto\032\037google/p" +
+      "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" +
+      "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" +
+      "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" +
+      "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" +
+      "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." +
+      "devtools.artifactregistry.v1beta2.Tag\022.\n" +
+      "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" +
+      "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" +
+      "s.com/Version\022gprojects/{project}/locati" +
+      "ons/{location}/repositories/{repository}" +
+      "/packages/{package}/versions/{version}\"\250" +
+      "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" +
+      "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" +
+      "\004view\030\004 \001(\01625.google.devtools.artifactre" +
+      "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" +
+      " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" +
+      "sions\030\001 \003(\01321.google.devtools.artifactre" +
+      "gistry.v1beta2.Version\022\027\n\017next_page_toke" +
+      "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" +
+      "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" +
+      "actregistry.v1beta2.VersionView\"3\n\024Delet" +
+      "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" +
+      " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" +
+      "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" +
+      "oogle.devtools.artifactregistry.v1beta2B" +
+      "\014VersionProtoP\001ZXgoogle.golang.org/genpr" +
+      "oto/googleapis/devtools/artifactregistry" +
+      "/v1beta2;artifactregistry\252\002%Google.Cloud" +
+      ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" +
+      "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" +
+      "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor = com.google.protobuf.Descriptors.FileDescriptor
+      .internalBuildGeneratedFileFrom(descriptorData,
+        new com.google.protobuf.Descriptors.FileDescriptor[] {
+          com.google.api.AnnotationsProto.getDescriptor(),
+          com.google.api.FieldBehaviorProto.getDescriptor(),
+          com.google.api.ResourceProto.getDescriptor(),
+          com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+          com.google.protobuf.StructProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+        new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+        new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+        new java.lang.String[] { "Versions", "NextPageToken", });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "View", });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+        new java.lang.String[] { "Name", "Force", });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor
+        .internalUpdateFileDescriptor(descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 0621d8af..92d55120 100644
--- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,26 +1,9 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
- *
- *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -28,10 +11,9 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView
+    implements com.google.protobuf.ProtocolMessageEnum {
   /**
-   *
-   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -41,8 +23,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -51,8 +31,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ BASIC(1), /** - * - * *
    * Include everything.
    * 
@@ -64,8 +42,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -75,8 +51,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
-   *
-   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -85,8 +59,6 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Include everything.
    * 
@@ -95,6 +67,7 @@ public enum VersionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -119,51 +92,49 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: - return VERSION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return VERSION_VIEW_UNSPECIFIED; + case 1: return BASIC; + case 2: return FULL; + 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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + VersionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -179,3 +150,4 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index 6111a567..c0059766 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** - * - * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 - implements +public final class YumArtifact extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private YumArtifact() { name_ = ""; packageName_ = ""; @@ -46,15 +28,16 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,41 +56,37 @@ private YumArtifact( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: - { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + architecture_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +94,36 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** - * - * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Package type is not specified.
      * 
@@ -158,8 +132,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ PACKAGE_TYPE_UNSPECIFIED(0), /** - * - * *
      * Binary package (.rpm).
      * 
@@ -168,8 +140,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ BINARY(1), /** - * - * *
      * Source package (.srpm).
      * 
@@ -181,8 +151,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Package type is not specified.
      * 
@@ -191,8 +159,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Binary package (.rpm).
      * 
@@ -201,8 +167,6 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int BINARY_VALUE = 1; /** - * - * *
      * Source package (.srpm).
      * 
@@ -211,6 +175,7 @@ public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SOURCE_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -235,51 +200,49 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: - return PACKAGE_TYPE_UNSPECIFIED; - case 1: - return BINARY; - case 2: - return SOURCE; - default: - return null; + case 0: return PACKAGE_TYPE_UNSPECIFIED; + case 1: return BINARY; + case 2: return SOURCE; + 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< + PackageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PackageType findValueByNumber(int number) { + return PackageType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -299,14 +262,11 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -315,29 +275,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -348,14 +308,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ @java.lang.Override @@ -364,29 +321,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -397,56 +354,38 @@ public com.google.protobuf.ByteString getPackageNameBytes() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ - @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ @java.lang.Override @@ -455,29 +394,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -486,7 +425,6 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,17 +436,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -529,11 +465,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ - != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType - .PACKAGE_TYPE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); + if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -546,18 +480,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName().equals(other.getName())) return false; - if (!getPackageName().equals(other.getPackageName())) return false; + if (!getName() + .equals(other.getName())) return false; + if (!getPackageName() + .equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getArchitecture() + .equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -583,127 +519,117 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, - com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -711,15 +637,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +662,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto - .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -756,8 +683,7 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = - new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -770,39 +696,38 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); } else { super.mergeFrom(other); return this; @@ -810,8 +735,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) - return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -846,8 +770,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -859,20 +782,18 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -881,21 +802,20 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -903,61 +823,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -965,20 +878,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private java.lang.Object packageName_ = ""; /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -987,21 +898,20 @@ public java.lang.String getPackageName() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString getPackageNameBytes() { + public com.google.protobuf.ByteString + getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); packageName_ = b; return b; } else { @@ -1009,61 +919,54 @@ public com.google.protobuf.ByteString getPackageNameBytes() { } } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName(java.lang.String value) { + public Builder setPackageName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** - * - * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1071,104 +974,73 @@ public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { private int packageType_ = 0; /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override - public int getPackageTypeValue() { + @java.lang.Override public int getPackageTypeValue() { return packageType_; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( - packageType_); - return result == null - ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED - : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** - * - * *
      * Output only. An artifact is a binary or source package.
      * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1176,20 +1048,18 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1198,21 +1068,20 @@ public java.lang.String getArchitecture() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString getArchitectureBytes() { + public com.google.protobuf.ByteString + getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); architecture_ = b; return b; } else { @@ -1220,68 +1089,61 @@ public com.google.protobuf.ByteString getArchitectureBytes() { } } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture(java.lang.String value) { + public Builder setArchitecture( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** - * - * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1291,12 +1153,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1305,16 +1167,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1329,4 +1191,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index 0be7b093..c61239a2 100644 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,129 +1,88 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder - extends +public interface YumArtifactOrBuilder extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The packageName. */ java.lang.String getPackageName(); /** - * - * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for packageName. */ - com.google.protobuf.ByteString getPackageNameBytes(); + com.google.protobuf.ByteString + getPackageNameBytes(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** - * - * *
    * Output only. An artifact is a binary or source package.
    * 
* - * - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The architecture. */ java.lang.String getArchitecture(); /** - * - * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for architecture. */ - com.google.protobuf.ByteString getArchitectureBytes(); + com.google.protobuf.ByteString + getArchitectureBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5e402911 --- /dev/null +++ b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,155 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { "Uris", "UseWildcards", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { "GcsSource", "Parent", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { "GcsSource", "Error", "Source", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { "YumArtifacts", "Errors", }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] { }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index fe9a09c5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" - + "t_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.AptArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" - + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" - + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" - + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" - + "A\214\001\n+artifactregistry.googleapis.com/Apt" - + "Artifact\022]projects/{project}/locations/{" - + "location}/repositories/{repository}/aptA" - + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" - + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" - + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" - + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." - + "artifactregistry.v1.ImportAptArtifactsGc" - + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" - + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" - + "e\030\001 \001(\0132@.google.devtools.artifactregist" - + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" - + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" - + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" - + "rtifacts\030\001 \003(\01320.google.devtools.artifac" - + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" - + "2@.google.devtools.artifactregistry.v1.I" - + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" - + "rtifactsMetadataB\376\001\n\'com.google.devtools" - + ".artifactregistry.v1B\020AptArtifactProtoP\001" - + "ZSgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1;artifactreg" - + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" - + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" - + "ogle::Cloud::ArtifactRegistry::V1b\006proto" - + "3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index 9fd5ca98..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" - + "tifact.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032\037google/pr" - + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" - + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" - + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" - + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" - + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" - + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mage\022]projects/{project}/locations/{loca" - + "tion}/repositories/{repository}/dockerIm" - + "ages/{docker_image}\"U\n\027ListDockerImagesR" - + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" - + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" - + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." - + "google.devtools.artifactregistry.v1.Dock" - + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" - + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" - + "+artifactregistry.googleapis.com/DockerI" - + "mageB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { - "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { - "DockerImages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index d2bbba3c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index ea110ac1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index 0a01aeb9..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,146 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" - + "le.proto\022#google.devtools.artifactregist" - + "ry.v1\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" - + "pe\030\001 \001(\01622.google.devtools.artifactregis" - + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" - + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" - + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" - + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" - + "gle.devtools.artifactregistry.v1.Hash\022/\n" - + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" - + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" - + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" - + "ifactregistry.googleapis.com/File\022Nproje" - + "cts/{project}/locations/{location}/repos" - + "itories/{repository}/files/{file}\"k\n\020Lis" - + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" - + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" - + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" - + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" - + "ifactregistry.v1.File\022\027\n\017next_page_token" - + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" - + "\001\n\'com.google.devtools.artifactregistry." - + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1;artifactregistry\252\002 Google.Cloud.Arti" - + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" - + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" - + "stry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 646394c6..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the docker images.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 0499ed5e..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 0652626c..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 5a1488a1..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index aa348921..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fffbb74..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9cbb42e5..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index 0dec3987..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index a8c0a10a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" - + "ckage.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032\037google/pro" - + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" - + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" - + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" - + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" - + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" - + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" - + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" - + "ckages\030\001 \003(\0132,.google.devtools.artifactr" - + "egistry.v1.Package\022\027\n\017next_page_token\030\002 " - + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" - + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" - + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" - + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" - + "g.org/genproto/googleapis/devtools/artif" - + "actregistry/v1;artifactregistry\252\002 Google" - + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" - + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" - + "rtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index d0e9bb14..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" - + "pository.proto\022#google.devtools.artifact" - + "registry.v1\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" - + "en_config\030\t \001(\0132E.google.devtools.artifa" - + "ctregistry.v1.Repository.MavenRepository" - + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" - + ".google.devtools.artifactregistry.v1.Rep" - + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" - + "abels\030\004 \003(\0132;.google.devtools.artifactre" - + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" - + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" - + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" - + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" - + "enRepositoryConfig\022!\n\031allow_snapshot_ove" - + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." - + "google.devtools.artifactregistry.v1.Repo" - + "sitory.MavenRepositoryConfig.VersionPoli" - + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" - + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" - + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" - + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" - + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" - + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" - + "stry.googleapis.com/Repository\022Aprojects" - + "/{project}/locations/{location}/reposito" - + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" - + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" - + "\340A\002\372A,\022*artifactregistry.googleapis.com/" - + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" - + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" - + "\014repositories\030\001 \003(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" - + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" - + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" - + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" - + "ifactregistry.googleapis.com/Repository\022" - + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" - + "(\0132/.google.devtools.artifactregistry.v1" - + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" - + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" - + "tifactregistry.v1.Repository\022/\n\013update_m" - + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" - + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" - + "\340A\002\372A,\n*artifactregistry.googleapis.com/" - + "RepositoryB\375\001\n\'com.google.devtools.artif" - + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1;artifactregistry\252\002" - + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" - + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" - + "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index c1ef77d8..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,278 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" - + "rvice.proto\022#google.devtools.artifactreg" - + "istry.v1\032\034google/api/annotations.proto\032\027" - + "google/api/client.proto\0326google/devtools" - + "/artifactregistry/v1/apt_artifact.proto\032" - + "2google/devtools/artifactregistry/v1/art" - + "ifact.proto\032.google/devtools/artifactreg" - + "istry/v1/file.proto\0321google/devtools/art" - + "ifactregistry/v1/package.proto\0324google/d" - + "evtools/artifactregistry/v1/repository.p" - + "roto\0322google/devtools/artifactregistry/v" - + "1/settings.proto\032-google/devtools/artifa" - + "ctregistry/v1/tag.proto\0321google/devtools" - + "/artifactregistry/v1/version.proto\0326goog" - + "le/devtools/artifactregistry/v1/yum_arti" - + "fact.proto\032\036google/iam/v1/iam_policy.pro" - + "to\032\032google/iam/v1/policy.proto\032#google/l" - + "ongrunning/operations.proto\032\033google/prot" - + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" - + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" - + "<.google.devtools.artifactregistry.v1.Li" - + "stDockerImagesRequest\032=.google.devtools." - + "artifactregistry.v1.ListDockerImagesResp" - + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" - + "ations/*/repositories/*}/dockerImages\332A\006" - + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" - + "ols.artifactregistry.v1.GetDockerImageRe" - + "quest\0320.google.devtools.artifactregistry" - + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" - + "cts/*/locations/*/repositories/*/dockerI" - + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" - + ".google.devtools.artifactregistry.v1.Imp" - + "ortAptArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" - + "ects/*/locations/*/repositories/*}/aptAr" - + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" - + "rtifactregistry.v1.ImportAptArtifactsRes" - + "ponse\022>google.devtools.artifactregistry." - + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" - + "YumArtifacts\022>.google.devtools.artifactr" - + "egistry.v1.ImportYumArtifactsRequest\032\035.g" - + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" - + "1/{parent=projects/*/locations/*/reposit" - + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" - + "gle.devtools.artifactregistry.v1.ImportY" - + "umArtifactsResponse\022>google.devtools.art" - + "ifactregistry.v1.ImportYumArtifactsMetad" - + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" - + "ls.artifactregistry.v1.ListRepositoriesR" - + "equest\032=.google.devtools.artifactregistr" - + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" - + "v1/{parent=projects/*/locations/*}/repos" - + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" - + "gle.devtools.artifactregistry.v1.GetRepo" - + "sitoryRequest\032/.google.devtools.artifact" - + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" - + "e=projects/*/locations/*/repositories/*}" - + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" - + "vtools.artifactregistry.v1.CreateReposit" - + "oryRequest\032\035.google.longrunning.Operatio" - + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" - + "ions/*}/repositories:\nrepository\332A\037paren" - + "t,repository,repository_id\312Ag\n.google.de" - + "vtools.artifactregistry.v1.Repository\0225g" - + "oogle.devtools.artifactregistry.v1.Opera" - + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" - + "le.devtools.artifactregistry.v1.UpdateRe" - + "positoryRequest\032/.google.devtools.artifa" - + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" - + "epository.name=projects/*/locations/*/re" - + "positories/*}:\nrepository\332A\026repository,u" - + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" - + ".devtools.artifactregistry.v1.DeleteRepo" - + "sitoryRequest\032\035.google.longrunning.Opera" - + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" - + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" - + "e.protobuf.Empty\0225google.devtools.artifa" - + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" - + "Packages\0228.google.devtools.artifactregis" - + "try.v1.ListPackagesRequest\0329.google.devt" - + "ools.artifactregistry.v1.ListPackagesRes" - + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" - + "cations/*/repositories/*}/packages\332A\006par" - + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" - + "ifactregistry.v1.GetPackageRequest\032,.goo" - + "gle.devtools.artifactregistry.v1.Package" - + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" - + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" - + "\rDeletePackage\0229.google.devtools.artifac" - + "tregistry.v1.DeletePackageRequest\032\035.goog" - + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" - + "name=projects/*/locations/*/repositories" - + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" - + "f.Empty\0225google.devtools.artifactregistr" - + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" - + "8.google.devtools.artifactregistry.v1.Li" - + "stVersionsRequest\0329.google.devtools.arti" - + "factregistry.v1.ListVersionsResponse\"W\202\323" - + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" - + "/repositories/*/packages/*}/versions\332A\006p" - + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" - + "rtifactregistry.v1.GetVersionRequest\032,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" - + "ns/*/repositories/*/packages/*/versions/" - + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" - + "tools.artifactregistry.v1.DeleteVersionR" - + "equest\032\035.google.longrunning.Operation\"\246\001" - + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\312AN\n\025google.protobuf.Empty\0225google." - + "devtools.artifactregistry.v1.OperationMe" - + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" - + "rtifactregistry.v1.ListFilesRequest\0326.go" - + "ogle.devtools.artifactregistry.v1.ListFi" - + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" - + "s/*/locations/*/repositories/*}/files\332A\006" - + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" - + "ifactregistry.v1.GetFileRequest\032).google" - + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" - + "\002;\0229/v1/{name=projects/*/locations/*/rep" - + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" - + "s\0224.google.devtools.artifactregistry.v1." - + "ListTagsRequest\0325.google.devtools.artifa" - + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" - + "/v1/{parent=projects/*/locations/*/repos" - + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" - + "GetTag\0222.google.devtools.artifactregistr" - + "y.v1.GetTagRequest\032(.google.devtools.art" - + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" - + "projects/*/locations/*/repositories/*/pa" - + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." - + "google.devtools.artifactregistry.v1.Crea" - + "teTagRequest\032(.google.devtools.artifactr" - + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" - + "ects/*/locations/*/repositories/*/packag" - + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" - + "UpdateTag\0225.google.devtools.artifactregi" - + "stry.v1.UpdateTagRequest\032(.google.devtoo" - + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" - + "{tag.name=projects/*/locations/*/reposit" - + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" - + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" - + "s.artifactregistry.v1.DeleteTagRequest\032\026" - + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" - + "e=projects/*/locations/*/repositories/*/" - + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" - + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" - + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" - + "urce=projects/*/locations/*/repositories" - + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" - + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" - + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" - + "rojects/*/locations/*/repositories/*}:ge" - + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" - + "le.iam.v1.TestIamPermissionsRequest\032).go" - + "ogle.iam.v1.TestIamPermissionsResponse\"R" - + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" - + "ns/*/repositories/*}:testIamPermissions:" - + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" - + "ols.artifactregistry.v1.GetProjectSettin" - + "gsRequest\0324.google.devtools.artifactregi" - + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" - + "me=projects/*/projectSettings}\332A\004name\022\201\002" - + "\n\025UpdateProjectSettings\022A.google.devtool" - + "s.artifactregistry.v1.UpdateProjectSetti" - + "ngsRequest\0324.google.devtools.artifactreg" - + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" - + "roject_settings.name=projects/*/projectS" - + "ettings}:\020project_settings\332A\034project_set" - + "tings,update_mask\032\214\001\312A\037artifactregistry." - + "googleapis.com\322Aghttps://www.googleapis." - + "com/auth/cloud-platform,https://www.goog" - + "leapis.com/auth/cloud-platform.read-only" - + "B\372\001\n\'com.google.devtools.artifactregistr" - + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" - + "genproto/googleapis/devtools/artifactreg" - + "istry/v1;artifactregistry\252\002 Google.Cloud" - + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" - + "factRegistry\\V1\352\002#Google::Cloud::Artifac" - + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index 99a5156a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" - + "ttings.proto\022#google.devtools.artifactre" - + "gistry.v1\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" - + "state\030\002 \001(\0162E.google.devtools.artifactre" - + "gistry.v1.ProjectSettings.RedirectionSta" - + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" - + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" - + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" - + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" - + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" - + "leapis.com/ProjectSettings\022\"projects/{pr" - + "oject}/projectSettings\"b\n\031GetProjectSett" - + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" - + "actregistry.googleapis.com/ProjectSettin" - + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" - + "roject_settings\030\002 \001(\01324.google.devtools." - + "artifactregistry.v1.ProjectSettings\022/\n\013u" - + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" - + "MaskB\373\001\n\'com.google.devtools.artifactreg" - + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index 98a7bb62..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,168 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" - + "g.proto\022#google.devtools.artifactregistr" - + "y.v1\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" - + "ags\030\001 \003(\0132(.google.devtools.artifactregi" - + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" - + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" - + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" - + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" - + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" - + "g\030\001 \001(\0132(.google.devtools.artifactregist" - + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." - + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" - + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" - + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" - + "ang.org/genproto/googleapis/devtools/art" - + "ifactregistry/v1;artifactregistry\252\002 Goog" - + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" - + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" - + ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index a4451c3a..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,160 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" - + "rsion.proto\022#google.devtools.artifactreg" - + "istry.v1\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\032-google/dev" - + "tools/artifactregistry/v1/tag.proto\032\034goo" - + "gle/protobuf/struct.proto\032\037google/protob" - + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" - + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" - + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" - + "date_time\030\006 \001(\0132\032.google.protobuf.Timest" - + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" - + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" - + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" - + "\222\001\n\'artifactregistry.googleapis.com/Vers" - + "ion\022gprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/packages/" - + "{package}/versions/{version}\"\243\001\n\023ListVer" - + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" - + "\01620.google.devtools.artifactregistry.v1." - + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" - + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" - + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" - + "oogle.devtools.artifactregistry.v1.Versi" - + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" - + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" - + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" - + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" - + ".org/genproto/googleapis/devtools/artifa" - + "ctregistry/v1;artifactregistry\252\002 Google." - + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" - + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" - + "tifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index faf5e918..00000000 --- a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,166 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" - + "m_artifact.proto\022#google.devtools.artifa" - + "ctregistry.v1\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032\027googl" - + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" - + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" - + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" - + ".artifactregistry.v1.YumArtifact.Package" - + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" - + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" - + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" - + "ctregistry.googleapis.com/YumArtifact\022]p" - + "rojects/{project}/locations/{location}/r" - + "epositories/{repository}/yumArtifacts/{y" - + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" - + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" - + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" - + "urce\030\002 \001(\0132@.google.devtools.artifactreg" - + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" - + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" - + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" - + "oogle.devtools.artifactregistry.v1.Impor" - + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" - + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" - + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " - + "\003(\01320.google.devtools.artifactregistry.v" - + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" - + "evtools.artifactregistry.v1.ImportYumArt" - + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" - + "adataB\376\001\n\'com.google.devtools.artifactre" - + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" - + "lang.org/genproto/googleapis/devtools/ar" - + "tifactregistry/v1;artifactregistry\252\002 Goo" - + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" - + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" - + "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index f7549075..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,175 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/apt_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.AptArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" - + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" - + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" - + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" - + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" - + "ptArtifact\022]projects/{project}/locations" - + "/{location}/repositories/{repository}/ap" - + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" - + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" - + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" - + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" - + "s.artifactregistry.v1beta2.ImportAptArti" - + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" - + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" - + "s_source\030\001 \001(\0132E.google.devtools.artifac" - + "tregistry.v1beta2.ImportAptArtifactsGcsS" - + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" - + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" - + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" - + "ools.artifactregistry.v1beta2.AptArtifac" - + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" - + "factregistry.v1beta2.ImportAptArtifactsE" - + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" - + "\002\n,com.google.devtools.artifactregistry." - + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" - + "ng.org/genproto/googleapis/devtools/arti" - + "factregistry/v1beta2;artifactregistry\252\002%" - + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" - + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" - + "Google::Cloud::ArtifactRegistry::V1beta2" - + "b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { - "AptArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index d133ca1d..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index e954d602..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to delete.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 4e7fb61f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index 8d60b37f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,149 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" - + "a2/file.proto\022(google.devtools.artifactr" - + "egistry.v1beta2\032\034google/api/annotations." - + "proto\032\031google/api/resource.proto\032\037google" - + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" - + "pe\030\001 \001(\01627.google.devtools.artifactregis" - + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" - + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" - + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " - + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" - + "..google.devtools.artifactregistry.v1bet" - + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" - + ":y\352Av\n$artifactregistry.googleapis.com/F" - + "ile\022Nprojects/{project}/locations/{locat" - + "ion}/repositories/{repository}/files/{fi" - + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" - + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" - + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" - + "iles\030\001 \003(\0132..google.devtools.artifactreg" - + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " - + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," - + "com.google.devtools.artifactregistry.v1b" - + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" - + "proto/googleapis/devtools/artifactregist" - + "ry/v1beta2;artifactregistry\252\002%Google.Clo" - + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" - + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" - + "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { - "Type", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { - "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { - "Files", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 63162f9e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 79b06fba..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 7c22b893..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the projectSettings 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 projectSettings 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/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index c70d1027..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 66b07dde..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,50 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 928564d6..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index e9d9fe0f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 5373800b..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder {} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0a96b6ee..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/package.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\037google/protobuf/time" - + "stamp.proto\032\034google/api/annotations.prot" - + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" - + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." - + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" - + "\032.google.protobuf.Timestamp\"L\n\023ListPacka" - + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" - + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" - + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" - + "tools.artifactregistry.v1beta2.Package\022\027" - + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" - + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" - + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" - + ".artifactregistry.v1beta2B\014PackageProtoP" - + "\001ZXgoogle.golang.org/genproto/googleapis" - + "/devtools/artifactregistry/v1beta2;artif" - + "actregistry\252\002%Google.Cloud.ArtifactRegis" - + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" - + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" - + "istry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { - "Name", "DisplayName", "CreateTime", "UpdateTime", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { - "Packages", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 0f89810e..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,243 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" - + "a2/repository.proto\022(google.devtools.art" - + "ifactregistry.v1beta2\032\034google/api/annota" - + "tions.proto\032\037google/api/field_behavior.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\032\037google/protob" - + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" - + "en_config\030\t \001(\0132J.google.devtools.artifa" - + "ctregistry.v1beta2.Repository.MavenRepos" - + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " - + "\001(\0162;.google.devtools.artifactregistry.v" - + "1beta2.Repository.Format\022\023\n\013description\030" - + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." - + "artifactregistry.v1beta2.Repository.Labe" - + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" - + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." - + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" - + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" - + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" - + "policy\030\002 \001(\0162X.google.devtools.artifactr" - + "egistry.v1beta2.Repository.MavenReposito" - + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" - + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" - + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" - + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" - + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" - + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" - + "\010:r\352Ao\n*artifactregistry.googleapis.com/" - + "Repository\022Aprojects/{project}/locations" - + "/{location}/repositories/{repository}B\017\n" - + "\rformat_config\"\204\001\n\027ListRepositoriesReque" - + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" - + "stry.googleapis.com/Repository\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" - + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" - + "4.google.devtools.artifactregistry.v1bet" - + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" - + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" - + "\002\372A,\n*artifactregistry.googleapis.com/Re" - + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" - + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" - + "oogleapis.com/Repository\022\025\n\rrepository_i" - + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" - + "tools.artifactregistry.v1beta2.Repositor" - + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" - + "ory\030\001 \001(\01324.google.devtools.artifactregi" - + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" - + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" - + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" - + ",\n*artifactregistry.googleapis.com/Repos" - + "itoryB\226\002\n,com.google.devtools.artifactre" - + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" - + "e.golang.org/genproto/googleapis/devtool" - + "s/artifactregistry/v1beta2;artifactregis" - + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" - + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" - + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" - + "1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { - "MavenConfig", - "Name", - "Format", - "Description", - "Labels", - "CreateTime", - "UpdateTime", - "KmsKeyName", - "FormatConfig", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { - "AllowSnapshotOverwrites", "VersionPolicy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor - .getNestedTypes() - .get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { - "Repositories", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { - "Parent", "RepositoryId", "Repository", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { - "Repository", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index d1061ad9..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,275 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/service.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032;googl" - + "e/devtools/artifactregistry/v1beta2/apt_" - + "artifact.proto\0323google/devtools/artifact" - + "registry/v1beta2/file.proto\0326google/devt" - + "ools/artifactregistry/v1beta2/package.pr" - + "oto\0329google/devtools/artifactregistry/v1" - + "beta2/repository.proto\0327google/devtools/" - + "artifactregistry/v1beta2/settings.proto\032" - + "2google/devtools/artifactregistry/v1beta" - + "2/tag.proto\0326google/devtools/artifactreg" - + "istry/v1beta2/version.proto\032;google/devt" - + "ools/artifactregistry/v1beta2/yum_artifa" - + "ct.proto\032\036google/iam/v1/iam_policy.proto" - + "\032\032google/iam/v1/policy.proto\032#google/lon" - + "grunning/operations.proto\032\033google/protob" - + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" - + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" - + "C.google.devtools.artifactregistry.v1bet" - + "a2.ImportAptArtifactsRequest\032\035.google.lo" - + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" - + "parent=projects/*/locations/*/repositori" - + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" - + ".devtools.artifactregistry.v1beta2.Impor" - + "tAptArtifactsResponse\022Cgoogle.devtools.a" - + "rtifactregistry.v1beta2.ImportAptArtifac" - + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" - + "le.devtools.artifactregistry.v1beta2.Imp" - + "ortYumArtifactsRequest\032\035.google.longrunn" - + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" - + "=projects/*/locations/*/repositories/*}/" - + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" - + "ols.artifactregistry.v1beta2.ImportYumAr" - + "tifactsResponse\022Cgoogle.devtools.artifac" - + "tregistry.v1beta2.ImportYumArtifactsMeta" - + "data\022\341\001\n\020ListRepositories\022A.google.devto" - + "ols.artifactregistry.v1beta2.ListReposit" - + "oriesRequest\032B.google.devtools.artifactr" - + "egistry.v1beta2.ListRepositoriesResponse" - + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" - + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" - + "Repository\022>.google.devtools.artifactreg" - + "istry.v1beta2.GetRepositoryRequest\0324.goo" - + "gle.devtools.artifactregistry.v1beta2.Re" - + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" - + "s/*/locations/*/repositories/*}\332A\004name\022\326" - + "\002\n\020CreateRepository\022A.google.devtools.ar" - + "tifactregistry.v1beta2.CreateRepositoryR" - + "equest\032\035.google.longrunning.Operation\"\337\001" - + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" - + "tions/*}/repositories:\nrepository\332A\037pare" - + "nt,repository,repository_id\312Aq\n3google.d" - + "evtools.artifactregistry.v1beta2.Reposit" - + "ory\022:google.devtools.artifactregistry.v1" - + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" - + "tory\022A.google.devtools.artifactregistry." - + "v1beta2.UpdateRepositoryRequest\0324.google" - + ".devtools.artifactregistry.v1beta2.Repos" - + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" - + "=projects/*/locations/*/repositories/*}:" - + "\nrepository\332A\026repository,update_mask\022\221\002\n" - + "\020DeleteRepository\022A.google.devtools.arti" - + "factregistry.v1beta2.DeleteRepositoryReq" - + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" - + "\344\223\0027*5/v1beta2/{name=projects/*/location" - + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" - + "otobuf.Empty\022:google.devtools.artifactre" - + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" - + "tPackages\022=.google.devtools.artifactregi" - + "stry.v1beta2.ListPackagesRequest\032>.googl" - + "e.devtools.artifactregistry.v1beta2.List" - + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" - + "nt=projects/*/locations/*/repositories/*" - + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" - + "gle.devtools.artifactregistry.v1beta2.Ge" - + "tPackageRequest\0321.google.devtools.artifa" - + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" - + "eta2/{name=projects/*/locations/*/reposi" - + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" - + "ckage\022>.google.devtools.artifactregistry" - + ".v1beta2.DeletePackageRequest\032\035.google.l" - + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" - + "{name=projects/*/locations/*/repositorie" - + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" - + "uf.Empty\022:google.devtools.artifactregist" - + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" - + "sions\022=.google.devtools.artifactregistry" - + ".v1beta2.ListVersionsRequest\032>.google.de" - + "vtools.artifactregistry.v1beta2.ListVers" - + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" - + "rojects/*/locations/*/repositories/*/pac" - + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" - + "n\022;.google.devtools.artifactregistry.v1b" - + "eta2.GetVersionRequest\0321.google.devtools" - + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" - + "M\022K/v1beta2/{name=projects/*/locations/*" - + "/repositories/*/packages/*/versions/*}\332A" - + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" - + "s.artifactregistry.v1beta2.DeleteVersion" - + "Request\032\035.google.longrunning.Operation\"\260" - + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" - + "ions/*/repositories/*/packages/*/version" - + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" - + "oogle.devtools.artifactregistry.v1beta2." - + "OperationMetadata\022\324\001\n\tListFiles\022:.google" - + ".devtools.artifactregistry.v1beta2.ListF" - + "ilesRequest\032;.google.devtools.artifactre" - + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" - + "\022=/v1beta2/{parent=projects/*/locations/" - + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" - + "File\0228.google.devtools.artifactregistry." - + "v1beta2.GetFileRequest\032..google.devtools" - + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" - + "/v1beta2/{name=projects/*/locations/*/re" - + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" - + "gs\0229.google.devtools.artifactregistry.v1" - + "beta2.ListTagsRequest\032:.google.devtools." - + "artifactregistry.v1beta2.ListTagsRespons" - + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" - + "ocations/*/repositories/*/packages/*}/ta" - + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" - + ".artifactregistry.v1beta2.GetTagRequest\032" - + "-.google.devtools.artifactregistry.v1bet" - + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" - + "vtools.artifactregistry.v1beta2.CreateTa" - + "gRequest\032-.google.devtools.artifactregis" - + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" - + "t=projects/*/locations/*/repositories/*/" - + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" - + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" - + "ctregistry.v1beta2.UpdateTagRequest\032-.go" - + "ogle.devtools.artifactregistry.v1beta2.T" - + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" - + "*/locations/*/repositories/*/packages/*/" - + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" - + "eTag\022:.google.devtools.artifactregistry." - + "v1beta2.DeleteTagRequest\032\026.google.protob" - + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" - + "s/*/locations/*/repositories/*/packages/" - + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" - + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" - + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" - + "=projects/*/locations/*/repositories/*}:" - + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" - + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" - + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" - + "projects/*/locations/*/repositories/*}:g" - + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" - + "gle.iam.v1.TestIamPermissionsRequest\032).g" - + "oogle.iam.v1.TestIamPermissionsResponse\"" - + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" - + "ocations/*/repositories/*}:testIamPermis" - + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" - + ".devtools.artifactregistry.v1beta2.GetPr" - + "ojectSettingsRequest\0329.google.devtools.a" - + "rtifactregistry.v1beta2.ProjectSettings\"" - + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" - + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" - + "ings\022F.google.devtools.artifactregistry." - + "v1beta2.UpdateProjectSettingsRequest\0329.g" - + "oogle.devtools.artifactregistry.v1beta2." - + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" - + "ct_settings.name=projects/*/projectSetti" - + "ngs}:\020project_settings\332A\034project_setting" - + "s,update_mask\032\214\001\312A\037artifactregistry.goog" - + "leapis.com\322Aghttps://www.googleapis.com/" - + "auth/cloud-platform,https://www.googleap" - + "is.com/auth/cloud-platform.read-onlyB\223\002\n" - + ",com.google.devtools.artifactregistry.v1" - + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" - + "/genproto/googleapis/devtools/artifactre" - + "gistry/v1beta2;artifactregistry\252\002%Google" - + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" - + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" - + "::Cloud::ArtifactRegistry::V1beta2b\006prot" - + "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index 45e2471c..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" - + "a2/settings.proto\022(google.devtools.artif" - + "actregistry.v1beta2\032\034google/api/annotati" - + "ons.proto\032\037google/api/field_behavior.pro" - + "to\032\031google/api/resource.proto\032 google/pr" - + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" - + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" - + "state\030\002 \001(\0162J.google.devtools.artifactre" - + "gistry.v1beta2.ProjectSettings.Redirecti" - + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" - + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" - + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" - + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" - + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" - + ".googleapis.com/ProjectSettings\022\"project" - + "s/{project}/projectSettings\"b\n\031GetProjec" - + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" - + "artifactregistry.googleapis.com/ProjectS" - + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" - + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" - + "ools.artifactregistry.v1beta2.ProjectSet" - + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" - + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" - + "rtifactregistry.v1beta2B\rSettingsProtoP\001" - + "ZXgoogle.golang.org/genproto/googleapis/" - + "devtools/artifactregistry/v1beta2;artifa" - + "ctregistry\252\002%Google.Cloud.ArtifactRegist" - + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" - + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" - + "stry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { - "Name", "LegacyRedirectionState", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { - "ProjectSettings", "UpdateMask", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 117abb8f..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,172 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" - + "a2/tag.proto\022(google.devtools.artifactre" - + "gistry.v1beta2\032\034google/api/annotations.p" - + "roto\032\031google/api/resource.proto\032 google/" - + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" - + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" - + "tregistry.googleapis.com/Tag\022_projects/{" - + "project}/locations/{location}/repositori" - + "es/{repository}/packages/{package}/tags/" - + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" - + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" - + "ags\030\001 \003(\0132-.google.devtools.artifactregi" - + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" - + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" - + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" - + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" - + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" - + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" - + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\010Ta" - + "gProtoP\001ZXgoogle.golang.org/genproto/goo" - + "gleapis/devtools/artifactregistry/v1beta" - + "2;artifactregistry\252\002%Google.Cloud.Artifa" - + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" - + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" - + "factRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { - "Name", "Version", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { - "Parent", "Filter", "PageSize", "PageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { - "Tags", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { - "Parent", "TagId", "Tag", - }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { - "Tag", "UpdateMask", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { - "Name", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index 5f9a1a41..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,164 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" - + "a2/version.proto\022(google.devtools.artifa" - + "ctregistry.v1beta2\032\034google/api/annotatio" - + "ns.proto\032\037google/api/field_behavior.prot" - + "o\032\031google/api/resource.proto\0322google/dev" - + "tools/artifactregistry/v1beta2/tag.proto" - + "\032\034google/protobuf/struct.proto\032\037google/p" - + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" - + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" - + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" - + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" - + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." - + "devtools.artifactregistry.v1beta2.Tag\022.\n" - + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" - + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" - + "s.com/Version\022gprojects/{project}/locati" - + "ons/{location}/repositories/{repository}" - + "/packages/{package}/versions/{version}\"\250" - + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" - + "\004view\030\004 \001(\01625.google.devtools.artifactre" - + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" - + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" - + "sions\030\001 \003(\01321.google.devtools.artifactre" - + "gistry.v1beta2.Version\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" - + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" - + "actregistry.v1beta2.VersionView\"3\n\024Delet" - + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" - + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" - + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" - + "oogle.devtools.artifactregistry.v1beta2B" - + "\014VersionProtoP\001ZXgoogle.golang.org/genpr" - + "oto/googleapis/devtools/artifactregistry" - + "/v1beta2;artifactregistry\252\002%Google.Cloud" - + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" - + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" - + "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { - "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { - "Parent", "PageSize", "PageToken", "View", "OrderBy", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { - "Versions", "NextPageToken", - }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { - "Name", "View", - }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { - "Name", "Force", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5efcc8f3..00000000 --- a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,173 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" - + "a2/yum_artifact.proto\022(google.devtools.a" - + "rtifactregistry.v1beta2\032\034google/api/anno" - + "tations.proto\032\037google/api/field_behavior" - + ".proto\032\031google/api/resource.proto\032#googl" - + "e/longrunning/operations.proto\032\027google/r" - + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" - + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" - + "\014package_type\030\003 \001(\0162A.google.devtools.ar" - + "tifactregistry.v1beta2.YumArtifact.Packa" - + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" - + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" - + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" - + "factregistry.googleapis.com/YumArtifact\022" - + "]projects/{project}/locations/{location}" - + "/repositories/{repository}/yumArtifacts/" - + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" - + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" - + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" - + "source\030\002 \001(\0132E.google.devtools.artifactr" - + "egistry.v1beta2.ImportYumArtifactsGcsSou" - + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" - + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " - + "\001(\0132E.google.devtools.artifactregistry.v" - + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" - + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" - + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" - + "artifacts\030\001 \003(\01325.google.devtools.artifa" - + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" - + "\030\002 \003(\0132E.google.devtools.artifactregistr" - + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" - + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" - + "le.devtools.artifactregistry.v1beta2B\020Yu" - + "mArtifactProtoP\001ZXgoogle.golang.org/genp" - + "roto/googleapis/devtools/artifactregistr" - + "y/v1beta2;artifactregistry\252\002%Google.Clou" - + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" - + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" - + "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { - "Name", "PackageName", "PackageType", "Architecture", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { - "Uris", "UseWildcards", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { - "GcsSource", "Parent", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { - "GcsSource", "Error", "Source", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { - "YumArtifacts", "Errors", - }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] {}); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} From 9c373c7590fe1f8563fa0741ef0872b84cad5ef7 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:39:28 +0000 Subject: [PATCH 9/9] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/ArtifactRegistryClient.java | 56 +- .../v1/ArtifactRegistrySettings.java | 7 +- .../artifactregistry/v1/gapic_metadata.json | 0 .../artifactregistry/v1/package-info.java | 10 +- .../v1/stub/ArtifactRegistryStub.java | 0 .../v1/stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../v1/stub/GrpcArtifactRegistryStub.java | 1 - ...tpJsonArtifactRegistryCallableFactory.java | 0 .../v1/stub/HttpJsonArtifactRegistryStub.java | 1 - .../v1beta2/ArtifactRegistryClient.java | 46 +- .../v1beta2/ArtifactRegistrySettings.java | 7 +- .../v1beta2/gapic_metadata.json | 0 .../v1beta2/package-info.java | 10 +- .../v1beta2/stub/ArtifactRegistryStub.java | 0 .../stub/ArtifactRegistryStubSettings.java | 6 +- .../GrpcArtifactRegistryCallableFactory.java | 0 .../stub/GrpcArtifactRegistryStub.java | 1 - ...tpJsonArtifactRegistryCallableFactory.java | 0 .../stub/HttpJsonArtifactRegistryStub.java | 1 - .../ArtifactRegistryClientHttpJsonTest.java | 0 .../v1/ArtifactRegistryClientTest.java | 0 .../v1/MockArtifactRegistry.java | 0 .../v1/MockArtifactRegistryImpl.java | 0 .../ArtifactRegistryClientHttpJsonTest.java | 0 .../v1beta2/ArtifactRegistryClientTest.java | 0 .../v1beta2/MockArtifactRegistry.java | 0 .../v1beta2/MockArtifactRegistryImpl.java | 0 .../v1/ArtifactRegistryGrpc.java | 3494 +++++++++++++++++ .../v1beta2/ArtifactRegistryGrpc.java | 3275 +++++++++++++++ .../v1/ArtifactRegistryGrpc.java | 2628 ------------- .../artifactregistry/v1/AptArtifactProto.java | 150 - .../artifactregistry/v1/ArtifactProto.java | 119 - .../v1/DeleteRepositoryRequestOrBuilder.java | 29 - .../v1/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1/FileProto.java | 127 - .../v1/GetDockerImageRequestOrBuilder.java | 29 - .../v1/GetFileRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../v1/GetRepositoryRequestOrBuilder.java | 29 - .../v1/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1/OperationMetadataOrBuilder.java | 9 - .../artifactregistry/v1/PackageProto.java | 122 - .../artifactregistry/v1/RepositoryProto.java | 203 - .../artifactregistry/v1/ServiceProto.java | 265 -- .../artifactregistry/v1/SettingsProto.java | 108 - .../artifactregistry/v1/TagProto.java | 147 - .../artifactregistry/v1/VersionProto.java | 141 - .../artifactregistry/v1/YumArtifactProto.java | 148 - .../v1beta2/ArtifactRegistryGrpc.java | 2456 ------------ .../v1beta2/AptArtifactProto.java | 157 - .../DeletePackageRequestOrBuilder.java | 29 - .../DeleteRepositoryRequestOrBuilder.java | 29 - .../v1beta2/DeleteTagRequestOrBuilder.java | 29 - .../artifactregistry/v1beta2/FileProto.java | 130 - .../v1beta2/GetFileRequestOrBuilder.java | 29 - .../v1beta2/GetPackageRequestOrBuilder.java | 29 - .../GetProjectSettingsRequestOrBuilder.java | 29 - .../GetRepositoryRequestOrBuilder.java | 29 - .../v1beta2/GetTagRequestOrBuilder.java | 29 - .../ImportAptArtifactsMetadataOrBuilder.java | 9 - .../ImportYumArtifactsMetadataOrBuilder.java | 9 - .../v1beta2/OperationMetadataOrBuilder.java | 9 - .../v1beta2/PackageProto.java | 115 - .../v1beta2/RepositoryProto.java | 208 - .../v1beta2/ServiceProto.java | 262 -- .../v1beta2/SettingsProto.java | 112 - .../artifactregistry/v1beta2/TagProto.java | 151 - .../v1beta2/VersionProto.java | 145 - .../v1beta2/YumArtifactProto.java | 155 - .../artifactregistry/v1/AptArtifact.java | 755 ++-- .../v1/AptArtifactOrBuilder.java | 71 +- .../artifactregistry/v1/AptArtifactProto.java | 168 + .../artifactregistry/v1/ArtifactProto.java | 137 + .../v1/CreateRepositoryRequest.java | 541 ++- .../v1/CreateRepositoryRequestOrBuilder.java | 52 +- .../artifactregistry/v1/CreateTagRequest.java | 490 ++- .../v1/CreateTagRequestOrBuilder.java | 44 +- .../v1/DeletePackageRequest.java | 321 +- .../v1/DeletePackageRequestOrBuilder.java | 27 +- .../v1/DeleteRepositoryRequest.java | 363 +- .../v1/DeleteRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/DeleteTagRequest.java | 314 +- .../v1/DeleteTagRequestOrBuilder.java | 50 + .../v1/DeleteVersionRequest.java | 358 +- .../v1/DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1/DockerImage.java | 799 ++-- .../artifactregistry/v1/DockerImageName.java | 0 .../v1/DockerImageOrBuilder.java | 82 +- .../devtools/artifactregistry/v1/File.java | 754 ++-- .../artifactregistry/v1/FileOrBuilder.java | 73 +- .../artifactregistry/v1/FileProto.java | 146 + .../v1/GetDockerImageRequest.java | 350 +- .../v1/GetDockerImageRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetFileRequest.java | 314 +- .../v1/GetFileRequestOrBuilder.java | 50 + .../v1/GetPackageRequest.java | 314 +- .../v1/GetPackageRequestOrBuilder.java | 27 +- .../v1/GetProjectSettingsRequest.java | 371 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1/GetRepositoryRequest.java | 349 +- .../v1/GetRepositoryRequestOrBuilder.java | 54 + .../artifactregistry/v1/GetTagRequest.java | 314 +- .../v1/GetTagRequestOrBuilder.java | 50 + .../v1/GetVersionRequest.java | 386 +- .../v1/GetVersionRequestOrBuilder.java | 33 +- .../devtools/artifactregistry/v1/Hash.java | 394 +- .../artifactregistry/v1/HashOrBuilder.java | 27 +- .../v1/ImportAptArtifactsErrorInfo.java | 541 ++- .../ImportAptArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportAptArtifactsGcsSource.java | 416 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportAptArtifactsMetadata.java | 271 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportAptArtifactsRequest.java | 526 ++- .../ImportAptArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportAptArtifactsResponse.java | 669 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 66 +- .../v1/ImportYumArtifactsErrorInfo.java | 541 ++- .../ImportYumArtifactsErrorInfoOrBuilder.java | 40 +- .../v1/ImportYumArtifactsGcsSource.java | 416 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1/ImportYumArtifactsMetadata.java | 271 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1/ImportYumArtifactsRequest.java | 526 ++- .../ImportYumArtifactsRequestOrBuilder.java | 41 +- .../v1/ImportYumArtifactsResponse.java | 669 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 66 +- .../v1/ListDockerImagesRequest.java | 448 ++- .../v1/ListDockerImagesRequestOrBuilder.java | 39 +- .../v1/ListDockerImagesResponse.java | 473 ++- .../v1/ListDockerImagesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListFilesRequest.java | 587 +-- .../v1/ListFilesRequestOrBuilder.java | 57 +- .../v1/ListFilesResponse.java | 463 ++- .../v1/ListFilesResponseOrBuilder.java | 45 +- .../v1/ListPackagesRequest.java | 427 +- .../v1/ListPackagesRequestOrBuilder.java | 39 +- .../v1/ListPackagesResponse.java | 468 ++- .../v1/ListPackagesResponseOrBuilder.java | 45 +- .../v1/ListRepositoriesRequest.java | 476 ++- .../v1/ListRepositoriesRequestOrBuilder.java | 47 +- .../v1/ListRepositoriesResponse.java | 473 ++- .../v1/ListRepositoriesResponseOrBuilder.java | 45 +- .../artifactregistry/v1/ListTagsRequest.java | 508 ++- .../v1/ListTagsRequestOrBuilder.java | 48 +- .../artifactregistry/v1/ListTagsResponse.java | 463 ++- .../v1/ListTagsResponseOrBuilder.java | 45 +- .../v1/ListVersionsRequest.java | 578 +-- .../v1/ListVersionsRequestOrBuilder.java | 54 +- .../v1/ListVersionsResponse.java | 468 ++- .../v1/ListVersionsResponseOrBuilder.java | 45 +- .../artifactregistry/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 238 +- .../v1/OperationMetadataOrBuilder.java | 24 + .../devtools/artifactregistry/v1/Package.java | 571 +-- .../artifactregistry/v1/PackageOrBuilder.java | 52 +- .../artifactregistry/v1/PackageProto.java | 141 + .../artifactregistry/v1/ProjectSettings.java | 498 ++- .../v1/ProjectSettingsName.java | 0 .../v1/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1/Repository.java | 1889 +++++---- .../artifactregistry/v1/RepositoryName.java | 0 .../v1/RepositoryOrBuilder.java | 118 +- .../artifactregistry/v1/RepositoryProto.java | 238 ++ .../artifactregistry/v1/ServiceProto.java | 278 ++ .../artifactregistry/v1/SettingsProto.java | 125 + .../devtools/artifactregistry/v1/Tag.java | 380 +- .../artifactregistry/v1/TagOrBuilder.java | 36 +- .../artifactregistry/v1/TagProto.java | 168 + .../v1/UpdateProjectSettingsRequest.java | 481 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 34 +- .../v1/UpdateRepositoryRequest.java | 454 ++- .../v1/UpdateRepositoryRequestOrBuilder.java | 34 +- .../artifactregistry/v1/UpdateTagRequest.java | 431 +- .../v1/UpdateTagRequestOrBuilder.java | 34 +- .../devtools/artifactregistry/v1/Version.java | 837 ++-- .../artifactregistry/v1/VersionOrBuilder.java | 78 +- .../artifactregistry/v1/VersionProto.java | 160 + .../artifactregistry/v1/VersionView.java | 86 +- .../artifactregistry/v1/YumArtifact.java | 640 +-- .../v1/YumArtifactOrBuilder.java | 59 +- .../artifactregistry/v1/YumArtifactProto.java | 166 + .../artifactregistry/v1/apt_artifact.proto | 0 .../artifactregistry/v1/artifact.proto | 0 .../devtools/artifactregistry/v1/file.proto | 0 .../artifactregistry/v1/package.proto | 0 .../artifactregistry/v1/repository.proto | 0 .../artifactregistry/v1/service.proto | 0 .../artifactregistry/v1/settings.proto | 0 .../devtools/artifactregistry/v1/tag.proto | 0 .../artifactregistry/v1/version.proto | 0 .../artifactregistry/v1/yum_artifact.proto | 0 .../artifactregistry/v1beta2/AptArtifact.java | 761 ++-- .../v1beta2/AptArtifactOrBuilder.java | 71 +- .../v1beta2/AptArtifactProto.java | 175 + .../v1beta2/CreateRepositoryRequest.java | 556 ++- .../CreateRepositoryRequestOrBuilder.java | 52 +- .../v1beta2/CreateTagRequest.java | 499 ++- .../v1beta2/CreateTagRequestOrBuilder.java | 44 +- .../v1beta2/DeletePackageRequest.java | 343 +- .../DeletePackageRequestOrBuilder.java | 50 + .../v1beta2/DeleteRepositoryRequest.java | 375 +- .../DeleteRepositoryRequestOrBuilder.java | 54 + .../v1beta2/DeleteTagRequest.java | 322 +- .../v1beta2/DeleteTagRequestOrBuilder.java | 50 + .../v1beta2/DeleteVersionRequest.java | 380 +- .../DeleteVersionRequestOrBuilder.java | 30 +- .../artifactregistry/v1beta2/File.java | 764 ++-- .../v1beta2/FileOrBuilder.java | 73 +- .../artifactregistry/v1beta2/FileProto.java | 149 + .../v1beta2/GetFileRequest.java | 314 +- .../v1beta2/GetFileRequestOrBuilder.java | 50 + .../v1beta2/GetPackageRequest.java | 332 +- .../v1beta2/GetPackageRequestOrBuilder.java | 50 + .../v1beta2/GetProjectSettingsRequest.java | 378 +- .../GetProjectSettingsRequestOrBuilder.java | 54 + .../v1beta2/GetRepositoryRequest.java | 371 +- .../GetRepositoryRequestOrBuilder.java | 54 + .../v1beta2/GetTagRequest.java | 314 +- .../v1beta2/GetTagRequestOrBuilder.java | 50 + .../v1beta2/GetVersionRequest.java | 404 +- .../v1beta2/GetVersionRequestOrBuilder.java | 33 +- .../artifactregistry/v1beta2/Hash.java | 408 +- .../v1beta2/HashOrBuilder.java | 27 +- .../v1beta2/ImportAptArtifactsErrorInfo.java | 601 +-- .../ImportAptArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportAptArtifactsGcsSource.java | 429 +- .../ImportAptArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportAptArtifactsMetadata.java | 281 +- .../ImportAptArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportAptArtifactsRequest.java | 580 +-- .../ImportAptArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportAptArtifactsResponse.java | 784 ++-- .../ImportAptArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ImportYumArtifactsErrorInfo.java | 601 +-- .../ImportYumArtifactsErrorInfoOrBuilder.java | 49 +- .../v1beta2/ImportYumArtifactsGcsSource.java | 429 +- .../ImportYumArtifactsGcsSourceOrBuilder.java | 39 +- .../v1beta2/ImportYumArtifactsMetadata.java | 281 +- .../ImportYumArtifactsMetadataOrBuilder.java | 24 + .../v1beta2/ImportYumArtifactsRequest.java | 580 +-- .../ImportYumArtifactsRequestOrBuilder.java | 50 +- .../v1beta2/ImportYumArtifactsResponse.java | 784 ++-- .../ImportYumArtifactsResponseOrBuilder.java | 73 +- .../v1beta2/ListFilesRequest.java | 516 ++- .../v1beta2/ListFilesRequestOrBuilder.java | 48 +- .../v1beta2/ListFilesResponse.java | 481 ++- .../v1beta2/ListFilesResponseOrBuilder.java | 45 +- .../v1beta2/ListPackagesRequest.java | 448 ++- .../v1beta2/ListPackagesRequestOrBuilder.java | 39 +- .../v1beta2/ListPackagesResponse.java | 478 ++- .../ListPackagesResponseOrBuilder.java | 45 +- .../v1beta2/ListRepositoriesRequest.java | 488 ++- .../ListRepositoriesRequestOrBuilder.java | 47 +- .../v1beta2/ListRepositoriesResponse.java | 506 ++- .../ListRepositoriesResponseOrBuilder.java | 42 +- .../v1beta2/ListTagsRequest.java | 515 ++- .../v1beta2/ListTagsRequestOrBuilder.java | 48 +- .../v1beta2/ListTagsResponse.java | 469 ++- .../v1beta2/ListTagsResponseOrBuilder.java | 45 +- .../v1beta2/ListVersionsRequest.java | 599 +-- .../v1beta2/ListVersionsRequestOrBuilder.java | 54 +- .../v1beta2/ListVersionsResponse.java | 478 ++- .../ListVersionsResponseOrBuilder.java | 45 +- .../v1beta2/LocationName.java | 0 .../v1beta2/OperationMetadata.java | 256 +- .../v1beta2/OperationMetadataOrBuilder.java | 24 + .../artifactregistry/v1beta2/Package.java | 578 +-- .../v1beta2/PackageOrBuilder.java | 52 +- .../v1beta2/PackageProto.java | 134 + .../v1beta2/ProjectSettings.java | 506 ++- .../v1beta2/ProjectSettingsName.java | 0 .../v1beta2/ProjectSettingsOrBuilder.java | 44 +- .../artifactregistry/v1beta2/Repository.java | 1922 +++++---- .../v1beta2/RepositoryName.java | 0 .../v1beta2/RepositoryOrBuilder.java | 124 +- .../v1beta2/RepositoryProto.java | 243 ++ .../v1beta2/ServiceProto.java | 275 ++ .../v1beta2/SettingsProto.java | 129 + .../artifactregistry/v1beta2/Tag.java | 387 +- .../v1beta2/TagOrBuilder.java | 36 +- .../artifactregistry/v1beta2/TagProto.java | 172 + .../v1beta2/UpdateProjectSettingsRequest.java | 503 ++- ...UpdateProjectSettingsRequestOrBuilder.java | 37 +- .../v1beta2/UpdateRepositoryRequest.java | 469 ++- .../UpdateRepositoryRequestOrBuilder.java | 34 +- .../v1beta2/UpdateTagRequest.java | 440 ++- .../v1beta2/UpdateTagRequestOrBuilder.java | 34 +- .../artifactregistry/v1beta2/Version.java | 827 ++-- .../v1beta2/VersionOrBuilder.java | 78 +- .../v1beta2/VersionProto.java | 164 + .../artifactregistry/v1beta2/VersionView.java | 86 +- .../artifactregistry/v1beta2/YumArtifact.java | 646 +-- .../v1beta2/YumArtifactOrBuilder.java | 59 +- .../v1beta2/YumArtifactProto.java | 173 + .../v1beta2/apt_artifact.proto | 0 .../artifactregistry/v1beta2/file.proto | 0 .../artifactregistry/v1beta2/package.proto | 0 .../artifactregistry/v1beta2/repository.proto | 0 .../artifactregistry/v1beta2/service.proto | 0 .../artifactregistry/v1beta2/settings.proto | 0 .../artifactregistry/v1beta2/tag.proto | 0 .../artifactregistry/v1beta2/version.proto | 0 .../v1beta2/yum_artifact.proto | 0 307 files changed, 43515 insertions(+), 27935 deletions(-) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java (83%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java (98%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java (82%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java (99%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java (100%) rename {owl-bot-staging/v1beta2/google-cloud-artifact-registry => google-cloud-artifact-registry}/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java (100%) create mode 100644 grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java create mode 100644 grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java delete mode 100644 owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java (84%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/File.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java (78%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java (64%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java (66%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Package.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java (80%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/Version.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java (83%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/file.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/package.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/repository.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/service.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/settings.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/tag.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/version.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1 => proto-google-cloud-artifact-registry-v1}/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java (79%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java (68%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java (67%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java (61%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java (69%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java (63%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java (62%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java (62%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java (60%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java (64%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java (59%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java (61%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java (54%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java (71%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java (73%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java (68%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java (65%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java (72%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java (75%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java (55%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java (66%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java (77%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java (70%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java (65%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java (75%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java (70%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java (74%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java (76%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java (84%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java (67%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java (69%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java (63%) create mode 100644 proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto (100%) rename {owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2 => proto-google-cloud-artifact-registry-v1beta2}/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java index e85dda09..ca04c843 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -82,13 +82,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2776,7 +2776,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListDockerImagesPagedResponse extends AbstractPagedListResponse< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2826,7 +2829,10 @@ public ApiFuture createPageAsync( public static class ListDockerImagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListDockerImagesRequest, ListDockerImagesResponse, DockerImage, ListDockerImagesPage, + ListDockerImagesRequest, + ListDockerImagesResponse, + DockerImage, + ListDockerImagesPage, ListDockerImagesFixedSizeCollection> { private ListDockerImagesFixedSizeCollection( @@ -2847,7 +2853,10 @@ protected ListDockerImagesFixedSizeCollection createCollection( public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2897,7 +2906,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2918,7 +2930,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2967,7 +2982,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2987,7 +3005,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -3036,7 +3057,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java index 0009bc68..fd0751f2 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistrySettings.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.devtools.artifactregistry.v1.stub.ArtifactRegistryStubSettings; @@ -56,10 +55,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java similarity index 83% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java index 16275bcf..a58cd64c 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/package-info.java @@ -29,11 +29,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java index cbd26e53..0ba3a47c 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/ArtifactRegistryStubSettings.java @@ -117,10 +117,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java index e0d1bb10..45335bd2 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/GrpcArtifactRegistryStub.java @@ -84,7 +84,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/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java index 836dd0c1..a6ff2063 100644 --- a/owl-bot-staging/v1/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1/stub/HttpJsonArtifactRegistryStub.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.UnaryCallable; diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java index cddd0d73..acadd9db 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClient.java @@ -54,11 +54,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

This class provides the ability to make remote calls to the backing service through method @@ -81,13 +81,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2547,7 +2547,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListRepositoriesPagedResponse extends AbstractPagedListResponse< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2597,7 +2600,10 @@ public ApiFuture createPageAsync( public static class ListRepositoriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListRepositoriesRequest, ListRepositoriesResponse, Repository, ListRepositoriesPage, + ListRepositoriesRequest, + ListRepositoriesResponse, + Repository, + ListRepositoriesPage, ListRepositoriesFixedSizeCollection> { private ListRepositoriesFixedSizeCollection( @@ -2618,7 +2624,10 @@ protected ListRepositoriesFixedSizeCollection createCollection( public static class ListPackagesPagedResponse extends AbstractPagedListResponse< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { public static ApiFuture createAsync( @@ -2667,7 +2676,10 @@ public ApiFuture createPageAsync( public static class ListPackagesFixedSizeCollection extends AbstractFixedSizeCollection< - ListPackagesRequest, ListPackagesResponse, Package, ListPackagesPage, + ListPackagesRequest, + ListPackagesResponse, + Package, + ListPackagesPage, ListPackagesFixedSizeCollection> { private ListPackagesFixedSizeCollection(List pages, int collectionSize) { @@ -2687,7 +2699,10 @@ protected ListPackagesFixedSizeCollection createCollection( public static class ListVersionsPagedResponse extends AbstractPagedListResponse< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -2736,7 +2751,10 @@ public ApiFuture createPageAsync( public static class ListVersionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListVersionsRequest, ListVersionsResponse, Version, ListVersionsPage, + ListVersionsRequest, + ListVersionsResponse, + Version, + ListVersionsPage, ListVersionsFixedSizeCollection> { private ListVersionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java similarity index 98% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java index 780baf15..5a68e3f9 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistrySettings.java @@ -33,7 +33,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.devtools.artifactregistry.v1beta2.stub.ArtifactRegistryStubSettings; @@ -55,10 +54,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/gapic_metadata.json diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java similarity index 82% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java index ce7d976f..2ee2d5f4 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/package-info.java @@ -27,11 +27,11 @@ *

The resources managed by this API are: * *

    - *
  • Repositories, which group packages and their data. - *
  • Packages, which group versions and their tags. - *
  • Versions, which are specific forms of a package. - *
  • Tags, which represent alternative names for versions. - *
  • Files, which contain content and are optionally associated with a Package or Version. + *
  • Repositories, which group packages and their data. + *
  • Packages, which group versions and their tags. + *
  • Versions, which are specific forms of a package. + *
  • Tags, which represent alternative names for versions. + *
  • Files, which contain content and are optionally associated with a Package or Version. *
* *

Sample for ArtifactRegistryClient: diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStub.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java index 19b4b858..a85f453f 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/ArtifactRegistryStubSettings.java @@ -112,10 +112,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java index d73deacf..322bd754 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/GrpcArtifactRegistryStub.java @@ -80,7 +80,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/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryCallableFactory.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java similarity index 99% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java rename to google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java index 3c97ce78..1b4afb9e 100644 --- a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java +++ b/google-cloud-artifact-registry/src/main/java/com/google/devtools/artifactregistry/v1beta2/stub/HttpJsonArtifactRegistryStub.java @@ -34,7 +34,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.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1/MockArtifactRegistryImpl.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryClientTest.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistry.java diff --git a/owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java b/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java similarity index 100% rename from owl-bot-staging/v1beta2/google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java rename to google-cloud-artifact-registry/src/test/java/com/google/devtools/artifactregistry/v1beta2/MockArtifactRegistryImpl.java diff --git a/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..8dd4c5ad --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java @@ -0,0 +1,3494 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *

+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", + requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + getListDockerImagesMethod; + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { + ArtifactRegistryGrpc.getListDockerImagesMethod = + getListDockerImagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) + .build(); + } + } + } + return getListDockerImagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", + requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage> + getGetDockerImageMethod; + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { + ArtifactRegistryGrpc.getGetDockerImageMethod = + getGetDockerImageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DockerImage + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) + .build(); + } + } + } + return getGetDockerImageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDockerImagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDockerImageMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListDockerImagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( + this, METHODID_LIST_DOCKER_IMAGES))) + .addMethod( + getGetDockerImageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetDockerImageRequest, + com.google.devtools.artifactregistry.v1.DockerImage>( + this, METHODID_GET_DOCKER_IMAGE))) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListPackagesRequest, + com.google.devtools.artifactregistry.v1.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetPackageRequest, + com.google.devtools.artifactregistry.v1.Package>(this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListVersionsRequest, + com.google.devtools.artifactregistry.v1.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetVersionRequest, + com.google.devtools.artifactregistry.v1.Version>(this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListFilesRequest, + com.google.devtools.artifactregistry.v1.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetFileRequest, + com.google.devtools.artifactregistry.v1.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.ListTagsRequest, + com.google.devtools.artifactregistry.v1.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.CreateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateTagRequest, + com.google.devtools.artifactregistry.v1.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public void listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public void getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDockerImagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDockerImageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository getRepository( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Repository updateRepository( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Package getPackage( + com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Version getVersion( + com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.File getFile( + com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag getTag( + com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag createTag( + com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.Tag updateTag( + com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists docker images.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse> + listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a docker image.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.DockerImage> + getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse> + listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Repository> + updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Package> + getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Version> + getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.File> + getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.Tag> + updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_DOCKER_IMAGES = 0; + private static final int METHODID_GET_DOCKER_IMAGE = 1; + private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; + private static final int METHODID_LIST_REPOSITORIES = 4; + private static final int METHODID_GET_REPOSITORY = 5; + private static final int METHODID_CREATE_REPOSITORY = 6; + private static final int METHODID_UPDATE_REPOSITORY = 7; + private static final int METHODID_DELETE_REPOSITORY = 8; + private static final int METHODID_LIST_PACKAGES = 9; + private static final int METHODID_GET_PACKAGE = 10; + private static final int METHODID_DELETE_PACKAGE = 11; + private static final int METHODID_LIST_VERSIONS = 12; + private static final int METHODID_GET_VERSION = 13; + private static final int METHODID_DELETE_VERSION = 14; + private static final int METHODID_LIST_FILES = 15; + private static final int METHODID_GET_FILE = 16; + private static final int METHODID_LIST_TAGS = 17; + private static final int METHODID_GET_TAG = 18; + private static final int METHODID_CREATE_TAG = 19; + private static final int METHODID_UPDATE_TAG = 20; + private static final int METHODID_DELETE_TAG = 21; + private static final int METHODID_SET_IAM_POLICY = 22; + private static final int METHODID_GET_IAM_POLICY = 23; + private static final int METHODID_TEST_IAM_PERMISSIONS = 24; + private static final int METHODID_GET_PROJECT_SETTINGS = 25; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: + serviceImpl.listDockerImages( + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>) + responseObserver); + break; + case METHODID_GET_DOCKER_IMAGE: + serviceImpl.getDockerImage( + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getListDockerImagesMethod()) + .addMethod(getGetDockerImageMethod()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java new file mode 100644 index 00000000..63baa4ed --- /dev/null +++ b/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java @@ -0,0 +1,3275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.devtools.artifactregistry.v1beta2; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * The Artifact Registry API service.
+ * Artifact Registry is an artifact management system for storing artifacts
+ * from different package management systems.
+ * The resources managed by this API are:
+ * * Repositories, which group packages and their data.
+ * * Packages, which group versions and their tags.
+ * * Versions, which are specific forms of a package.
+ * * Tags, which represent alternative names for versions.
+ * * Files, which contain content and are optionally associated with a Package
+ *   or Version.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ArtifactRegistryGrpc { + + private ArtifactRegistryGrpc() {} + + public static final String SERVICE_NAME = + "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation> + getImportAptArtifactsMethod; + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportAptArtifactsMethod = + getImportAptArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) + .build(); + } + } + } + return getImportAptArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", + requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation> + getImportYumArtifactsMethod; + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) + == null) { + ArtifactRegistryGrpc.getImportYumArtifactsMethod = + getImportYumArtifactsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) + .build(); + } + } + } + return getImportYumArtifactsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListRepositories", + requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + getListRepositoriesMethod; + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { + ArtifactRegistryGrpc.getListRepositoriesMethod = + getListRepositoriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) + .build(); + } + } + } + return getListRepositoriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getGetRepositoryMethod; + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { + ArtifactRegistryGrpc.getGetRepositoryMethod = + getGetRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) + .build(); + } + } + } + return getGetRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation> + getCreateRepositoryMethod; + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getCreateRepositoryMethod = + getCreateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) + .build(); + } + } + } + return getCreateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository> + getUpdateRepositoryMethod; + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { + ArtifactRegistryGrpc.getUpdateRepositoryMethod = + getUpdateRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Repository + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) + .build(); + } + } + } + return getUpdateRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation> + getDeleteRepositoryMethod; + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { + ArtifactRegistryGrpc.getDeleteRepositoryMethod = + getDeleteRepositoryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) + .build(); + } + } + } + return getDeleteRepositoryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListPackages", + requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + getListPackagesMethod; + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { + ArtifactRegistryGrpc.getListPackagesMethod = + getListPackagesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) + .build(); + } + } + } + return getListPackagesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetPackage", + requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package> + getGetPackageMethod; + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { + ArtifactRegistryGrpc.getGetPackageMethod = + getGetPackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Package + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) + .build(); + } + } + } + return getGetPackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeletePackage", + requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation> + getDeletePackageMethod; + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { + ArtifactRegistryGrpc.getDeletePackageMethod = + getDeletePackageMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) + .build(); + } + } + } + return getDeletePackageMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListVersions", + requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + getListVersionsMethod; + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { + ArtifactRegistryGrpc.getListVersionsMethod = + getListVersionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) + .build(); + } + } + } + return getListVersionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version> + getGetVersionMethod; + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { + ArtifactRegistryGrpc.getGetVersionMethod = + getGetVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Version + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) + .build(); + } + } + } + return getGetVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation> + getDeleteVersionMethod; + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { + ArtifactRegistryGrpc.getDeleteVersionMethod = + getDeleteVersionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) + .build(); + } + } + } + return getDeleteVersionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListFiles", + requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + getListFilesMethod; + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { + ArtifactRegistryGrpc.getListFilesMethod = + getListFilesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) + .build(); + } + } + } + return getListFilesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetFile", + requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.File.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File> + getGetFileMethod; + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { + ArtifactRegistryGrpc.getGetFileMethod = + getGetFileMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.File + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) + .build(); + } + } + } + return getGetFileMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListTags", + requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + getListTagsMethod; + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { + ArtifactRegistryGrpc.getListTagsMethod = + getListTagsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) + .build(); + } + } + } + return getListTagsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetTag", + requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getGetTagMethod; + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { + ArtifactRegistryGrpc.getGetTagMethod = + getGetTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) + .build(); + } + } + } + return getGetTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getCreateTagMethod; + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { + ArtifactRegistryGrpc.getCreateTagMethod = + getCreateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) + .build(); + } + } + } + return getCreateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateTag", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag> + getUpdateTagMethod; + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { + ArtifactRegistryGrpc.getUpdateTagMethod = + getUpdateTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.Tag + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) + .build(); + } + } + } + return getUpdateTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteTag", + requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + responseType = com.google.protobuf.Empty.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, com.google.protobuf.Empty> + getDeleteTagMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty> + getDeleteTagMethod; + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { + ArtifactRegistryGrpc.getDeleteTagMethod = + getDeleteTagMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) + .build(); + } + } + } + return getDeleteTagMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", + requestType = com.google.iam.v1.SetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> + getSetIamPolicyMethod() { + io.grpc.MethodDescriptor + getSetIamPolicyMethod; + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getSetIamPolicyMethod = + getSetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) + .build(); + } + } + } + return getSetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", + requestType = com.google.iam.v1.GetIamPolicyRequest.class, + responseType = com.google.iam.v1.Policy.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> + getGetIamPolicyMethod() { + io.grpc.MethodDescriptor + getGetIamPolicyMethod; + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { + ArtifactRegistryGrpc.getGetIamPolicyMethod = + getGetIamPolicyMethod = + io.grpc.MethodDescriptor + .newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) + .build(); + } + } + } + return getGetIamPolicyMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", + requestType = com.google.iam.v1.TestIamPermissionsRequest.class, + responseType = com.google.iam.v1.TestIamPermissionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse> + getTestIamPermissionsMethod; + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) + == null) { + ArtifactRegistryGrpc.getTestIamPermissionsMethod = + getTestIamPermissionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) + .build(); + } + } + } + return getTestIamPermissionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getGetProjectSettingsMethod; + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getGetProjectSettingsMethod = + getGetProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) + .build(); + } + } + } + return getGetProjectSettingsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", + requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod() { + io.grpc.MethodDescriptor< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getUpdateProjectSettingsMethod; + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + synchronized (ArtifactRegistryGrpc.class) { + if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) + == null) { + ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = + getUpdateProjectSettingsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2 + .UpdateProjectSettingsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings + .getDefaultInstance())) + .setSchemaDescriptor( + new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) + .build(); + } + } + } + return getUpdateProjectSettingsMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + }; + return ArtifactRegistryStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ArtifactRegistryBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + }; + return ArtifactRegistryBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ArtifactRegistryFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ArtifactRegistryFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + }; + return ArtifactRegistryFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public abstract static class ArtifactRegistryImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportAptArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getImportYumArtifactsMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRepositoriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteRepositoryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListPackagesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeletePackageMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListVersionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteVersionMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getSetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetIamPolicyMethod(), responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getTestIamPermissionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetProjectSettingsMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateProjectSettingsMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getImportAptArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_APT_ARTIFACTS))) + .addMethod( + getImportYumArtifactsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, + com.google.longrunning.Operation>(this, METHODID_IMPORT_YUM_ARTIFACTS))) + .addMethod( + getListRepositoriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( + this, METHODID_LIST_REPOSITORIES))) + .addMethod( + getGetRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_GET_REPOSITORY))) + .addMethod( + getCreateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_REPOSITORY))) + .addMethod( + getUpdateRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, + com.google.devtools.artifactregistry.v1beta2.Repository>( + this, METHODID_UPDATE_REPOSITORY))) + .addMethod( + getDeleteRepositoryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_REPOSITORY))) + .addMethod( + getListPackagesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( + this, METHODID_LIST_PACKAGES))) + .addMethod( + getGetPackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, + com.google.devtools.artifactregistry.v1beta2.Package>( + this, METHODID_GET_PACKAGE))) + .addMethod( + getDeletePackageMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_PACKAGE))) + .addMethod( + getListVersionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( + this, METHODID_LIST_VERSIONS))) + .addMethod( + getGetVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, + com.google.devtools.artifactregistry.v1beta2.Version>( + this, METHODID_GET_VERSION))) + .addMethod( + getDeleteVersionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_VERSION))) + .addMethod( + getListFilesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( + this, METHODID_LIST_FILES))) + .addMethod( + getGetFileMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetFileRequest, + com.google.devtools.artifactregistry.v1beta2.File>(this, METHODID_GET_FILE))) + .addMethod( + getListTagsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( + this, METHODID_LIST_TAGS))) + .addMethod( + getGetTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_GET_TAG))) + .addMethod( + getCreateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_CREATE_TAG))) + .addMethod( + getUpdateTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, + com.google.devtools.artifactregistry.v1beta2.Tag>(this, METHODID_UPDATE_TAG))) + .addMethod( + getDeleteTagMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, + com.google.protobuf.Empty>(this, METHODID_DELETE_TAG))) + .addMethod( + getSetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_SET_IAM_POLICY))) + .addMethod( + getGetIamPolicyMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy>( + this, METHODID_GET_IAM_POLICY))) + .addMethod( + getTestIamPermissionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.iam.v1.TestIamPermissionsRequest, + com.google.iam.v1.TestIamPermissionsResponse>( + this, METHODID_TEST_IAM_PERMISSIONS))) + .addMethod( + getGetProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_GET_PROJECT_SETTINGS))) + .addMethod( + getUpdateProjectSettingsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( + this, METHODID_UPDATE_PROJECT_SETTINGS))) + .build(); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryStub + extends io.grpc.stub.AbstractAsyncStub { + private ArtifactRegistryStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public void importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public void listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public void getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public void createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public void updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public void deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public void listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public void getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public void deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public void listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, + io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public void getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public void deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public void listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public void getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public void listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public void getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public void createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public void updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public void deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public void setIamPolicy( + com.google.iam.v1.SetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public void getIamPolicy( + com.google.iam.v1.GetIamPolicyRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public void testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public void getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public void updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ArtifactRegistryBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.longrunning.Operation importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRepositoriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository getRepository( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.longrunning.Operation createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.longrunning.Operation deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListPackagesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Package getPackage( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetPackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deletePackage( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeletePackageMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListVersionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Version getVersion( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.longrunning.Operation deleteVersion( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteVersionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFilesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.File getFile( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFileMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListTagsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag getTag( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag createTag( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.Tag updateTag( + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.protobuf.Empty deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteTagMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( + com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * The Artifact Registry API service.
+   * Artifact Registry is an artifact management system for storing artifacts
+   * from different package management systems.
+   * The resources managed by this API are:
+   * * Repositories, which group packages and their data.
+   * * Packages, which group versions and their tags.
+   * * Versions, which are specific forms of a package.
+   * * Tags, which represent alternative names for versions.
+   * * Files, which contain content and are optionally associated with a Package
+   *   or Version.
+   * 
+ */ + public static final class ArtifactRegistryFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ArtifactRegistryFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ArtifactRegistryFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ArtifactRegistryFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Imports Apt artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importAptArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
+     * resources are imported. Package, Version, and File resources are created
+     * based on the imported artifacts. Imported artifacts that conflict with
+     * existing resources are ignored.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + importYumArtifacts( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists repositories.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse> + listRepositories( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a repository. The returned Operation will finish once the
+     * repository has been created. Its response will be the created Repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createRepository( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a repository.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Repository> + updateRepository( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a repository and all of its contents. The returned Operation will
+     * finish once the repository has been deleted. It will not have any Operation
+     * metadata and will return a google.protobuf.Empty response.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteRepository( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists packages.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse> + listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a package.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Package> + getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a package and all of its versions and tags. The returned operation
+     * will complete once the package has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists versions.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse> + listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a version
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Version> + getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a version and all of its content. The returned operation will
+     * complete once the version has been deleted.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists files.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse> + listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListFilesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a file.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.File> + getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetFileMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists tags.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse> + listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListTagsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.Tag> + updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a tag.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteTag( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets the IAM policy for a given resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Tests if the caller has a list of permissions on a resource.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.iam.v1.TestIamPermissionsResponse> + testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Retrieves the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + getProjectSettings( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates the Settings for the Project.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings> + updateProjectSettings( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; + private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; + private static final int METHODID_LIST_REPOSITORIES = 2; + private static final int METHODID_GET_REPOSITORY = 3; + private static final int METHODID_CREATE_REPOSITORY = 4; + private static final int METHODID_UPDATE_REPOSITORY = 5; + private static final int METHODID_DELETE_REPOSITORY = 6; + private static final int METHODID_LIST_PACKAGES = 7; + private static final int METHODID_GET_PACKAGE = 8; + private static final int METHODID_DELETE_PACKAGE = 9; + private static final int METHODID_LIST_VERSIONS = 10; + private static final int METHODID_GET_VERSION = 11; + private static final int METHODID_DELETE_VERSION = 12; + private static final int METHODID_LIST_FILES = 13; + private static final int METHODID_GET_FILE = 14; + private static final int METHODID_LIST_TAGS = 15; + private static final int METHODID_GET_TAG = 16; + private static final int METHODID_CREATE_TAG = 17; + private static final int METHODID_UPDATE_TAG = 18; + private static final int METHODID_DELETE_TAG = 19; + private static final int METHODID_SET_IAM_POLICY = 20; + private static final int METHODID_GET_IAM_POLICY = 21; + private static final int METHODID_TEST_IAM_PERMISSIONS = 22; + private static final int METHODID_GET_PROJECT_SETTINGS = 23; + private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; + + 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 ArtifactRegistryImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: + serviceImpl.importAptArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_YUM_ARTIFACTS: + serviceImpl.importYumArtifacts( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_REPOSITORIES: + serviceImpl.listRepositories( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>) + responseObserver); + break; + case METHODID_GET_REPOSITORY: + serviceImpl.getRepository( + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_REPOSITORY: + serviceImpl.createRepository( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_REPOSITORY: + serviceImpl.updateRepository( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_REPOSITORY: + serviceImpl.deleteRepository( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_PACKAGES: + serviceImpl.listPackages( + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>) + responseObserver); + break; + case METHODID_GET_PACKAGE: + serviceImpl.getPackage( + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_PACKAGE: + serviceImpl.deletePackage( + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_VERSIONS: + serviceImpl.listVersions( + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>) + responseObserver); + break; + case METHODID_GET_VERSION: + serviceImpl.getVersion( + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_VERSION: + serviceImpl.deleteVersion( + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_FILES: + serviceImpl.listFiles( + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>) + responseObserver); + break; + case METHODID_GET_FILE: + serviceImpl.getFile( + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_LIST_TAGS: + serviceImpl.listTags( + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>) + responseObserver); + break; + case METHODID_GET_TAG: + serviceImpl.getTag( + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_TAG: + serviceImpl.createTag( + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_UPDATE_TAG: + serviceImpl.updateTag( + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_DELETE_TAG: + serviceImpl.deleteTag( + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_SET_IAM_POLICY: + serviceImpl.setIamPolicy( + (com.google.iam.v1.SetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_IAM_POLICY: + serviceImpl.getIamPolicy( + (com.google.iam.v1.GetIamPolicyRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_TEST_IAM_PERMISSIONS: + serviceImpl.testIamPermissions( + (com.google.iam.v1.TestIamPermissionsRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_PROJECT_SETTINGS: + serviceImpl.getProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + case METHODID_UPDATE_PROJECT_SETTINGS: + serviceImpl.updateProjectSettings( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings>) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + private abstract static class ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ArtifactRegistryBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("ArtifactRegistry"); + } + } + + private static final class ArtifactRegistryFileDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier { + ArtifactRegistryFileDescriptorSupplier() {} + } + + private static final class ArtifactRegistryMethodDescriptorSupplier + extends ArtifactRegistryBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) + .addMethod(getImportAptArtifactsMethod()) + .addMethod(getImportYumArtifactsMethod()) + .addMethod(getListRepositoriesMethod()) + .addMethod(getGetRepositoryMethod()) + .addMethod(getCreateRepositoryMethod()) + .addMethod(getUpdateRepositoryMethod()) + .addMethod(getDeleteRepositoryMethod()) + .addMethod(getListPackagesMethod()) + .addMethod(getGetPackageMethod()) + .addMethod(getDeletePackageMethod()) + .addMethod(getListVersionsMethod()) + .addMethod(getGetVersionMethod()) + .addMethod(getDeleteVersionMethod()) + .addMethod(getListFilesMethod()) + .addMethod(getGetFileMethod()) + .addMethod(getListTagsMethod()) + .addMethod(getGetTagMethod()) + .addMethod(getCreateTagMethod()) + .addMethod(getUpdateTagMethod()) + .addMethod(getDeleteTagMethod()) + .addMethod(getSetIamPolicyMethod()) + .addMethod(getGetIamPolicyMethod()) + .addMethod(getTestIamPermissionsMethod()) + .addMethod(getGetProjectSettingsMethod()) + .addMethod(getUpdateProjectSettingsMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java deleted file mode 100644 index e3ceeee1..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2628 +0,0 @@ -package com.google.devtools.artifactregistry.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListDockerImagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDockerImages", - requestType = com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDockerImagesMethod() { - io.grpc.MethodDescriptor getListDockerImagesMethod; - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListDockerImagesMethod = ArtifactRegistryGrpc.getListDockerImagesMethod) == null) { - ArtifactRegistryGrpc.getListDockerImagesMethod = getListDockerImagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDockerImages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListDockerImages")) - .build(); - } - } - } - return getListDockerImagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDockerImageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDockerImage", - requestType = com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.DockerImage.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDockerImageMethod() { - io.grpc.MethodDescriptor getGetDockerImageMethod; - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetDockerImageMethod = ArtifactRegistryGrpc.getGetDockerImageMethod) == null) { - ArtifactRegistryGrpc.getGetDockerImageMethod = getGetDockerImageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDockerImage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetDockerImage")) - .build(); - } - } - } - return getGetDockerImageMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDockerImagesMethod(), responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDockerImageMethod(), responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListDockerImagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest, - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse>( - this, METHODID_LIST_DOCKER_IMAGES))) - .addMethod( - getGetDockerImageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetDockerImageRequest, - com.google.devtools.artifactregistry.v1.DockerImage>( - this, METHODID_GET_DOCKER_IMAGE))) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListPackagesRequest, - com.google.devtools.artifactregistry.v1.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetPackageRequest, - com.google.devtools.artifactregistry.v1.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListVersionsRequest, - com.google.devtools.artifactregistry.v1.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetVersionRequest, - com.google.devtools.artifactregistry.v1.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListFilesRequest, - com.google.devtools.artifactregistry.v1.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetFileRequest, - com.google.devtools.artifactregistry.v1.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.ListTagsRequest, - com.google.devtools.artifactregistry.v1.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.CreateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateTagRequest, - com.google.devtools.artifactregistry.v1.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public void listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public void getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse listDockerImages(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDockerImagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.DockerImage getDockerImage(com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDockerImageMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository getRepository(com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Repository updateRepository(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Package getPackage(com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Version getVersion(com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.File getFile(com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag getTag(com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag createTag(com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.Tag updateTag(com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Lists docker images.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDockerImages( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDockerImagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a docker image.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDockerImage( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDockerImageMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_DOCKER_IMAGES = 0; - private static final int METHODID_GET_DOCKER_IMAGE = 1; - private static final int METHODID_IMPORT_APT_ARTIFACTS = 2; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 3; - private static final int METHODID_LIST_REPOSITORIES = 4; - private static final int METHODID_GET_REPOSITORY = 5; - private static final int METHODID_CREATE_REPOSITORY = 6; - private static final int METHODID_UPDATE_REPOSITORY = 7; - private static final int METHODID_DELETE_REPOSITORY = 8; - private static final int METHODID_LIST_PACKAGES = 9; - private static final int METHODID_GET_PACKAGE = 10; - private static final int METHODID_DELETE_PACKAGE = 11; - private static final int METHODID_LIST_VERSIONS = 12; - private static final int METHODID_GET_VERSION = 13; - private static final int METHODID_DELETE_VERSION = 14; - private static final int METHODID_LIST_FILES = 15; - private static final int METHODID_GET_FILE = 16; - private static final int METHODID_LIST_TAGS = 17; - private static final int METHODID_GET_TAG = 18; - private static final int METHODID_CREATE_TAG = 19; - private static final int METHODID_UPDATE_TAG = 20; - private static final int METHODID_DELETE_TAG = 21; - private static final int METHODID_SET_IAM_POLICY = 22; - private static final int METHODID_GET_IAM_POLICY = 23; - private static final int METHODID_TEST_IAM_PERMISSIONS = 24; - private static final int METHODID_GET_PROJECT_SETTINGS = 25; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 26; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_DOCKER_IMAGES: - serviceImpl.listDockerImages((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DOCKER_IMAGE: - serviceImpl.getDockerImage((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getListDockerImagesMethod()) - .addMethod(getGetDockerImageMethod()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java deleted file mode 100644 index 443f6d5f..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java +++ /dev/null @@ -1,150 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/ap" + - "t_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.AptArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + - "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + - "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + - "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + - "A\214\001\n+artifactregistry.googleapis.com/Apt" + - "Artifact\022]projects/{project}/locations/{" + - "location}/repositories/{repository}/aptA" + - "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + - "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + - "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + - "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + - "artifactregistry.v1.ImportAptArtifactsGc" + - "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + - "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + - "e\030\001 \001(\0132@.google.devtools.artifactregist" + - "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + - "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + - "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + - "rtifacts\030\001 \003(\01320.google.devtools.artifac" + - "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + - "2@.google.devtools.artifactregistry.v1.I" + - "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + - "rtifactsMetadataB\376\001\n\'com.google.devtools" + - ".artifactregistry.v1B\020AptArtifactProtoP\001" + - "ZSgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1;artifactreg" + - "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + - "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + - "ogle::Cloud::ArtifactRegistry::V1b\006proto" + - "3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java deleted file mode 100644 index d2e38912..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java +++ /dev/null @@ -1,119 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ArtifactProto { - private ArtifactProto() {} - 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_devtools_artifactregistry_v1_DockerImage_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/ar" + - "tifact.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032\037google/pr" + - "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + - "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + - "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + - "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + - "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + - " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mage\022]projects/{project}/locations/{loca" + - "tion}/repositories/{repository}/dockerIm" + - "ages/{docker_image}\"U\n\027ListDockerImagesR" + - "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + - "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + - "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + - "google.devtools.artifactregistry.v1.Dock" + - "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + - "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + - "+artifactregistry.googleapis.com/DockerI" + - "mageB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, - new java.lang.String[] { "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, - new java.lang.String[] { "DockerImages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index 8199afc8..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 2a237596..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java deleted file mode 100644 index b27baa2c..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java +++ /dev/null @@ -1,127 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + - "le.proto\022#google.devtools.artifactregist" + - "ry.v1\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + - "pe\030\001 \001(\01622.google.devtools.artifactregis" + - "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + - "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + - "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + - "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + - "gle.devtools.artifactregistry.v1.Hash\022/\n" + - "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + - "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + - "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + - "ifactregistry.googleapis.com/File\022Nproje" + - "cts/{project}/locations/{location}/repos" + - "itories/{repository}/files/{file}\"k\n\020Lis" + - "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + - "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + - " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + - "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + - "ifactregistry.v1.File\022\027\n\017next_page_token" + - "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + - "\001\n\'com.google.devtools.artifactregistry." + - "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1;artifactregistry\252\002 Google.Cloud.Arti" + - "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + - "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + - "stry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java deleted file mode 100644 index 36dc5023..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetDockerImageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the docker images.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java deleted file mode 100644 index 8a742290..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/file.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index 35c962cf..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index 323cd5a0..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java deleted file mode 100644 index 9c1264a9..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index c24b837d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9fba0379..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java deleted file mode 100644 index e3a558ac..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java deleted file mode 100644 index 7b437e4a..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java +++ /dev/null @@ -1,122 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/package.proto - -package com.google.devtools.artifactregistry.v1; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/pa" + - "ckage.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032\037google/pro" + - "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam" + - "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_" + - "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/" + - "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti" + - "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent" + - "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + - "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa" + - "ckages\030\001 \003(\0132,.google.devtools.artifactr" + - "egistry.v1.Package\022\027\n\017next_page_token\030\002 " + - "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003" + - "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001(" + - "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr" + - "egistry.v1B\014PackageProtoP\001ZSgoogle.golan" + - "g.org/genproto/googleapis/devtools/artif" + - "actregistry/v1;artifactregistry\252\002 Google" + - ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou" + - "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A" + - "rtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java deleted file mode 100644 index c29b26fa..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java +++ /dev/null @@ -1,203 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/repository.proto - -package com.google.devtools.artifactregistry.v1; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n4google/devtools/artifactregistry/v1/re" + - "pository.proto\022#google.devtools.artifact" + - "registry.v1\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + - "en_config\030\t \001(\0132E.google.devtools.artifa" + - "ctregistry.v1.Repository.MavenRepository" + - "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + - ".google.devtools.artifactregistry.v1.Rep" + - "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + - "abels\030\004 \003(\0132;.google.devtools.artifactre" + - "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + - "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + - "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + - ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + - "enRepositoryConfig\022!\n\031allow_snapshot_ove" + - "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + - "google.devtools.artifactregistry.v1.Repo" + - "sitory.MavenRepositoryConfig.VersionPoli" + - "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + - "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + - "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + - "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + - "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + - "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + - "stry.googleapis.com/Repository\022Aprojects" + - "/{project}/locations/{location}/reposito" + - "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + - "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + - "\340A\002\372A,\022*artifactregistry.googleapis.com/" + - "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + - "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + - "\014repositories\030\001 \003(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022\027\n\017next_pag" + - "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + - "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + - "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + - "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + - "ifactregistry.googleapis.com/Repository\022" + - "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + - "(\0132/.google.devtools.artifactregistry.v1" + - ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + - "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + - "tifactregistry.v1.Repository\022/\n\013update_m" + - "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + - "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + - "\340A\002\372A,\n*artifactregistry.googleapis.com/" + - "RepositoryB\375\001\n\'com.google.devtools.artif" + - "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1;artifactregistry\252\002" + - " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + - "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + - "loud::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java deleted file mode 100644 index cf63a61d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java +++ /dev/null @@ -1,265 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/service.proto - -package com.google.devtools.artifactregistry.v1; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/se" + - "rvice.proto\022#google.devtools.artifactreg" + - "istry.v1\032\034google/api/annotations.proto\032\027" + - "google/api/client.proto\0326google/devtools" + - "/artifactregistry/v1/apt_artifact.proto\032" + - "2google/devtools/artifactregistry/v1/art" + - "ifact.proto\032.google/devtools/artifactreg" + - "istry/v1/file.proto\0321google/devtools/art" + - "ifactregistry/v1/package.proto\0324google/d" + - "evtools/artifactregistry/v1/repository.p" + - "roto\0322google/devtools/artifactregistry/v" + - "1/settings.proto\032-google/devtools/artifa" + - "ctregistry/v1/tag.proto\0321google/devtools" + - "/artifactregistry/v1/version.proto\0326goog" + - "le/devtools/artifactregistry/v1/yum_arti" + - "fact.proto\032\036google/iam/v1/iam_policy.pro" + - "to\032\032google/iam/v1/policy.proto\032#google/l" + - "ongrunning/operations.proto\032\033google/prot" + - "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + - "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + - "<.google.devtools.artifactregistry.v1.Li" + - "stDockerImagesRequest\032=.google.devtools." + - "artifactregistry.v1.ListDockerImagesResp" + - "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + - "ations/*/repositories/*}/dockerImages\332A\006" + - "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + - "ols.artifactregistry.v1.GetDockerImageRe" + - "quest\0320.google.devtools.artifactregistry" + - ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + - "cts/*/locations/*/repositories/*/dockerI" + - "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + - ".google.devtools.artifactregistry.v1.Imp" + - "ortAptArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + - "ects/*/locations/*/repositories/*}/aptAr" + - "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + - "rtifactregistry.v1.ImportAptArtifactsRes" + - "ponse\022>google.devtools.artifactregistry." + - "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + - "YumArtifacts\022>.google.devtools.artifactr" + - "egistry.v1.ImportYumArtifactsRequest\032\035.g" + - "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + - "1/{parent=projects/*/locations/*/reposit" + - "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + - "gle.devtools.artifactregistry.v1.ImportY" + - "umArtifactsResponse\022>google.devtools.art" + - "ifactregistry.v1.ImportYumArtifactsMetad" + - "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + - "ls.artifactregistry.v1.ListRepositoriesR" + - "equest\032=.google.devtools.artifactregistr" + - "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + - "v1/{parent=projects/*/locations/*}/repos" + - "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + - "gle.devtools.artifactregistry.v1.GetRepo" + - "sitoryRequest\032/.google.devtools.artifact" + - "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + - "e=projects/*/locations/*/repositories/*}" + - "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + - "vtools.artifactregistry.v1.CreateReposit" + - "oryRequest\032\035.google.longrunning.Operatio" + - "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + - "ions/*}/repositories:\nrepository\332A\037paren" + - "t,repository,repository_id\312Ag\n.google.de" + - "vtools.artifactregistry.v1.Repository\0225g" + - "oogle.devtools.artifactregistry.v1.Opera" + - "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + - "le.devtools.artifactregistry.v1.UpdateRe" + - "positoryRequest\032/.google.devtools.artifa" + - "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + - "epository.name=projects/*/locations/*/re" + - "positories/*}:\nrepository\332A\026repository,u" + - "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + - ".devtools.artifactregistry.v1.DeleteRepo" + - "sitoryRequest\032\035.google.longrunning.Opera" + - "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + - "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + - "e.protobuf.Empty\0225google.devtools.artifa" + - "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + - "Packages\0228.google.devtools.artifactregis" + - "try.v1.ListPackagesRequest\0329.google.devt" + - "ools.artifactregistry.v1.ListPackagesRes" + - "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + - "cations/*/repositories/*}/packages\332A\006par" + - "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + - "ifactregistry.v1.GetPackageRequest\032,.goo" + - "gle.devtools.artifactregistry.v1.Package" + - "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + - "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + - "\rDeletePackage\0229.google.devtools.artifac" + - "tregistry.v1.DeletePackageRequest\032\035.goog" + - "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + - "name=projects/*/locations/*/repositories" + - "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + - "f.Empty\0225google.devtools.artifactregistr" + - "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + - "8.google.devtools.artifactregistry.v1.Li" + - "stVersionsRequest\0329.google.devtools.arti" + - "factregistry.v1.ListVersionsResponse\"W\202\323" + - "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + - "/repositories/*/packages/*}/versions\332A\006p" + - "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + - "rtifactregistry.v1.GetVersionRequest\032,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + - "ns/*/repositories/*/packages/*/versions/" + - "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + - "tools.artifactregistry.v1.DeleteVersionR" + - "equest\032\035.google.longrunning.Operation\"\246\001" + - "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\312AN\n\025google.protobuf.Empty\0225google." + - "devtools.artifactregistry.v1.OperationMe" + - "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + - "rtifactregistry.v1.ListFilesRequest\0326.go" + - "ogle.devtools.artifactregistry.v1.ListFi" + - "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + - "s/*/locations/*/repositories/*}/files\332A\006" + - "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + - "ifactregistry.v1.GetFileRequest\032).google" + - ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + - "\002;\0229/v1/{name=projects/*/locations/*/rep" + - "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + - "s\0224.google.devtools.artifactregistry.v1." + - "ListTagsRequest\0325.google.devtools.artifa" + - "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + - "/v1/{parent=projects/*/locations/*/repos" + - "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + - "GetTag\0222.google.devtools.artifactregistr" + - "y.v1.GetTagRequest\032(.google.devtools.art" + - "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + - "projects/*/locations/*/repositories/*/pa" + - "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + - "google.devtools.artifactregistry.v1.Crea" + - "teTagRequest\032(.google.devtools.artifactr" + - "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + - "ects/*/locations/*/repositories/*/packag" + - "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + - "UpdateTag\0225.google.devtools.artifactregi" + - "stry.v1.UpdateTagRequest\032(.google.devtoo" + - "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + - "{tag.name=projects/*/locations/*/reposit" + - "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + - "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + - "s.artifactregistry.v1.DeleteTagRequest\032\026" + - ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + - "e=projects/*/locations/*/repositories/*/" + - "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + - "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + - ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + - "urce=projects/*/locations/*/repositories" + - "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + - "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + - "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + - "rojects/*/locations/*/repositories/*}:ge" + - "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + - "le.iam.v1.TestIamPermissionsRequest\032).go" + - "ogle.iam.v1.TestIamPermissionsResponse\"R" + - "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + - "ns/*/repositories/*}:testIamPermissions:" + - "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + - "ols.artifactregistry.v1.GetProjectSettin" + - "gsRequest\0324.google.devtools.artifactregi" + - "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + - "me=projects/*/projectSettings}\332A\004name\022\201\002" + - "\n\025UpdateProjectSettings\022A.google.devtool" + - "s.artifactregistry.v1.UpdateProjectSetti" + - "ngsRequest\0324.google.devtools.artifactreg" + - "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + - "roject_settings.name=projects/*/projectS" + - "ettings}:\020project_settings\332A\034project_set" + - "tings,update_mask\032\214\001\312A\037artifactregistry." + - "googleapis.com\322Aghttps://www.googleapis." + - "com/auth/cloud-platform,https://www.goog" + - "leapis.com/auth/cloud-platform.read-only" + - "B\372\001\n\'com.google.devtools.artifactregistr" + - "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + - "genproto/googleapis/devtools/artifactreg" + - "istry/v1;artifactregistry\252\002 Google.Cloud" + - ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + - "factRegistry\\V1\352\002#Google::Cloud::Artifac" + - "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java deleted file mode 100644 index db067c93..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java +++ /dev/null @@ -1,108 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/settings.proto - -package com.google.devtools.artifactregistry.v1; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1/se" + - "ttings.proto\022#google.devtools.artifactre" + - "gistry.v1\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + - "state\030\002 \001(\0162E.google.devtools.artifactre" + - "gistry.v1.ProjectSettings.RedirectionSta" + - "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + - "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + - "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + - "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + - "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + - "leapis.com/ProjectSettings\022\"projects/{pr" + - "oject}/projectSettings\"b\n\031GetProjectSett" + - "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + - "actregistry.googleapis.com/ProjectSettin" + - "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + - "roject_settings\030\002 \001(\01324.google.devtools." + - "artifactregistry.v1.ProjectSettings\022/\n\013u" + - "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + - "MaskB\373\001\n\'com.google.devtools.artifactreg" + - "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java deleted file mode 100644 index a0942140..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java +++ /dev/null @@ -1,147 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/tag.proto - -package com.google.devtools.artifactregistry.v1; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + - "g.proto\022#google.devtools.artifactregistr" + - "y.v1\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + - "ags\030\001 \003(\0132(.google.devtools.artifactregi" + - "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + - "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + - "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + - "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + - "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + - "g\030\001 \001(\0132(.google.devtools.artifactregist" + - "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + - "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + - "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + - "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + - "ang.org/genproto/googleapis/devtools/art" + - "ifactregistry/v1;artifactregistry\252\002 Goog" + - "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + - "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + - ":ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java deleted file mode 100644 index e4184f9e..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java +++ /dev/null @@ -1,141 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/version.proto - -package com.google.devtools.artifactregistry.v1; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n1google/devtools/artifactregistry/v1/ve" + - "rsion.proto\022#google.devtools.artifactreg" + - "istry.v1\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\032-google/dev" + - "tools/artifactregistry/v1/tag.proto\032\034goo" + - "gle/protobuf/struct.proto\032\037google/protob" + - "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001" + - " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time" + - "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up" + - "date_time\030\006 \001(\0132\032.google.protobuf.Timest" + - "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto" + - "ols.artifactregistry.v1.Tag\022.\n\010metadata\030" + - "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A" + - "\222\001\n\'artifactregistry.googleapis.com/Vers" + - "ion\022gprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/packages/" + - "{package}/versions/{version}\"\243\001\n\023ListVer" + - "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz" + - "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001(" + - "\01620.google.devtools.artifactregistry.v1." + - "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li" + - "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio" + - "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g" + - "oogle.devtools.artifactregistry.v1.Versi" + - "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001" + - " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE" + - "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F" + - "ULL\020\002B\372\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\014VersionProtoP\001ZSgoogle.golang" + - ".org/genproto/googleapis/devtools/artifa" + - "ctregistry/v1;artifactregistry\252\002 Google." + - "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + - "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + - "tifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java deleted file mode 100644 index 1ec8e04d..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java +++ /dev/null @@ -1,148 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1/yu" + - "m_artifact.proto\022#google.devtools.artifa" + - "ctregistry.v1\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032\027googl" + - "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + - "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + - "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + - ".artifactregistry.v1.YumArtifact.Package" + - "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + - "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + - "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + - "ctregistry.googleapis.com/YumArtifact\022]p" + - "rojects/{project}/locations/{location}/r" + - "epositories/{repository}/yumArtifacts/{y" + - "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + - "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + - "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + - "urce\030\002 \001(\0132@.google.devtools.artifactreg" + - "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + - "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + - "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + - "oogle.devtools.artifactregistry.v1.Impor" + - "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + - "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + - "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + - "\003(\01320.google.devtools.artifactregistry.v" + - "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + - "evtools.artifactregistry.v1.ImportYumArt" + - "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + - "adataB\376\001\n\'com.google.devtools.artifactre" + - "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + - "lang.org/genproto/googleapis/devtools/ar" + - "tifactregistry/v1;artifactregistry\252\002 Goo" + - "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + - "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + - "::ArtifactRegistry::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java b/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java deleted file mode 100644 index bf2e6f04..00000000 --- a/owl-bot-staging/v1beta2/grpc-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ArtifactRegistryGrpc.java +++ /dev/null @@ -1,2456 +0,0 @@ -package com.google.devtools.artifactregistry.v1beta2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * The Artifact Registry API service.
- * Artifact Registry is an artifact management system for storing artifacts
- * from different package management systems.
- * The resources managed by this API are:
- * * Repositories, which group packages and their data.
- * * Packages, which group versions and their tags.
- * * Versions, which are specific forms of a package.
- * * Tags, which represent alternative names for versions.
- * * Files, which contain content and are optionally associated with a Package
- *   or Version.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/devtools/artifactregistry/v1beta2/service.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ArtifactRegistryGrpc { - - private ArtifactRegistryGrpc() {} - - public static final String SERVICE_NAME = "google.devtools.artifactregistry.v1beta2.ArtifactRegistry"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getImportAptArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportAptArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportAptArtifactsMethod() { - io.grpc.MethodDescriptor getImportAptArtifactsMethod; - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportAptArtifactsMethod = ArtifactRegistryGrpc.getImportAptArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportAptArtifactsMethod = getImportAptArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportAptArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportAptArtifacts")) - .build(); - } - } - } - return getImportAptArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportYumArtifactsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportYumArtifacts", - requestType = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportYumArtifactsMethod() { - io.grpc.MethodDescriptor getImportYumArtifactsMethod; - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getImportYumArtifactsMethod = ArtifactRegistryGrpc.getImportYumArtifactsMethod) == null) { - ArtifactRegistryGrpc.getImportYumArtifactsMethod = getImportYumArtifactsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportYumArtifacts")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ImportYumArtifacts")) - .build(); - } - } - } - return getImportYumArtifactsMethod; - } - - private static volatile io.grpc.MethodDescriptor getListRepositoriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListRepositories", - requestType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListRepositoriesMethod() { - io.grpc.MethodDescriptor getListRepositoriesMethod; - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListRepositoriesMethod = ArtifactRegistryGrpc.getListRepositoriesMethod) == null) { - ArtifactRegistryGrpc.getListRepositoriesMethod = getListRepositoriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListRepositories")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListRepositories")) - .build(); - } - } - } - return getListRepositoriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetRepositoryMethod() { - io.grpc.MethodDescriptor getGetRepositoryMethod; - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetRepositoryMethod = ArtifactRegistryGrpc.getGetRepositoryMethod) == null) { - ArtifactRegistryGrpc.getGetRepositoryMethod = getGetRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetRepository")) - .build(); - } - } - } - return getGetRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateRepositoryMethod() { - io.grpc.MethodDescriptor getCreateRepositoryMethod; - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateRepositoryMethod = ArtifactRegistryGrpc.getCreateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getCreateRepositoryMethod = getCreateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateRepository")) - .build(); - } - } - } - return getCreateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Repository.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateRepositoryMethod() { - io.grpc.MethodDescriptor getUpdateRepositoryMethod; - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateRepositoryMethod = ArtifactRegistryGrpc.getUpdateRepositoryMethod) == null) { - ArtifactRegistryGrpc.getUpdateRepositoryMethod = getUpdateRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateRepository")) - .build(); - } - } - } - return getUpdateRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteRepositoryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteRepository", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteRepositoryMethod() { - io.grpc.MethodDescriptor getDeleteRepositoryMethod; - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteRepositoryMethod = ArtifactRegistryGrpc.getDeleteRepositoryMethod) == null) { - ArtifactRegistryGrpc.getDeleteRepositoryMethod = getDeleteRepositoryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteRepository")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteRepository")) - .build(); - } - } - } - return getDeleteRepositoryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListPackagesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListPackages", - requestType = com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListPackagesMethod() { - io.grpc.MethodDescriptor getListPackagesMethod; - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListPackagesMethod = ArtifactRegistryGrpc.getListPackagesMethod) == null) { - ArtifactRegistryGrpc.getListPackagesMethod = getListPackagesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListPackages")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListPackages")) - .build(); - } - } - } - return getListPackagesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetPackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetPackage", - requestType = com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Package.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetPackageMethod() { - io.grpc.MethodDescriptor getGetPackageMethod; - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetPackageMethod = ArtifactRegistryGrpc.getGetPackageMethod) == null) { - ArtifactRegistryGrpc.getGetPackageMethod = getGetPackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetPackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetPackage")) - .build(); - } - } - } - return getGetPackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeletePackageMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeletePackage", - requestType = com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeletePackageMethod() { - io.grpc.MethodDescriptor getDeletePackageMethod; - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeletePackageMethod = ArtifactRegistryGrpc.getDeletePackageMethod) == null) { - ArtifactRegistryGrpc.getDeletePackageMethod = getDeletePackageMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeletePackage")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeletePackage")) - .build(); - } - } - } - return getDeletePackageMethod; - } - - private static volatile io.grpc.MethodDescriptor getListVersionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListVersions", - requestType = com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListVersionsMethod() { - io.grpc.MethodDescriptor getListVersionsMethod; - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListVersionsMethod = ArtifactRegistryGrpc.getListVersionsMethod) == null) { - ArtifactRegistryGrpc.getListVersionsMethod = getListVersionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVersions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListVersions")) - .build(); - } - } - } - return getListVersionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Version.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetVersionMethod() { - io.grpc.MethodDescriptor getGetVersionMethod; - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetVersionMethod = ArtifactRegistryGrpc.getGetVersionMethod) == null) { - ArtifactRegistryGrpc.getGetVersionMethod = getGetVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetVersion")) - .build(); - } - } - } - return getGetVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteVersionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteVersion", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteVersionMethod() { - io.grpc.MethodDescriptor getDeleteVersionMethod; - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteVersionMethod = ArtifactRegistryGrpc.getDeleteVersionMethod) == null) { - ArtifactRegistryGrpc.getDeleteVersionMethod = getDeleteVersionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVersion")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteVersion")) - .build(); - } - } - } - return getDeleteVersionMethod; - } - - private static volatile io.grpc.MethodDescriptor getListFilesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListFiles", - requestType = com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListFilesMethod() { - io.grpc.MethodDescriptor getListFilesMethod; - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListFilesMethod = ArtifactRegistryGrpc.getListFilesMethod) == null) { - ArtifactRegistryGrpc.getListFilesMethod = getListFilesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListFiles")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListFiles")) - .build(); - } - } - } - return getListFilesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetFileMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetFile", - requestType = com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.File.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetFileMethod() { - io.grpc.MethodDescriptor getGetFileMethod; - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetFileMethod = ArtifactRegistryGrpc.getGetFileMethod) == null) { - ArtifactRegistryGrpc.getGetFileMethod = getGetFileMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetFile")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetFile")) - .build(); - } - } - } - return getGetFileMethod; - } - - private static volatile io.grpc.MethodDescriptor getListTagsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListTags", - requestType = com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListTagsMethod() { - io.grpc.MethodDescriptor getListTagsMethod; - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getListTagsMethod = ArtifactRegistryGrpc.getListTagsMethod) == null) { - ArtifactRegistryGrpc.getListTagsMethod = getListTagsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListTags")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("ListTags")) - .build(); - } - } - } - return getListTagsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetTag", - requestType = com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetTagMethod() { - io.grpc.MethodDescriptor getGetTagMethod; - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetTagMethod = ArtifactRegistryGrpc.getGetTagMethod) == null) { - ArtifactRegistryGrpc.getGetTagMethod = getGetTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetTag")) - .build(); - } - } - } - return getGetTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateTagMethod() { - io.grpc.MethodDescriptor getCreateTagMethod; - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getCreateTagMethod = ArtifactRegistryGrpc.getCreateTagMethod) == null) { - ArtifactRegistryGrpc.getCreateTagMethod = getCreateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("CreateTag")) - .build(); - } - } - } - return getCreateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateTag", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.Tag.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateTagMethod() { - io.grpc.MethodDescriptor getUpdateTagMethod; - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateTagMethod = ArtifactRegistryGrpc.getUpdateTagMethod) == null) { - ArtifactRegistryGrpc.getUpdateTagMethod = getUpdateTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateTag")) - .build(); - } - } - } - return getUpdateTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteTagMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteTag", - requestType = com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, - responseType = com.google.protobuf.Empty.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteTagMethod() { - io.grpc.MethodDescriptor getDeleteTagMethod; - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getDeleteTagMethod = ArtifactRegistryGrpc.getDeleteTagMethod) == null) { - ArtifactRegistryGrpc.getDeleteTagMethod = getDeleteTagMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteTag")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("DeleteTag")) - .build(); - } - } - } - return getDeleteTagMethod; - } - - private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", - requestType = com.google.iam.v1.SetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { - io.grpc.MethodDescriptor getSetIamPolicyMethod; - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getSetIamPolicyMethod = ArtifactRegistryGrpc.getSetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("SetIamPolicy")) - .build(); - } - } - } - return getSetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", - requestType = com.google.iam.v1.GetIamPolicyRequest.class, - responseType = com.google.iam.v1.Policy.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { - io.grpc.MethodDescriptor getGetIamPolicyMethod; - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetIamPolicyMethod = ArtifactRegistryGrpc.getGetIamPolicyMethod) == null) { - ArtifactRegistryGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetIamPolicy")) - .build(); - } - } - } - return getGetIamPolicyMethod; - } - - private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", - requestType = com.google.iam.v1.TestIamPermissionsRequest.class, - responseType = com.google.iam.v1.TestIamPermissionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor getTestIamPermissionsMethod; - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getTestIamPermissionsMethod = ArtifactRegistryGrpc.getTestIamPermissionsMethod) == null) { - ArtifactRegistryGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("TestIamPermissions")) - .build(); - } - } - } - return getTestIamPermissionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetProjectSettingsMethod() { - io.grpc.MethodDescriptor getGetProjectSettingsMethod; - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getGetProjectSettingsMethod = ArtifactRegistryGrpc.getGetProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getGetProjectSettingsMethod = getGetProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("GetProjectSettings")) - .build(); - } - } - } - return getGetProjectSettingsMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateProjectSettings", - requestType = com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, - responseType = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateProjectSettingsMethod() { - io.grpc.MethodDescriptor getUpdateProjectSettingsMethod; - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - synchronized (ArtifactRegistryGrpc.class) { - if ((getUpdateProjectSettingsMethod = ArtifactRegistryGrpc.getUpdateProjectSettingsMethod) == null) { - ArtifactRegistryGrpc.getUpdateProjectSettingsMethod = getUpdateProjectSettingsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateProjectSettings")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance())) - .setSchemaDescriptor(new ArtifactRegistryMethodDescriptorSupplier("UpdateProjectSettings")) - .build(); - } - } - } - return getUpdateProjectSettingsMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ArtifactRegistryStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - }; - return ArtifactRegistryStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ArtifactRegistryBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - }; - return ArtifactRegistryBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ArtifactRegistryFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ArtifactRegistryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - }; - return ArtifactRegistryFutureStub.newStub(factory, channel); - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static abstract class ArtifactRegistryImplBase implements io.grpc.BindableService { - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportAptArtifactsMethod(), responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportYumArtifactsMethod(), responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListRepositoriesMethod(), responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRepositoryMethod(), responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRepositoryMethod(), responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteRepositoryMethod(), responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListPackagesMethod(), responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPackageMethod(), responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeletePackageMethod(), responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVersionsMethod(), responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVersionMethod(), responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVersionMethod(), responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListFilesMethod(), responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetFileMethod(), responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListTagsMethod(), responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTagMethod(), responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTagMethod(), responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateTagMethod(), responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteTagMethod(), responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIamPolicyMethod(), responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestIamPermissionsMethod(), responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectSettingsMethod(), responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateProjectSettingsMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getImportAptArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_APT_ARTIFACTS))) - .addMethod( - getImportYumArtifactsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest, - com.google.longrunning.Operation>( - this, METHODID_IMPORT_YUM_ARTIFACTS))) - .addMethod( - getListRepositoriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest, - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse>( - this, METHODID_LIST_REPOSITORIES))) - .addMethod( - getGetRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_GET_REPOSITORY))) - .addMethod( - getCreateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_REPOSITORY))) - .addMethod( - getUpdateRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest, - com.google.devtools.artifactregistry.v1beta2.Repository>( - this, METHODID_UPDATE_REPOSITORY))) - .addMethod( - getDeleteRepositoryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_REPOSITORY))) - .addMethod( - getListPackagesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest, - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse>( - this, METHODID_LIST_PACKAGES))) - .addMethod( - getGetPackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest, - com.google.devtools.artifactregistry.v1beta2.Package>( - this, METHODID_GET_PACKAGE))) - .addMethod( - getDeletePackageMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_PACKAGE))) - .addMethod( - getListVersionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest, - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse>( - this, METHODID_LIST_VERSIONS))) - .addMethod( - getGetVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest, - com.google.devtools.artifactregistry.v1beta2.Version>( - this, METHODID_GET_VERSION))) - .addMethod( - getDeleteVersionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_VERSION))) - .addMethod( - getListFilesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest, - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse>( - this, METHODID_LIST_FILES))) - .addMethod( - getGetFileMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetFileRequest, - com.google.devtools.artifactregistry.v1beta2.File>( - this, METHODID_GET_FILE))) - .addMethod( - getListTagsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest, - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse>( - this, METHODID_LIST_TAGS))) - .addMethod( - getGetTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_GET_TAG))) - .addMethod( - getCreateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_CREATE_TAG))) - .addMethod( - getUpdateTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest, - com.google.devtools.artifactregistry.v1beta2.Tag>( - this, METHODID_UPDATE_TAG))) - .addMethod( - getDeleteTagMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest, - com.google.protobuf.Empty>( - this, METHODID_DELETE_TAG))) - .addMethod( - getSetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.SetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_SET_IAM_POLICY))) - .addMethod( - getGetIamPolicyMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.GetIamPolicyRequest, - com.google.iam.v1.Policy>( - this, METHODID_GET_IAM_POLICY))) - .addMethod( - getTestIamPermissionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse>( - this, METHODID_TEST_IAM_PERMISSIONS))) - .addMethod( - getGetProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_GET_PROJECT_SETTINGS))) - .addMethod( - getUpdateProjectSettingsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest, - com.google.devtools.artifactregistry.v1beta2.ProjectSettings>( - this, METHODID_UPDATE_PROJECT_SETTINGS))) - .build(); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryStub extends io.grpc.stub.AbstractAsyncStub { - private ArtifactRegistryStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public void importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public void listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public void getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public void createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public void updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public void deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public void listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public void getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public void deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public void listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a version
-     * 
- */ - public void getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public void deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists files.
-     * 
- */ - public void listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public void getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public void listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public void getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public void createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public void updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public void deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public void setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public void getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public void testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public void getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public void updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private ArtifactRegistryBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryBlockingStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importAptArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportAptArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.longrunning.Operation importYumArtifacts(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportYumArtifactsMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse listRepositories(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListRepositoriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository getRepository(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.longrunning.Operation createRepository(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Repository updateRepository(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.longrunning.Operation deleteRepository(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteRepositoryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse listPackages(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListPackagesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Package getPackage(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetPackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deletePackage(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeletePackageMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse listVersions(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListVersionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Version getVersion(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.longrunning.Operation deleteVersion(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteVersionMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse listFiles(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFilesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.File getFile(com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFileMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse listTags(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListTagsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag getTag(com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag createTag(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.Tag updateTag(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.protobuf.Empty deleteTag(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteTagMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetProjectSettingsMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings updateProjectSettings(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateProjectSettingsMethod(), getCallOptions(), request); - } - } - - /** - *
-   * The Artifact Registry API service.
-   * Artifact Registry is an artifact management system for storing artifacts
-   * from different package management systems.
-   * The resources managed by this API are:
-   * * Repositories, which group packages and their data.
-   * * Packages, which group versions and their tags.
-   * * Versions, which are specific forms of a package.
-   * * Tags, which represent alternative names for versions.
-   * * Files, which contain content and are optionally associated with a Package
-   *   or Version.
-   * 
- */ - public static final class ArtifactRegistryFutureStub extends io.grpc.stub.AbstractFutureStub { - private ArtifactRegistryFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ArtifactRegistryFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ArtifactRegistryFutureStub(channel, callOptions); - } - - /** - *
-     * Imports Apt artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importAptArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportAptArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports Yum (RPM) artifacts. The returned Operation will complete once the
-     * resources are imported. Package, Version, and File resources are created
-     * based on the imported artifacts. Imported artifacts that conflict with
-     * existing resources are ignored.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importYumArtifacts( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportYumArtifactsMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists repositories.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listRepositories( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListRepositoriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getRepository( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a repository. The returned Operation will finish once the
-     * repository has been created. Its response will be the created Repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createRepository( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a repository.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateRepository( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a repository and all of its contents. The returned Operation will
-     * finish once the repository has been deleted. It will not have any Operation
-     * metadata and will return a google.protobuf.Empty response.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteRepository( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteRepositoryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists packages.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listPackages( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListPackagesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a package.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getPackage( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetPackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a package and all of its versions and tags. The returned operation
-     * will complete once the package has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deletePackage( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeletePackageMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists versions.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listVersions( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListVersionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a version
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getVersion( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a version and all of its content. The returned operation will
-     * complete once the version has been deleted.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteVersion( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteVersionMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists files.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listFiles( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFilesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a file.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getFile( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetFileMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists tags.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listTags( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListTagsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getTag( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createTag( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateTag( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a tag.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteTag( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteTagMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture setIamPolicy( - com.google.iam.v1.SetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets the IAM policy for a given resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIamPolicy( - com.google.iam.v1.GetIamPolicyRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); - } - - /** - *
-     * Tests if the caller has a list of permissions on a resource.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture testIamPermissions( - com.google.iam.v1.TestIamPermissionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Retrieves the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getProjectSettings( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetProjectSettingsMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates the Settings for the Project.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateProjectSettings( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateProjectSettingsMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_IMPORT_APT_ARTIFACTS = 0; - private static final int METHODID_IMPORT_YUM_ARTIFACTS = 1; - private static final int METHODID_LIST_REPOSITORIES = 2; - private static final int METHODID_GET_REPOSITORY = 3; - private static final int METHODID_CREATE_REPOSITORY = 4; - private static final int METHODID_UPDATE_REPOSITORY = 5; - private static final int METHODID_DELETE_REPOSITORY = 6; - private static final int METHODID_LIST_PACKAGES = 7; - private static final int METHODID_GET_PACKAGE = 8; - private static final int METHODID_DELETE_PACKAGE = 9; - private static final int METHODID_LIST_VERSIONS = 10; - private static final int METHODID_GET_VERSION = 11; - private static final int METHODID_DELETE_VERSION = 12; - private static final int METHODID_LIST_FILES = 13; - private static final int METHODID_GET_FILE = 14; - private static final int METHODID_LIST_TAGS = 15; - private static final int METHODID_GET_TAG = 16; - private static final int METHODID_CREATE_TAG = 17; - private static final int METHODID_UPDATE_TAG = 18; - private static final int METHODID_DELETE_TAG = 19; - private static final int METHODID_SET_IAM_POLICY = 20; - private static final int METHODID_GET_IAM_POLICY = 21; - private static final int METHODID_TEST_IAM_PERMISSIONS = 22; - private static final int METHODID_GET_PROJECT_SETTINGS = 23; - private static final int METHODID_UPDATE_PROJECT_SETTINGS = 24; - - 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 ArtifactRegistryImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ArtifactRegistryImplBase 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_IMPORT_APT_ARTIFACTS: - serviceImpl.importAptArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_YUM_ARTIFACTS: - serviceImpl.importYumArtifacts((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_REPOSITORIES: - serviceImpl.listRepositories((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_REPOSITORY: - serviceImpl.getRepository((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_REPOSITORY: - serviceImpl.createRepository((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_REPOSITORY: - serviceImpl.updateRepository((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_REPOSITORY: - serviceImpl.deleteRepository((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_PACKAGES: - serviceImpl.listPackages((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PACKAGE: - serviceImpl.getPackage((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_PACKAGE: - serviceImpl.deletePackage((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_VERSIONS: - serviceImpl.listVersions((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_VERSION: - serviceImpl.getVersion((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_VERSION: - serviceImpl.deleteVersion((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_FILES: - serviceImpl.listFiles((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_FILE: - serviceImpl.getFile((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_TAGS: - serviceImpl.listTags((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_TAG: - serviceImpl.getTag((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_TAG: - serviceImpl.createTag((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_TAG: - serviceImpl.updateTag((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_TAG: - serviceImpl.deleteTag((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_SET_IAM_POLICY: - serviceImpl.setIamPolicy((com.google.iam.v1.SetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_IAM_POLICY: - serviceImpl.getIamPolicy((com.google.iam.v1.GetIamPolicyRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_TEST_IAM_PERMISSIONS: - serviceImpl.testIamPermissions((com.google.iam.v1.TestIamPermissionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_PROJECT_SETTINGS: - serviceImpl.getProjectSettings((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_PROJECT_SETTINGS: - serviceImpl.updateProjectSettings((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - private static abstract class ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ArtifactRegistryBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("ArtifactRegistry"); - } - } - - private static final class ArtifactRegistryFileDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier { - ArtifactRegistryFileDescriptorSupplier() {} - } - - private static final class ArtifactRegistryMethodDescriptorSupplier - extends ArtifactRegistryBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ArtifactRegistryMethodDescriptorSupplier(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 (ArtifactRegistryGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ArtifactRegistryFileDescriptorSupplier()) - .addMethod(getImportAptArtifactsMethod()) - .addMethod(getImportYumArtifactsMethod()) - .addMethod(getListRepositoriesMethod()) - .addMethod(getGetRepositoryMethod()) - .addMethod(getCreateRepositoryMethod()) - .addMethod(getUpdateRepositoryMethod()) - .addMethod(getDeleteRepositoryMethod()) - .addMethod(getListPackagesMethod()) - .addMethod(getGetPackageMethod()) - .addMethod(getDeletePackageMethod()) - .addMethod(getListVersionsMethod()) - .addMethod(getGetVersionMethod()) - .addMethod(getDeleteVersionMethod()) - .addMethod(getListFilesMethod()) - .addMethod(getGetFileMethod()) - .addMethod(getListTagsMethod()) - .addMethod(getGetTagMethod()) - .addMethod(getCreateTagMethod()) - .addMethod(getUpdateTagMethod()) - .addMethod(getDeleteTagMethod()) - .addMethod(getSetIamPolicyMethod()) - .addMethod(getGetIamPolicyMethod()) - .addMethod(getTestIamPermissionsMethod()) - .addMethod(getGetProjectSettingsMethod()) - .addMethod(getUpdateProjectSettingsMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java deleted file mode 100644 index eabaa203..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java +++ /dev/null @@ -1,157 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class AptArtifactProto { - private AptArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/apt_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.AptArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + - "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + - " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + - "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + - "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + - "ptArtifact\022]projects/{project}/locations" + - "/{location}/repositories/{repository}/ap" + - "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + - "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + - "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + - "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + - "s.artifactregistry.v1beta2.ImportAptArti" + - "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + - "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + - "s_source\030\001 \001(\0132E.google.devtools.artifac" + - "tregistry.v1beta2.ImportAptArtifactsGcsS" + - "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + - "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + - "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + - "ools.artifactregistry.v1beta2.AptArtifac" + - "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + - "factregistry.v1beta2.ImportAptArtifactsE" + - "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + - "\002\n,com.google.devtools.artifactregistry." + - "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + - "ng.org/genproto/googleapis/devtools/arti" + - "factregistry/v1beta2;artifactregistry\252\002%" + - "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + - "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + - "Google::Cloud::ArtifactRegistry::V1beta2" + - "b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, - new java.lang.String[] { "AptArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java deleted file mode 100644 index 0df0c1b7..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeletePackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java deleted file mode 100644 index b29d4e2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to delete.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java deleted file mode 100644 index 9be43f2f..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface DeleteTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to delete.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java deleted file mode 100644 index c605f981..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java +++ /dev/null @@ -1,130 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class FileProto { - private FileProto() {} - 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_devtools_artifactregistry_v1beta2_Hash_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n3google/devtools/artifactregistry/v1bet" + - "a2/file.proto\022(google.devtools.artifactr" + - "egistry.v1beta2\032\034google/api/annotations." + - "proto\032\031google/api/resource.proto\032\037google" + - "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + - "pe\030\001 \001(\01627.google.devtools.artifactregis" + - "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + - "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + - "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + - "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + - "..google.devtools.artifactregistry.v1bet" + - "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + - ":y\352Av\n$artifactregistry.googleapis.com/F" + - "ile\022Nprojects/{project}/locations/{locat" + - "ion}/repositories/{repository}/files/{fi" + - "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + - "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + - "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + - "iles\030\001 \003(\0132..google.devtools.artifactreg" + - "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + - "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + - "com.google.devtools.artifactregistry.v1b" + - "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + - "proto/googleapis/devtools/artifactregist" + - "ry/v1beta2;artifactregistry\252\002%Google.Clo" + - "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + - "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + - "oud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, - new java.lang.String[] { "Type", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, - new java.lang.String[] { "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, - new java.lang.String[] { "Files", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java deleted file mode 100644 index 13fd2797..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/file.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetFileRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the file to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java deleted file mode 100644 index 0521cb2b..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetPackageRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the package to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java deleted file mode 100644 index cfd70f3e..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetProjectSettingsRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java deleted file mode 100644 index ad095e24..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetRepositoryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. The name of the repository to retrieve.
-   * 
- * - * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java deleted file mode 100644 index 31d1c627..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java +++ /dev/null @@ -1,29 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface GetTagRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the tag to retrieve.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java deleted file mode 100644 index 343d02be..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportAptArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java deleted file mode 100644 index 9ea4c192..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface ImportYumArtifactsMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java deleted file mode 100644 index 9d96bd08..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java +++ /dev/null @@ -1,9 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public interface OperationMetadataOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) - com.google.protobuf.MessageOrBuilder { -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java deleted file mode 100644 index 0e725b25..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java +++ /dev/null @@ -1,115 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/package.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class PackageProto { - private PackageProto() {} - 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_devtools_artifactregistry_v1beta2_Package_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/package.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\037google/protobuf/time" + - "stamp.proto\032\034google/api/annotations.prot" + - "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n" + - "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google." + - "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132" + - "\032.google.protobuf.Timestamp\"L\n\023ListPacka" + - "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030" + - "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage" + - "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev" + - "tools.artifactregistry.v1beta2.Package\022\027" + - "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq" + - "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque" + - "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools" + - ".artifactregistry.v1beta2B\014PackageProtoP" + - "\001ZXgoogle.golang.org/genproto/googleapis" + - "/devtools/artifactregistry/v1beta2;artif" + - "actregistry\252\002%Google.Cloud.ArtifactRegis" + - "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis" + - "try\\V1beta2\352\002(Google::Cloud::ArtifactReg" + - "istry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.protobuf.TimestampProto.getDescriptor(), - com.google.api.AnnotationsProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor, - new java.lang.String[] { "Name", "DisplayName", "CreateTime", "UpdateTime", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor, - new java.lang.String[] { "Packages", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.TimestampProto.getDescriptor(); - com.google.api.AnnotationsProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java deleted file mode 100644 index 39b40092..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/repository.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class RepositoryProto { - private RepositoryProto() {} - 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_devtools_artifactregistry_v1beta2_Repository_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/devtools/artifactregistry/v1bet" + - "a2/repository.proto\022(google.devtools.art" + - "ifactregistry.v1beta2\032\034google/api/annota" + - "tions.proto\032\037google/api/field_behavior.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\032\037google/protob" + - "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + - "en_config\030\t \001(\0132J.google.devtools.artifa" + - "ctregistry.v1beta2.Repository.MavenRepos" + - "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + - "\001(\0162;.google.devtools.artifactregistry.v" + - "1beta2.Repository.Format\022\023\n\013description\030" + - "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + - "artifactregistry.v1beta2.Repository.Labe" + - "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + - "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + - "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + - "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + - "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + - "policy\030\002 \001(\0162X.google.devtools.artifactr" + - "egistry.v1beta2.Repository.MavenReposito" + - "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + - "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + - "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + - "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + - "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + - "\010:r\352Ao\n*artifactregistry.googleapis.com/" + - "Repository\022Aprojects/{project}/locations" + - "/{location}/repositories/{repository}B\017\n" + - "\rformat_config\"\204\001\n\027ListRepositoriesReque" + - "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + - "stry.googleapis.com/Repository\022\021\n\tpage_s" + - "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + - "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + - "4.google.devtools.artifactregistry.v1bet" + - "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + - "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + - "\002\372A,\n*artifactregistry.googleapis.com/Re" + - "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + - "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + - "oogleapis.com/Repository\022\025\n\rrepository_i" + - "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + - "tools.artifactregistry.v1beta2.Repositor" + - "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + - "ory\030\001 \001(\01324.google.devtools.artifactregi" + - "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + - " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + - "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + - ",\n*artifactregistry.googleapis.com/Repos" + - "itoryB\226\002\n,com.google.devtools.artifactre" + - "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + - "e.golang.org/genproto/googleapis/devtool" + - "s/artifactregistry/v1beta2;artifactregis" + - "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + - "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + - "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + - "1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, - new java.lang.String[] { "MavenConfig", "Name", "Format", "Description", "Labels", "CreateTime", "UpdateTime", "KmsKeyName", "FormatConfig", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, - new java.lang.String[] { "AllowSnapshotOverwrites", "VersionPolicy", }); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = - internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor.getNestedTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, - new java.lang.String[] { "Repositories", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, - new java.lang.String[] { "Parent", "RepositoryId", "Repository", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, - new java.lang.String[] { "Repository", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java deleted file mode 100644 index 2ae49699..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java +++ /dev/null @@ -1,262 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/service.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class ServiceProto { - private ServiceProto() {} - 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/service.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032;googl" + - "e/devtools/artifactregistry/v1beta2/apt_" + - "artifact.proto\0323google/devtools/artifact" + - "registry/v1beta2/file.proto\0326google/devt" + - "ools/artifactregistry/v1beta2/package.pr" + - "oto\0329google/devtools/artifactregistry/v1" + - "beta2/repository.proto\0327google/devtools/" + - "artifactregistry/v1beta2/settings.proto\032" + - "2google/devtools/artifactregistry/v1beta" + - "2/tag.proto\0326google/devtools/artifactreg" + - "istry/v1beta2/version.proto\032;google/devt" + - "ools/artifactregistry/v1beta2/yum_artifa" + - "ct.proto\032\036google/iam/v1/iam_policy.proto" + - "\032\032google/iam/v1/policy.proto\032#google/lon" + - "grunning/operations.proto\032\033google/protob" + - "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + - "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + - "C.google.devtools.artifactregistry.v1bet" + - "a2.ImportAptArtifactsRequest\032\035.google.lo" + - "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + - "parent=projects/*/locations/*/repositori" + - "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + - ".devtools.artifactregistry.v1beta2.Impor" + - "tAptArtifactsResponse\022Cgoogle.devtools.a" + - "rtifactregistry.v1beta2.ImportAptArtifac" + - "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + - "le.devtools.artifactregistry.v1beta2.Imp" + - "ortYumArtifactsRequest\032\035.google.longrunn" + - "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + - "=projects/*/locations/*/repositories/*}/" + - "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + - "ols.artifactregistry.v1beta2.ImportYumAr" + - "tifactsResponse\022Cgoogle.devtools.artifac" + - "tregistry.v1beta2.ImportYumArtifactsMeta" + - "data\022\341\001\n\020ListRepositories\022A.google.devto" + - "ols.artifactregistry.v1beta2.ListReposit" + - "oriesRequest\032B.google.devtools.artifactr" + - "egistry.v1beta2.ListRepositoriesResponse" + - "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + - "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + - "Repository\022>.google.devtools.artifactreg" + - "istry.v1beta2.GetRepositoryRequest\0324.goo" + - "gle.devtools.artifactregistry.v1beta2.Re" + - "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + - "s/*/locations/*/repositories/*}\332A\004name\022\326" + - "\002\n\020CreateRepository\022A.google.devtools.ar" + - "tifactregistry.v1beta2.CreateRepositoryR" + - "equest\032\035.google.longrunning.Operation\"\337\001" + - "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + - "tions/*}/repositories:\nrepository\332A\037pare" + - "nt,repository,repository_id\312Aq\n3google.d" + - "evtools.artifactregistry.v1beta2.Reposit" + - "ory\022:google.devtools.artifactregistry.v1" + - "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + - "tory\022A.google.devtools.artifactregistry." + - "v1beta2.UpdateRepositoryRequest\0324.google" + - ".devtools.artifactregistry.v1beta2.Repos" + - "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + - "=projects/*/locations/*/repositories/*}:" + - "\nrepository\332A\026repository,update_mask\022\221\002\n" + - "\020DeleteRepository\022A.google.devtools.arti" + - "factregistry.v1beta2.DeleteRepositoryReq" + - "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + - "\344\223\0027*5/v1beta2/{name=projects/*/location" + - "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + - "otobuf.Empty\022:google.devtools.artifactre" + - "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + - "tPackages\022=.google.devtools.artifactregi" + - "stry.v1beta2.ListPackagesRequest\032>.googl" + - "e.devtools.artifactregistry.v1beta2.List" + - "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + - "nt=projects/*/locations/*/repositories/*" + - "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + - "gle.devtools.artifactregistry.v1beta2.Ge" + - "tPackageRequest\0321.google.devtools.artifa" + - "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + - "eta2/{name=projects/*/locations/*/reposi" + - "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + - "ckage\022>.google.devtools.artifactregistry" + - ".v1beta2.DeletePackageRequest\032\035.google.l" + - "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + - "{name=projects/*/locations/*/repositorie" + - "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + - "uf.Empty\022:google.devtools.artifactregist" + - "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + - "sions\022=.google.devtools.artifactregistry" + - ".v1beta2.ListVersionsRequest\032>.google.de" + - "vtools.artifactregistry.v1beta2.ListVers" + - "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + - "rojects/*/locations/*/repositories/*/pac" + - "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + - "n\022;.google.devtools.artifactregistry.v1b" + - "eta2.GetVersionRequest\0321.google.devtools" + - ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + - "M\022K/v1beta2/{name=projects/*/locations/*" + - "/repositories/*/packages/*/versions/*}\332A" + - "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + - "s.artifactregistry.v1beta2.DeleteVersion" + - "Request\032\035.google.longrunning.Operation\"\260" + - "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + - "ions/*/repositories/*/packages/*/version" + - "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + - "oogle.devtools.artifactregistry.v1beta2." + - "OperationMetadata\022\324\001\n\tListFiles\022:.google" + - ".devtools.artifactregistry.v1beta2.ListF" + - "ilesRequest\032;.google.devtools.artifactre" + - "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + - "\022=/v1beta2/{parent=projects/*/locations/" + - "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + - "File\0228.google.devtools.artifactregistry." + - "v1beta2.GetFileRequest\032..google.devtools" + - ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + - "/v1beta2/{name=projects/*/locations/*/re" + - "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + - "gs\0229.google.devtools.artifactregistry.v1" + - "beta2.ListTagsRequest\032:.google.devtools." + - "artifactregistry.v1beta2.ListTagsRespons" + - "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + - "ocations/*/repositories/*/packages/*}/ta" + - "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + - ".artifactregistry.v1beta2.GetTagRequest\032" + - "-.google.devtools.artifactregistry.v1bet" + - "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + - "vtools.artifactregistry.v1beta2.CreateTa" + - "gRequest\032-.google.devtools.artifactregis" + - "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + - "t=projects/*/locations/*/repositories/*/" + - "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + - "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + - "ctregistry.v1beta2.UpdateTagRequest\032-.go" + - "ogle.devtools.artifactregistry.v1beta2.T" + - "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + - "*/locations/*/repositories/*/packages/*/" + - "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + - "eTag\022:.google.devtools.artifactregistry." + - "v1beta2.DeleteTagRequest\032\026.google.protob" + - "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + - "s/*/locations/*/repositories/*/packages/" + - "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + - "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + - "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + - "=projects/*/locations/*/repositories/*}:" + - "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + - "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + - "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + - "projects/*/locations/*/repositories/*}:g" + - "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + - "gle.iam.v1.TestIamPermissionsRequest\032).g" + - "oogle.iam.v1.TestIamPermissionsResponse\"" + - "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + - "ocations/*/repositories/*}:testIamPermis" + - "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + - ".devtools.artifactregistry.v1beta2.GetPr" + - "ojectSettingsRequest\0329.google.devtools.a" + - "rtifactregistry.v1beta2.ProjectSettings\"" + - "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + - "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + - "ings\022F.google.devtools.artifactregistry." + - "v1beta2.UpdateProjectSettingsRequest\0329.g" + - "oogle.devtools.artifactregistry.v1beta2." + - "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + - "ct_settings.name=projects/*/projectSetti" + - "ngs}:\020project_settings\332A\034project_setting" + - "s,update_mask\032\214\001\312A\037artifactregistry.goog" + - "leapis.com\322Aghttps://www.googleapis.com/" + - "auth/cloud-platform,https://www.googleap" + - "is.com/auth/cloud-platform.read-onlyB\223\002\n" + - ",com.google.devtools.artifactregistry.v1" + - "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + - "/genproto/googleapis/devtools/artifactre" + - "gistry/v1beta2;artifactregistry\252\002%Google" + - ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + - "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + - "::Cloud::ArtifactRegistry::V1beta2b\006prot" + - "o3" - }; - 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), - com.google.iam.v1.IamPolicyProto.getDescriptor(), - com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ClientProto.defaultHost); - 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.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); - com.google.iam.v1.IamPolicyProto.getDescriptor(); - com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java deleted file mode 100644 index e3b740d3..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java +++ /dev/null @@ -1,112 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/settings.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class SettingsProto { - private SettingsProto() {} - 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n7google/devtools/artifactregistry/v1bet" + - "a2/settings.proto\022(google.devtools.artif" + - "actregistry.v1beta2\032\034google/api/annotati" + - "ons.proto\032\037google/api/field_behavior.pro" + - "to\032\031google/api/resource.proto\032 google/pr" + - "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + - "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + - "state\030\002 \001(\0162J.google.devtools.artifactre" + - "gistry.v1beta2.ProjectSettings.Redirecti" + - "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + - "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + - "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + - "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + - "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + - ".googleapis.com/ProjectSettings\022\"project" + - "s/{project}/projectSettings\"b\n\031GetProjec" + - "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + - "artifactregistry.googleapis.com/ProjectS" + - "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + - "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + - "ools.artifactregistry.v1beta2.ProjectSet" + - "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + - "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + - "rtifactregistry.v1beta2B\rSettingsProtoP\001" + - "ZXgoogle.golang.org/genproto/googleapis/" + - "devtools/artifactregistry/v1beta2;artifa" + - "ctregistry\252\002%Google.Cloud.ArtifactRegist" + - "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + - "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + - "stry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, - new java.lang.String[] { "Name", "LegacyRedirectionState", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, - new java.lang.String[] { "ProjectSettings", "UpdateMask", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java deleted file mode 100644 index 392fa000..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java +++ /dev/null @@ -1,151 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/tag.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class TagProto { - private TagProto() {} - 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_devtools_artifactregistry_v1beta2_Tag_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n2google/devtools/artifactregistry/v1bet" + - "a2/tag.proto\022(google.devtools.artifactre" + - "gistry.v1beta2\032\034google/api/annotations.p" + - "roto\032\031google/api/resource.proto\032 google/" + - "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + - "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + - "tregistry.googleapis.com/Tag\022_projects/{" + - "project}/locations/{location}/repositori" + - "es/{repository}/packages/{package}/tags/" + - "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + - "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + - "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + - "ags\030\001 \003(\0132-.google.devtools.artifactregi" + - "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + - "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + - "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + - " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + - "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + - "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + - "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\010Ta" + - "gProtoP\001ZXgoogle.golang.org/genproto/goo" + - "gleapis/devtools/artifactregistry/v1beta" + - "2;artifactregistry\252\002%Google.Cloud.Artifa" + - "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + - "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + - "factRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, - new java.lang.String[] { "Name", "Version", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, - new java.lang.String[] { "Parent", "Filter", "PageSize", "PageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, - new java.lang.String[] { "Tags", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, - new java.lang.String[] { "Parent", "TagId", "Tag", }); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, - new java.lang.String[] { "Tag", "UpdateMask", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, - new java.lang.String[] { "Name", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java deleted file mode 100644 index cd58bc89..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java +++ /dev/null @@ -1,145 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/version.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class VersionProto { - private VersionProto() {} - 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_devtools_artifactregistry_v1beta2_Version_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n6google/devtools/artifactregistry/v1bet" + - "a2/version.proto\022(google.devtools.artifa" + - "ctregistry.v1beta2\032\034google/api/annotatio" + - "ns.proto\032\037google/api/field_behavior.prot" + - "o\032\031google/api/resource.proto\0322google/dev" + - "tools/artifactregistry/v1beta2/tag.proto" + - "\032\034google/protobuf/struct.proto\032\037google/p" + - "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n" + - "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create" + - "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022" + - "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T" + - "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google." + - "devtools.artifactregistry.v1beta2.Tag\022.\n" + - "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct" + - "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi" + - "s.com/Version\022gprojects/{project}/locati" + - "ons/{location}/repositories/{repository}" + - "/packages/{package}/versions/{version}\"\250" + - "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021" + - "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n" + - "\004view\030\004 \001(\01625.google.devtools.artifactre" + - "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005" + - " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver" + - "sions\030\001 \003(\01321.google.devtools.artifactre" + - "gistry.v1beta2.Version\022\027\n\017next_page_toke" + - "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001" + - "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif" + - "actregistry.v1beta2.VersionView\"3\n\024Delet" + - "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002" + - " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP" + - "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g" + - "oogle.devtools.artifactregistry.v1beta2B" + - "\014VersionProtoP\001ZXgoogle.golang.org/genpr" + - "oto/googleapis/devtools/artifactregistry" + - "/v1beta2;artifactregistry\252\002%Google.Cloud" + - ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud" + - "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou" + - "d::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), - com.google.protobuf.StructProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "View", "OrderBy", }); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor, - new java.lang.String[] { "Versions", "NextPageToken", }); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor, - new java.lang.String[] { "Name", "View", }); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor, - new java.lang.String[] { "Name", "Force", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); - com.google.protobuf.StructProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java deleted file mode 100644 index 5e402911..00000000 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java +++ /dev/null @@ -1,155 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto - -package com.google.devtools.artifactregistry.v1beta2; - -public final class YumArtifactProto { - private YumArtifactProto() {} - 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + - "a2/yum_artifact.proto\022(google.devtools.a" + - "rtifactregistry.v1beta2\032\034google/api/anno" + - "tations.proto\032\037google/api/field_behavior" + - ".proto\032\031google/api/resource.proto\032#googl" + - "e/longrunning/operations.proto\032\027google/r" + - "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + - "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + - "\014package_type\030\003 \001(\0162A.google.devtools.ar" + - "tifactregistry.v1beta2.YumArtifact.Packa" + - "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + - "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + - "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + - "factregistry.googleapis.com/YumArtifact\022" + - "]projects/{project}/locations/{location}" + - "/repositories/{repository}/yumArtifacts/" + - "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + - "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + - "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + - "source\030\002 \001(\0132E.google.devtools.artifactr" + - "egistry.v1beta2.ImportYumArtifactsGcsSou" + - "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + - "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + - "\001(\0132E.google.devtools.artifactregistry.v" + - "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + - "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + - "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + - "artifacts\030\001 \003(\01325.google.devtools.artifa" + - "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + - "\030\002 \003(\0132E.google.devtools.artifactregistr" + - "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + - "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + - "le.devtools.artifactregistry.v1beta2B\020Yu" + - "mArtifactProtoP\001ZXgoogle.golang.org/genp" + - "roto/googleapis/devtools/artifactregistr" + - "y/v1beta2;artifactregistry\252\002%Google.Clou" + - "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + - "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + - "ud::ArtifactRegistry::V1beta2b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.rpc.StatusProto.getDescriptor(), - }); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, - new java.lang.String[] { "Name", "PackageName", "PackageType", "Architecture", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, - new java.lang.String[] { "Uris", "UseWildcards", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, - new java.lang.String[] { "GcsSource", "Parent", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, - new java.lang.String[] { "GcsSource", "Error", "Source", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, - new java.lang.String[] { "YumArtifacts", "Errors", }); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, - new java.lang.String[] { }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.rpc.StatusProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java index 448922b7..7117c539 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +617,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +629,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +639,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.devtools.artifactregistry.v1.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.AptArtifact other = (com.google.devtools.artifactregistry.v1.AptArtifact) obj; + com.google.devtools.artifactregistry.v1.AptArtifact other = + (com.google.devtools.artifactregistry.v1.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +682,103 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact 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.devtools.artifactregistry.v1.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +787,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.AptArtifact)
       com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.AptArtifact.class, com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.AptArtifact.newBuilder()
@@ -736,16 +811,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +839,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +860,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1.AptArtifact result = new com.google.devtools.artifactregistry.v1.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +876,39 @@ public com.google.devtools.artifactregistry.v1.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +916,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +959,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +972,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +994,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1016,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1078,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1100,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1122,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1184,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1288,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1310,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1332,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1394,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1416,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1438,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1500,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1515,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1564,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.AptArtifact) private static final com.google.devtools.artifactregistry.v1.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.AptArtifact(); } @@ -1421,16 +1578,16 @@ public static com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1602,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java index ccbfbfba..24f2f3e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java new file mode 100644 index 00000000..fe9a09c5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/AptArtifactProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/ap" + + "t_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\272\003\n\013AptArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.AptArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026\n\t" + + "component\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006 \001" + + "(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE_U" + + "NSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352" + + "A\214\001\n+artifactregistry.googleapis.com/Apt" + + "Artifact\022]projects/{project}/locations/{" + + "location}/repositories/{repository}/aptA" + + "rtifacts/{apt_artifact}\"B\n\033ImportAptArti" + + "factsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wild" + + "cards\030\002 \001(\010\"\215\001\n\031ImportAptArtifactsReques" + + "t\022V\n\ngcs_source\030\002 \001(\0132@.google.devtools." + + "artifactregistry.v1.ImportAptArtifactsGc" + + "sSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033" + + "ImportAptArtifactsErrorInfo\022V\n\ngcs_sourc" + + "e\030\001 \001(\0132@.google.devtools.artifactregist" + + "ry.v1.ImportAptArtifactsGcsSourceH\000\022!\n\005e" + + "rror\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006source" + + "\"\267\001\n\032ImportAptArtifactsResponse\022G\n\rapt_a" + + "rtifacts\030\001 \003(\01320.google.devtools.artifac" + + "tregistry.v1.AptArtifact\022P\n\006errors\030\002 \003(\013" + + "2@.google.devtools.artifactregistry.v1.I" + + "mportAptArtifactsErrorInfo\"\034\n\032ImportAptA" + + "rtifactsMetadataB\376\001\n\'com.google.devtools" + + ".artifactregistry.v1B\020AptArtifactProtoP\001" + + "ZSgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1;artifactreg" + + "istry\252\002 Google.Cloud.ArtifactRegistry.V1" + + "\312\002 Google\\Cloud\\ArtifactRegistry\\V1\352\002#Go" + + "ogle::Cloud::ArtifactRegistry::V1b\006proto" + + "3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java new file mode 100644 index 00000000..9fd5ca98 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ArtifactProto.java @@ -0,0 +1,137 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ArtifactProto { + private ArtifactProto() {} + + 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_devtools_artifactregistry_v1_DockerImage_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/ar" + + "tifact.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032\037google/pr" + + "otobuf/timestamp.proto\"\342\002\n\013DockerImage\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\002\022\020\n\003uri\030\002 \001(\tB\003\340A\002\022\014\n\004t" + + "ags\030\003 \003(\t\022\030\n\020image_size_bytes\030\004 \001(\003\022/\n\013u" + + "pload_time\030\005 \001(\0132\032.google.protobuf.Times" + + "tamp\022\022\n\nmedia_type\030\006 \001(\t\022.\n\nbuild_time\030\007" + + " \001(\0132\032.google.protobuf.Timestamp:\220\001\352A\214\001\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mage\022]projects/{project}/locations/{loca" + + "tion}/repositories/{repository}/dockerIm" + + "ages/{docker_image}\"U\n\027ListDockerImagesR" + + "equest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"|\n\030ListDocker" + + "ImagesResponse\022G\n\rdocker_images\030\001 \003(\01320." + + "google.devtools.artifactregistry.v1.Dock" + + "erImage\022\027\n\017next_page_token\030\002 \001(\t\"Z\n\025GetD" + + "ockerImageRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n" + + "+artifactregistry.googleapis.com/DockerI" + + "mageB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rArtifactProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor, + new java.lang.String[] { + "Name", "Uri", "Tags", "ImageSizeBytes", "UploadTime", "MediaType", "BuildTime", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor, + new java.lang.String[] { + "DockerImages", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java index 73cce54c..28dde700 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +376,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.newBuilder() @@ -452,16 +504,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +530,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance(); } @@ -500,7 +552,8 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +569,50 @@ public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.CreateRepositoryRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +643,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +657,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +681,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +705,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +773,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +795,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +817,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +879,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +940,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +960,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +972,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +986,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1006,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,11 +1015,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
@@ -918,11 +1032,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1047,24 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1074,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1111,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java index cc064ca5..9816339e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java index bbdbbb62..31cca5ed 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,11 +253,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ @java.lang.Override @@ -232,6 +268,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +282,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +294,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_); } @@ -282,8 +320,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +330,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.devtools.artifactregistry.v1.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.CreateTagRequest other = (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +369,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest 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.devtools.artifactregistry.v1.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.devtools.artifactregistry.v1.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.CreateTagRequest.class, com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.CreateTagRequest.newBuilder() @@ -452,16 +497,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,9 +523,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; } @java.lang.Override @@ -500,7 +544,8 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.CreateTagRequest result = new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +561,39 @@ public com.google.devtools.artifactregistry.v1.CreateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +601,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +633,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.CreateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +646,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +668,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +690,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +752,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +774,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +796,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +858,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,14 +919,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -856,6 +938,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +950,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +964,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +984,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +993,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1010,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1025,24 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1052,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.CreateTagRequest) private static final com.google.devtools.artifactregistry.v1.CreateTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.CreateTagRequest(); } @@ -968,16 +1066,16 @@ public static com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1090,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java index ffc90b5d..491f3b74 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java index a84494eb..8f10f939 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest 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.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.devtools.artifactregistry.v1.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1.DeletePackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeletePackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1.DeletePackageRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeletePackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +485,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +507,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +529,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to delete.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +600,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeletePackageRequest(); } @@ -566,16 +615,16 @@ public static com.google.devtools.artifactregistry.v1.DeletePackageRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +639,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeletePackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java index 8ad16aca..e347b777 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeletePackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface DeletePackageRequestOrBuilder extends +public interface DeletePackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeletePackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to delete.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java index e9c9f3e3..29138c37 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +410,50 @@ public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +477,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +491,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +515,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +539,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +616,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +653,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..d2bbba3c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java index 492ecb7a..0f4b7556 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest 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.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteTagRequest) com.google.devtools.artifactregistry.v1.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.DeleteTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteTagRequest) private static final com.google.devtools.artifactregistry.v1.DeleteTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..ea110ac1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java index bb45536b..74d8170f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,125 +253,134 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest 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.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.devtools.artifactregistry.v1.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1.DeleteVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.DeleteVersionRequest.newBuilder() @@ -355,16 +388,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +408,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +430,8 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,38 +442,39 @@ public com.google.devtools.artifactregistry.v1.DeleteVersionRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -447,7 +482,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +511,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.DeleteVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +524,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +546,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +568,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +646,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,12 +694,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DeleteVersionRequest(); } @@ -651,16 +709,16 @@ public static com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,6 +733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.DeleteVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java index a845238c..fbc7fd65 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java index e11da581..cc31dfd0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImage.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * DockerImage represents a docker artifact.
  * The following fields are returned as untyped metadata in the Version
@@ -15,15 +32,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
  */
-public final class DockerImage extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DockerImage extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.DockerImage)
     DockerImageOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DockerImage.newBuilder() to construct.
   private DockerImage(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DockerImage() {
     name_ = "";
     uri_ = "";
@@ -33,16 +51,15 @@ private DockerImage() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DockerImage();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private DockerImage(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -62,71 +79,79 @@ private DockerImage(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            uri_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              tags_ = new com.google.protobuf.LazyStringArrayList();
-              mutable_bitField0_ |= 0x00000001;
+              name_ = s;
+              break;
             }
-            tags_.add(s);
-            break;
-          }
-          case 32: {
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            imageSizeBytes_ = input.readInt64();
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (uploadTime_ != null) {
-              subBuilder = uploadTime_.toBuilder();
+              uri_ = s;
+              break;
             }
-            uploadTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(uploadTime_);
-              uploadTime_ = subBuilder.buildPartial();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                tags_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              tags_.add(s);
+              break;
             }
-
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            mediaType_ = s;
-            break;
-          }
-          case 58: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (buildTime_ != null) {
-              subBuilder = buildTime_.toBuilder();
+          case 32:
+            {
+              imageSizeBytes_ = input.readInt64();
+              break;
             }
-            buildTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(buildTime_);
-              buildTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (uploadTime_ != null) {
+                subBuilder = uploadTime_.toBuilder();
+              }
+              uploadTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(uploadTime_);
+                uploadTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              mediaType_ = s;
+              break;
+            }
+          case 58:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (buildTime_ != null) {
+                subBuilder = buildTime_.toBuilder();
+              }
+              buildTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(buildTime_);
+                buildTime_ = subBuilder.buildPartial();
+              }
+
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -134,8 +159,7 @@ private DockerImage(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         tags_ = tags_.getUnmodifiableView();
@@ -144,22 +168,27 @@ private DockerImage(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.ArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+            com.google.devtools.artifactregistry.v1.DockerImage.class,
+            com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -174,6 +203,7 @@ private DockerImage(
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -182,14 +212,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; } } /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -204,16 +235,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -224,6 +254,8 @@ public java.lang.String getName() { public static final int URI_FIELD_NUMBER = 2; private volatile java.lang.Object uri_; /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -231,6 +263,7 @@ public java.lang.String getName() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ @java.lang.Override @@ -239,14 +272,15 @@ public java.lang.String getUri() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; } } /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -254,16 +288,15 @@ public java.lang.String getUri() {
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ @java.lang.Override - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -274,34 +307,42 @@ public java.lang.String getUri() { public static final int TAGS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList tags_; /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_; } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -309,22 +350,26 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } public static final int IMAGE_SIZE_BYTES_FIELD_NUMBER = 4; private long imageSizeBytes_; /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -332,6 +377,7 @@ public java.lang.String getTags(int index) {
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -342,11 +388,14 @@ public long getImageSizeBytes() { public static final int UPLOAD_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp uploadTime_; /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ @java.lang.Override @@ -354,11 +403,14 @@ public boolean hasUploadTime() { return uploadTime_ != null; } /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ @java.lang.Override @@ -366,6 +418,8 @@ public com.google.protobuf.Timestamp getUploadTime() { return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; } /** + * + * *
    * Time the image was uploaded.
    * 
@@ -380,6 +434,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { public static final int MEDIA_TYPE_FIELD_NUMBER = 6; private volatile java.lang.Object mediaType_; /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -388,6 +444,7 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
    * 
* * string media_type = 6; + * * @return The mediaType. */ @java.lang.Override @@ -396,14 +453,15 @@ public java.lang.String getMediaType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; } } /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -412,16 +470,15 @@ public java.lang.String getMediaType() {
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ @java.lang.Override - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -432,6 +489,8 @@ public java.lang.String getMediaType() { public static final int BUILD_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp buildTime_; /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -441,6 +500,7 @@ public java.lang.String getMediaType() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ @java.lang.Override @@ -448,6 +508,8 @@ public boolean hasBuildTime() { return buildTime_ != null; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -457,6 +519,7 @@ public boolean hasBuildTime() {
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ @java.lang.Override @@ -464,6 +527,8 @@ public com.google.protobuf.Timestamp getBuildTime() { return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_; } /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -480,6 +545,7 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -491,8 +557,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_);
     }
@@ -538,19 +603,16 @@ public int getSerializedSize() {
       size += 1 * getTagsList().size();
     }
     if (imageSizeBytes_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(4, imageSizeBytes_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, imageSizeBytes_);
     }
     if (uploadTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getUploadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUploadTime());
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(mediaType_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, mediaType_);
     }
     if (buildTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, getBuildTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getBuildTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -560,32 +622,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.DockerImage)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.DockerImage other = (com.google.devtools.artifactregistry.v1.DockerImage) obj;
+    com.google.devtools.artifactregistry.v1.DockerImage other =
+        (com.google.devtools.artifactregistry.v1.DockerImage) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getUri()
-        .equals(other.getUri())) return false;
-    if (!getTagsList()
-        .equals(other.getTagsList())) return false;
-    if (getImageSizeBytes()
-        != other.getImageSizeBytes()) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getUri().equals(other.getUri())) return false;
+    if (!getTagsList().equals(other.getTagsList())) return false;
+    if (getImageSizeBytes() != other.getImageSizeBytes()) return false;
     if (hasUploadTime() != other.hasUploadTime()) return false;
     if (hasUploadTime()) {
-      if (!getUploadTime()
-          .equals(other.getUploadTime())) return false;
+      if (!getUploadTime().equals(other.getUploadTime())) return false;
     }
-    if (!getMediaType()
-        .equals(other.getMediaType())) return false;
+    if (!getMediaType().equals(other.getMediaType())) return false;
     if (hasBuildTime() != other.hasBuildTime()) return false;
     if (hasBuildTime()) {
-      if (!getBuildTime()
-          .equals(other.getBuildTime())) return false;
+      if (!getBuildTime().equals(other.getBuildTime())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -607,8 +663,7 @@ public int hashCode() {
       hash = (53 * hash) + getTagsList().hashCode();
     }
     hash = (37 * hash) + IMAGE_SIZE_BYTES_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getImageSizeBytes());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImageSizeBytes());
     if (hasUploadTime()) {
       hash = (37 * hash) + UPLOAD_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getUploadTime().hashCode();
@@ -625,96 +680,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.DockerImage parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage 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.devtools.artifactregistry.v1.DockerImage parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.DockerImage parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.DockerImage prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * DockerImage represents a docker artifact.
    * The following fields are returned as untyped metadata in the Version
@@ -726,21 +788,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.DockerImage}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.DockerImage)
       com.google.devtools.artifactregistry.v1.DockerImageOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.DockerImage.class, com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
+              com.google.devtools.artifactregistry.v1.DockerImage.class,
+              com.google.devtools.artifactregistry.v1.DockerImage.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.DockerImage.newBuilder()
@@ -748,16 +812,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -787,9 +850,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.ArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1_DockerImage_descriptor;
     }
 
     @java.lang.Override
@@ -808,7 +871,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
-      com.google.devtools.artifactregistry.v1.DockerImage result = new com.google.devtools.artifactregistry.v1.DockerImage(this);
+      com.google.devtools.artifactregistry.v1.DockerImage result =
+          new com.google.devtools.artifactregistry.v1.DockerImage(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.uri_ = uri_;
@@ -837,38 +901,39 @@ public com.google.devtools.artifactregistry.v1.DockerImage buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.DockerImage) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.DockerImage) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -876,7 +941,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.DockerImage other) {
-      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -927,7 +993,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1.DockerImage) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -936,10 +1003,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -954,13 +1024,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -969,6 +1039,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -983,15 +1055,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -999,6 +1070,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1013,20 +1086,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1041,15 +1116,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. registry_location, project_id, repository_name and image id forms a unique
      * image
@@ -1064,16 +1142,16 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1081,6 +1159,8 @@ public Builder setNameBytes( private java.lang.Object uri_ = ""; /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1088,13 +1168,13 @@ public Builder setNameBytes(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ public java.lang.String getUri() { java.lang.Object ref = uri_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uri_ = s; return s; @@ -1103,6 +1183,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1110,15 +1192,14 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - public com.google.protobuf.ByteString - getUriBytes() { + public com.google.protobuf.ByteString getUriBytes() { java.lang.Object ref = uri_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); uri_ = b; return b; } else { @@ -1126,6 +1207,8 @@ public java.lang.String getUri() { } } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1133,20 +1216,22 @@ public java.lang.String getUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The uri to set. * @return This builder for chaining. */ - public Builder setUri( - java.lang.String value) { + public Builder setUri(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + uri_ = value; onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1154,15 +1239,18 @@ public Builder setUri(
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearUri() { - + uri_ = getDefaultInstance().getUri(); onChanged(); return this; } /** + * + * *
      * Required. URL to access the image.
      * Example:
@@ -1170,57 +1258,67 @@ public Builder clearUri() {
      * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for uri to set. * @return This builder for chaining. */ - public Builder setUriBytes( - com.google.protobuf.ByteString value) { + public Builder setUriBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + uri_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList tags_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList tags_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new com.google.protobuf.LazyStringArrayList(tags_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - public com.google.protobuf.ProtocolStringList - getTagsList() { + public com.google.protobuf.ProtocolStringList getTagsList() { return tags_.getUnmodifiableView(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return The count of tags. */ public int getTagsCount() { return tags_.size(); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ @@ -1228,80 +1326,90 @@ public java.lang.String getTags(int index) { return tags_.get(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - public com.google.protobuf.ByteString - getTagsBytes(int index) { + public com.google.protobuf.ByteString getTagsBytes(int index) { return tags_.getByteString(index); } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param index The index to set the value at. * @param value The tags to set. * @return This builder for chaining. */ - public Builder setTags( - int index, java.lang.String value) { + public Builder setTags(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.set(index, value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The tags to add. * @return This builder for chaining. */ - public Builder addTags( - java.lang.String value) { + public Builder addTags(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureTagsIsMutable(); + throw new NullPointerException(); + } + ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param values The tags to add. * @return This builder for chaining. */ - public Builder addAllTags( - java.lang.Iterable values) { + public Builder addAllTags(java.lang.Iterable values) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @return This builder for chaining. */ public Builder clearTags() { @@ -1311,28 +1419,32 @@ public Builder clearTags() { return this; } /** + * + * *
      * Tags attached to this image.
      * 
* * repeated string tags = 3; + * * @param value The bytes of the tags to add. * @return This builder for chaining. */ - public Builder addTagsBytes( - com.google.protobuf.ByteString value) { + public Builder addTagsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureTagsIsMutable(); tags_.add(value); onChanged(); return this; } - private long imageSizeBytes_ ; + private long imageSizeBytes_; /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1340,6 +1452,7 @@ public Builder addTagsBytes(
      * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ @java.lang.Override @@ -1347,6 +1460,8 @@ public long getImageSizeBytes() { return imageSizeBytes_; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1354,16 +1469,19 @@ public long getImageSizeBytes() {
      * 
* * int64 image_size_bytes = 4; + * * @param value The imageSizeBytes to set. * @return This builder for chaining. */ public Builder setImageSizeBytes(long value) { - + imageSizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * Calculated size of the image.
      * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -1371,10 +1489,11 @@ public Builder setImageSizeBytes(long value) {
      * 
* * int64 image_size_bytes = 4; + * * @return This builder for chaining. */ public Builder clearImageSizeBytes() { - + imageSizeBytes_ = 0L; onChanged(); return this; @@ -1382,34 +1501,47 @@ public Builder clearImageSizeBytes() { private com.google.protobuf.Timestamp uploadTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> uploadTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + uploadTimeBuilder_; /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ public boolean hasUploadTime() { return uploadTimeBuilder_ != null || uploadTime_ != null; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ public com.google.protobuf.Timestamp getUploadTime() { if (uploadTimeBuilder_ == null) { - return uploadTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } else { return uploadTimeBuilder_.getMessage(); } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1430,14 +1562,15 @@ public Builder setUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
* * .google.protobuf.Timestamp upload_time = 5; */ - public Builder setUploadTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUploadTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (uploadTimeBuilder_ == null) { uploadTime_ = builderForValue.build(); onChanged(); @@ -1448,6 +1581,8 @@ public Builder setUploadTime( return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1458,7 +1593,7 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { if (uploadTimeBuilder_ == null) { if (uploadTime_ != null) { uploadTime_ = - com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(uploadTime_).mergeFrom(value).buildPartial(); } else { uploadTime_ = value; } @@ -1470,6 +1605,8 @@ public Builder mergeUploadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1488,6 +1625,8 @@ public Builder clearUploadTime() { return this; } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1495,11 +1634,13 @@ public Builder clearUploadTime() { * .google.protobuf.Timestamp upload_time = 5; */ public com.google.protobuf.Timestamp.Builder getUploadTimeBuilder() { - + onChanged(); return getUploadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1510,11 +1651,14 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { if (uploadTimeBuilder_ != null) { return uploadTimeBuilder_.getMessageOrBuilder(); } else { - return uploadTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : uploadTime_; + return uploadTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : uploadTime_; } } /** + * + * *
      * Time the image was uploaded.
      * 
@@ -1522,14 +1666,17 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { * .google.protobuf.Timestamp upload_time = 5; */ 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> getUploadTimeFieldBuilder() { if (uploadTimeBuilder_ == null) { - uploadTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUploadTime(), - getParentForChildren(), - isClean()); + uploadTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUploadTime(), getParentForChildren(), isClean()); uploadTime_ = null; } return uploadTimeBuilder_; @@ -1537,6 +1684,8 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() { private java.lang.Object mediaType_ = ""; /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1545,13 +1694,13 @@ public com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder() {
      * 
* * string media_type = 6; + * * @return The mediaType. */ public java.lang.String getMediaType() { java.lang.Object ref = mediaType_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); mediaType_ = s; return s; @@ -1560,6 +1709,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1568,15 +1719,14 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - public com.google.protobuf.ByteString - getMediaTypeBytes() { + public com.google.protobuf.ByteString getMediaTypeBytes() { java.lang.Object ref = mediaType_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); mediaType_ = b; return b; } else { @@ -1584,6 +1734,8 @@ public java.lang.String getMediaType() { } } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1592,20 +1744,22 @@ public java.lang.String getMediaType() {
      * 
* * string media_type = 6; + * * @param value The mediaType to set. * @return This builder for chaining. */ - public Builder setMediaType( - java.lang.String value) { + public Builder setMediaType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + mediaType_ = value; onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1614,15 +1768,18 @@ public Builder setMediaType(
      * 
* * string media_type = 6; + * * @return This builder for chaining. */ public Builder clearMediaType() { - + mediaType_ = getDefaultInstance().getMediaType(); onChanged(); return this; } /** + * + * *
      * Media type of this image, e.g.
      * "application/vnd.docker.distribution.manifest.v2+json".
@@ -1631,16 +1788,16 @@ public Builder clearMediaType() {
      * 
* * string media_type = 6; + * * @param value The bytes for mediaType to set. * @return This builder for chaining. */ - public Builder setMediaTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setMediaTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + mediaType_ = value; onChanged(); return this; @@ -1648,8 +1805,13 @@ public Builder setMediaTypeBytes( private com.google.protobuf.Timestamp buildTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> buildTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + buildTimeBuilder_; /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1659,12 +1821,15 @@ public Builder setMediaTypeBytes(
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ public boolean hasBuildTime() { return buildTimeBuilder_ != null || buildTime_ != null; } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1674,6 +1839,7 @@ public boolean hasBuildTime() {
      * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ public com.google.protobuf.Timestamp getBuildTime() { @@ -1684,6 +1850,8 @@ public com.google.protobuf.Timestamp getBuildTime() { } } /** + * + * *
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1708,6 +1876,8 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1718,8 +1888,7 @@ public Builder setBuildTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp build_time = 7;
      */
-    public Builder setBuildTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setBuildTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (buildTimeBuilder_ == null) {
         buildTime_ = builderForValue.build();
         onChanged();
@@ -1730,6 +1899,8 @@ public Builder setBuildTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1744,7 +1915,7 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       if (buildTimeBuilder_ == null) {
         if (buildTime_ != null) {
           buildTime_ =
-            com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(buildTime_).mergeFrom(value).buildPartial();
         } else {
           buildTime_ = value;
         }
@@ -1756,6 +1927,8 @@ public Builder mergeBuildTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1778,6 +1951,8 @@ public Builder clearBuildTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1789,11 +1964,13 @@ public Builder clearBuildTime() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     public com.google.protobuf.Timestamp.Builder getBuildTimeBuilder() {
-      
+
       onChanged();
       return getBuildTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1808,11 +1985,12 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
       if (buildTimeBuilder_ != null) {
         return buildTimeBuilder_.getMessageOrBuilder();
       } else {
-        return buildTime_ == null ?
-            com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
+        return buildTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : buildTime_;
       }
     }
     /**
+     *
+     *
      * 
      * The time this image was built.
      * This field is returned as the 'metadata.buildTime' field in the
@@ -1824,21 +2002,24 @@ public com.google.protobuf.TimestampOrBuilder getBuildTimeOrBuilder() {
      * .google.protobuf.Timestamp build_time = 7;
      */
     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>
         getBuildTimeFieldBuilder() {
       if (buildTimeBuilder_ == null) {
-        buildTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                getBuildTime(),
-                getParentForChildren(),
-                isClean());
+        buildTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                getBuildTime(), getParentForChildren(), isClean());
         buildTime_ = null;
       }
       return buildTimeBuilder_;
     }
+
     @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);
     }
 
@@ -1848,12 +2029,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.DockerImage)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.DockerImage)
   private static final com.google.devtools.artifactregistry.v1.DockerImage DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.DockerImage();
   }
@@ -1862,16 +2043,16 @@ public static com.google.devtools.artifactregistry.v1.DockerImage getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public DockerImage parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new DockerImage(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public DockerImage parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new DockerImage(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1886,6 +2067,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.DockerImage getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
similarity index 100%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageName.java
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
similarity index 84%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
index 320f9fe3..23262b8c 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/DockerImageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/artifact.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface DockerImageOrBuilder extends
+public interface DockerImageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.DockerImage)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -22,10 +40,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. registry_location, project_id, repository_name and image id forms a unique
    * image
@@ -40,12 +61,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -53,10 +76,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The uri. */ java.lang.String getUri(); /** + * + * *
    * Required. URL to access the image.
    * Example:
@@ -64,53 +90,65 @@ public interface DockerImageOrBuilder extends
    * 
* * string uri = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for uri. */ - com.google.protobuf.ByteString - getUriBytes(); + com.google.protobuf.ByteString getUriBytes(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return A list containing the tags. */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @return The count of tags. */ int getTagsCount(); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the element to return. * @return The tags at the given index. */ java.lang.String getTags(int index); /** + * + * *
    * Tags attached to this image.
    * 
* * repeated string tags = 3; + * * @param index The index of the value to return. * @return The bytes of the tags at the given index. */ - com.google.protobuf.ByteString - getTagsBytes(int index); + com.google.protobuf.ByteString getTagsBytes(int index); /** + * + * *
    * Calculated size of the image.
    * This field is returned as the 'metadata.imageSizeBytes' field in the
@@ -118,29 +156,38 @@ public interface DockerImageOrBuilder extends
    * 
* * int64 image_size_bytes = 4; + * * @return The imageSizeBytes. */ long getImageSizeBytes(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return Whether the uploadTime field is set. */ boolean hasUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
* * .google.protobuf.Timestamp upload_time = 5; + * * @return The uploadTime. */ com.google.protobuf.Timestamp getUploadTime(); /** + * + * *
    * Time the image was uploaded.
    * 
@@ -150,6 +197,8 @@ public interface DockerImageOrBuilder extends com.google.protobuf.TimestampOrBuilder getUploadTimeOrBuilder(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -158,10 +207,13 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The mediaType. */ java.lang.String getMediaType(); /** + * + * *
    * Media type of this image, e.g.
    * "application/vnd.docker.distribution.manifest.v2+json".
@@ -170,12 +222,14 @@ public interface DockerImageOrBuilder extends
    * 
* * string media_type = 6; + * * @return The bytes for mediaType. */ - com.google.protobuf.ByteString - getMediaTypeBytes(); + com.google.protobuf.ByteString getMediaTypeBytes(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -185,10 +239,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return Whether the buildTime field is set. */ boolean hasBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
@@ -198,10 +255,13 @@ public interface DockerImageOrBuilder extends
    * 
* * .google.protobuf.Timestamp build_time = 7; + * * @return The buildTime. */ com.google.protobuf.Timestamp getBuildTime(); /** + * + * *
    * The time this image was built.
    * This field is returned as the 'metadata.buildTime' field in the
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
index 6c52e7ff..ce45d8df 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/File.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/file.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,73 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Hash.parser(), extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +147,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +156,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +184,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +193,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +209,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 { @@ -198,11 +228,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +246,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +259,8 @@ public java.util.List getHashesLis return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +268,13 @@ public java.util.List getHashesLis * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +286,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +299,8 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +308,21 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +330,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +345,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +361,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +376,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +391,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +407,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +423,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +454,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +466,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_); } @@ -437,20 +498,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +520,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.File other = (com.google.devtools.artifactregistry.v1.File) obj; + com.google.devtools.artifactregistry.v1.File other = + (com.google.devtools.artifactregistry.v1.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +554,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -523,118 +574,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.File parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File 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.devtools.artifactregistry.v1.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.File) com.google.devtools.artifactregistry.v1.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.File.class, com.google.devtools.artifactregistry.v1.File.Builder.class); + com.google.devtools.artifactregistry.v1.File.class, + com.google.devtools.artifactregistry.v1.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.File.newBuilder() @@ -642,17 +702,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +744,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_File_descriptor; } @java.lang.Override @@ -705,7 +765,8 @@ public com.google.devtools.artifactregistry.v1.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.File buildPartial() { - com.google.devtools.artifactregistry.v1.File result = new com.google.devtools.artifactregistry.v1.File(this); + com.google.devtools.artifactregistry.v1.File result = + new com.google.devtools.artifactregistry.v1.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +798,39 @@ public com.google.devtools.artifactregistry.v1.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.File) other); } else { super.mergeFrom(other); return this; @@ -802,9 +864,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.File other) { hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -848,10 +911,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +925,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +940,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +949,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 { @@ -897,6 +964,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +973,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +996,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1015,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1047,60 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hashes_ = new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1115,8 @@ public java.util.List getHashesLis } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1131,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1147,15 @@ public com.google.devtools.artifactregistry.v1.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1169,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1189,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1211,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash value) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,14 +1233,15 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public Builder addHashes( - com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { + public Builder addHashes(com.google.devtools.artifactregistry.v1.Hash.Builder builderForValue) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); hashes_.add(builderForValue.build()); @@ -1152,6 +1252,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1272,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1284,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1292,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1311,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,39 +1330,44 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1375,8 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1384,48 @@ public com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder> + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Hash, com.google.devtools.artifactregistry.v1.Hash.Builder, com.google.devtools.artifactregistry.v1.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Hash, + com.google.devtools.artifactregistry.v1.Hash.Builder, + com.google.devtools.artifactregistry.v1.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1433,47 @@ public com.google.devtools.artifactregistry.v1.Hash.Builder addHashesBuilder( 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1494,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1513,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1525,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1537,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1557,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1566,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1583,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1598,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1616,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1677,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1696,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1708,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1720,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1740,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1749,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1766,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1781,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1799,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1821,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1843,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1914,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.File) private static final com.google.devtools.artifactregistry.v1.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.File(); } @@ -1742,16 +1928,16 @@ public static com.google.devtools.artifactregistry.v1.File getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java index 647b4921..1fcb148d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java new file mode 100644 index 00000000..0a01aeb9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/FileProto.java @@ -0,0 +1,146 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_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/devtools/artifactregistry/v1/fi" + + "le.proto\022#google.devtools.artifactregist" + + "ry.v1\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\223\001\n\004Hash\022@\n\004ty" + + "pe\030\001 \001(\01622.google.devtools.artifactregis" + + "try.v1.Hash.HashType\022\r\n\005value\030\002 \001(\014\":\n\010H" + + "ashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022\n\n\006SH" + + "A256\020\001\022\007\n\003MD5\020\002\"\317\002\n\004File\022\014\n\004name\030\001 \001(\t\022\022" + + "\n\nsize_bytes\030\003 \001(\003\0229\n\006hashes\030\004 \003(\0132).goo" + + "gle.devtools.artifactregistry.v1.Hash\022/\n" + + "\013create_time\030\005 \001(\0132\032.google.protobuf.Tim" + + "estamp\022/\n\013update_time\030\006 \001(\0132\032.google.pro" + + "tobuf.Timestamp\022\r\n\005owner\030\007 \001(\t:y\352Av\n$art" + + "ifactregistry.googleapis.com/File\022Nproje" + + "cts/{project}/locations/{location}/repos" + + "itories/{repository}/files/{file}\"k\n\020Lis" + + "tFilesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filter\030" + + "\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\020\n\010order_by\030\005 \001(\t\"f\n\021ListFilesRespo" + + "nse\0228\n\005files\030\001 \003(\0132).google.devtools.art" + + "ifactregistry.v1.File\022\027\n\017next_page_token" + + "\030\002 \001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\367" + + "\001\n\'com.google.devtools.artifactregistry." + + "v1B\tFileProtoP\001ZSgoogle.golang.org/genpr" + + "oto/googleapis/devtools/artifactregistry" + + "/v1;artifactregistry\252\002 Google.Cloud.Arti" + + "factRegistry.V1\312\002 Google\\Cloud\\ArtifactR" + + "egistry\\V1\352\002#Google::Cloud::ArtifactRegi" + + "stry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", "OrderBy", + }); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java index 6adf4d6d..f871a896 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to get docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ -public final class GetDockerImageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDockerImageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) GetDockerImageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDockerImageRequest.newBuilder() to construct. private GetDockerImageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDockerImageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDockerImageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetDockerImageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDockerImageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetDockerImageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the docker images.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; + com.google.devtools.artifactregistry.v1.GetDockerImageRequest other = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest 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.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetDockerImageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to get docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetDockerImageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetDockerImageRequest) com.google.devtools.artifactregistry.v1.GetDockerImageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.class, + com.google.devtools.artifactregistry.v1.GetDockerImageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetDockerImageRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_GetDockerImageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetDockerImageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); + com.google.devtools.artifactregistry.v1.GetDockerImageRequest result = + new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetDockerImageRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetDockerImageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetDockerImageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetDockerImageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetDockerImageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetDockerImageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +490,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +514,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +538,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the docker images.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +615,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetDockerImageRequest) - private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetDockerImageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetDockerImageRequest(); } @@ -566,16 +630,16 @@ public static com.google.devtools.artifactregistry.v1.GetDockerImageRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDockerImageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetDockerImageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDockerImageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetDockerImageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +654,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetDockerImageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java new file mode 100644 index 00000000..646394c6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetDockerImageRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetDockerImageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetDockerImageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the docker images.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java index ecee545f..3f8a0fad 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetFileRequest other = (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1.GetFileRequest other = + (com.google.devtools.artifactregistry.v1.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest 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.devtools.artifactregistry.v1.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetFileRequest) com.google.devtools.artifactregistry.v1.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetFileRequest.class, com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetFileRequest.class, + com.google.devtools.artifactregistry.v1.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetFileRequest result = new com.google.devtools.artifactregistry.v1.GetFileRequest(this); + com.google.devtools.artifactregistry.v1.GetFileRequest result = + new com.google.devtools.artifactregistry.v1.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetFileRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetFileRequest) private static final com.google.devtools.artifactregistry.v1.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..0499ed5e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/file.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java index 10915d11..dedb9b29 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetPackageRequest other = (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest 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.devtools.artifactregistry.v1.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.devtools.artifactregistry.v1.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetPackageRequest.class, com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetPackageRequest result = new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetPackageRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetPackageRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the package to retrieve.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetPackageRequest) private static final com.google.devtools.artifactregistry.v1.GetPackageRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetPackageRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetPackageRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetPackageRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java index 4875af8f..76ccce9a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetPackageRequestOrBuilder.java @@ -1,29 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface GetPackageRequestOrBuilder extends +public interface GetPackageRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetPackageRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Required. The name of the package to retrieve.
    * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java index 020c6eea..3627d4ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest 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.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..0652626c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java index 048b50e2..583d7cc7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetRepositoryRequest) com.google.devtools.artifactregistry.v1.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.GetRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetRepositoryRequest.newBuilder() @@ -322,16 +359,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +377,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +399,8 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +410,39 @@ public com.google.devtools.artifactregistry.v1.GetRepositoryRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +450,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +476,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetRepositoryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +513,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +537,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +614,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetRepositoryRequest(); } @@ -566,16 +629,16 @@ public static com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +653,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetRepositoryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..5a1488a1 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java index b8001a05..7b8ad00d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetTagRequest other = (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1.GetTagRequest other = + (com.google.devtools.artifactregistry.v1.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest 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.devtools.artifactregistry.v1.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetTagRequest) com.google.devtools.artifactregistry.v1.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetTagRequest.class, com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetTagRequest.class, + com.google.devtools.artifactregistry.v1.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetTagRequest result = new com.google.devtools.artifactregistry.v1.GetTagRequest(this); + com.google.devtools.artifactregistry.v1.GetTagRequest result = + new com.google.devtools.artifactregistry.v1.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1.GetTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetTagRequest) private static final com.google.devtools.artifactregistry.v1.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..aa348921 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java index 87991098..acecfccc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.GetVersionRequest other = (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest 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.devtools.artifactregistry.v1.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.devtools.artifactregistry.v1.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.GetVersionRequest.class, com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor; } @java.lang.Override @@ -408,7 +455,8 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1.GetVersionRequest result = new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +467,39 @@ public com.google.devtools.artifactregistry.v1.GetVersionRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +507,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +535,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.GetVersionRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +548,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +570,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +592,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +654,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +722,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.GetVersionRequest) private static final com.google.devtools.artifactregistry.v1.GetVersionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.GetVersionRequest(); } @@ -690,16 +770,16 @@ public static com.google.devtools.artifactregistry.v1.GetVersionRequest getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -714,6 +794,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.GetVersionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java index da00f2d4..e84fc09e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java index 1c03545a..c47f21a7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,49 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1.Hash.getDescriptor().getEnumTypes().get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +279,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +333,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +345,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +363,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +379,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.devtools.artifactregistry.v1.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Hash other = (com.google.devtools.artifactregistry.v1.Hash) obj; + com.google.devtools.artifactregistry.v1.Hash other = + (com.google.devtools.artifactregistry.v1.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -361,118 +409,127 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash 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.devtools.artifactregistry.v1.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Hash) com.google.devtools.artifactregistry.v1.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Hash.class, com.google.devtools.artifactregistry.v1.Hash.Builder.class); + com.google.devtools.artifactregistry.v1.Hash.class, + com.google.devtools.artifactregistry.v1.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Hash.newBuilder() @@ -480,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_Hash_descriptor; } @java.lang.Override @@ -522,7 +578,8 @@ public com.google.devtools.artifactregistry.v1.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash buildPartial() { - com.google.devtools.artifactregistry.v1.Hash result = new com.google.devtools.artifactregistry.v1.Hash(this); + com.google.devtools.artifactregistry.v1.Hash result = + new com.google.devtools.artifactregistry.v1.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +590,39 @@ public com.google.devtools.artifactregistry.v1.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Hash) other); } else { super.mergeFrom(other); return this; @@ -610,51 +668,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Hash.HashType result = com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Hash.HashType result = + com.google.devtools.artifactregistry.v1.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +736,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1.Hash.HashType val if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +761,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +776,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Hash) private static final com.google.devtools.artifactregistry.v1.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Hash(); } @@ -753,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Hash getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java index d8e3f7f4..be94835f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java index bb7e4513..9c9acac2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java index 01ea3691..421580d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java index 7ae60022..98066536 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java index 5fc859fc..af98cad2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java index 4ca45085..7d39fbec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9fffbb74 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java index 8259205d..559cb1cf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArt * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportAptA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java index f70fc673..7d91344c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java index 2dc5cfd3..6f0a6f0a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +125,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getAp return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getAp * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportAptArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getAp } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int i } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1.AptArtifa return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllAptArtifacts( java.lang.Iterable values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder getAptArtifac public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa } } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifa * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifac */ public com.google.devtools.artifactregistry.v1.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.AptArtifact, com.google.devtools.artifactregistry.v1.AptArtifact.Builder, com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.AptArtifact, + com.google.devtools.artifactregistry.v1.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportAptArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java index 7c5e3ba3..da3615ea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/apt_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.AptArtifact apt_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.AptArtifactOrBuilder getAptArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java index 6cdd7e6a..8a621732 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,48 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +117,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +165,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,21 +200,26 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
@@ -188,9 +227,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -198,11 +238,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +253,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +268,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +282,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +294,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +312,12 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +327,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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,14 +530,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override @@ -492,7 +553,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +576,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +654,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +665,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +680,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +701,14 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +717,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,6 +751,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -674,7 +760,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +772,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,6 +807,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -735,16 +832,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -752,17 +854,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
@@ -770,44 +876,59 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +939,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +961,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +980,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +991,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1003,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1023,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1032,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1049,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1062,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1086,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1123,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java index 845066fd..f04be65c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 1; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +94,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java index d6815dc2..85d8b6ca 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +278,152 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,14 +435,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override @@ -415,7 +458,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +475,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource build public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +552,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +563,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +619,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +712,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +751,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +797,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +834,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java index a4a49e76..0771527b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java index 1833db60..14ed5254 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,14 +306,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override @@ -297,7 +329,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +339,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +403,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +414,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +426,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +463,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..9cbb42e5 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java index b2984499..82bcbf4b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,41 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +112,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +160,34 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,21 +195,26 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
@@ -182,9 +222,10 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); } @@ -192,11 +233,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +249,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +280,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +292,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +313,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +325,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.devtools.artifactregistry.v1.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +369,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,13 +519,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance(); } @@ -484,7 +541,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +560,64 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +638,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +649,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +664,20 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +685,14 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +701,27 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGc if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,6 +735,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -663,7 +744,8 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArt * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +756,26 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,6 +791,8 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1.ImportYumA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -724,16 +816,21 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -741,17 +838,21 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Build * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
@@ -759,38 +860,48 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuil * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +910,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +932,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1003,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1040,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java index 38d3e8bd..2f447836 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* * .google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSource gcs_source = 2; */ - com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java index 8a51de85..c3ec50ce 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,40 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +113,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +125,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -127,6 +157,8 @@ public java.util.List getYu return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +166,13 @@ public java.util.List getYu * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +184,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +197,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +212,85 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +302,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +319,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +332,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.devtools.artifactregistry.v1.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +367,148 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,14 +528,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override @@ -484,7 +551,8 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse build( @java.lang.Override public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +580,51 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse buildP public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +643,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +670,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ImportYumArtifa errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +698,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +709,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,6 +748,8 @@ public java.util.List getYu } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -675,6 +764,8 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -689,6 +780,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int i } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -710,6 +803,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -728,6 +823,8 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -748,6 +845,8 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1.YumArtifa return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -769,6 +868,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -787,6 +888,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -805,6 +908,8 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -815,8 +920,7 @@ public Builder addAllYumArtifacts( java.lang.Iterable values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,6 +928,8 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -841,6 +947,8 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -858,6 +966,8 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -869,6 +979,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -878,19 +990,22 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder getYumArtifac public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,6 +1013,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa } } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -905,10 +1022,12 @@ public com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifa * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
@@ -917,55 +1036,71 @@ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifac */ public com.google.devtools.artifactregistry.v1.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.YumArtifact, com.google.devtools.artifactregistry.v1.YumArtifact.Builder, com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.YumArtifact, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1108,14 @@ public java.util.List * Detailed error info for packages that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1125,17 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1143,14 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getEr } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1167,19 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1190,17 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1214,14 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1.ImportYumArtifa return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1238,18 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1260,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1283,22 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1306,14 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1326,14 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1346,50 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1397,75 @@ public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuil } } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for packages that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1475,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1512,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java index e42fa5ab..50fe871f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,64 +54,83 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1.YumArtifact yum_artifacts = 1; */ - com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder getYumArtifactsOrBuilder(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for packages that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * repeated .google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( int index); diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java index d180c24c..5102e43d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ -public final class ListDockerImagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) ListDockerImagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesRequest.newBuilder() to construct. private ListDockerImagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListDockerImagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListDockerImagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListDockerImagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest 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.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.devtools.artifactregistry.v1.ListDockerImagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance(); } @@ -460,7 +497,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +510,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +584,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +598,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +620,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +642,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose docker images will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +719,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of artifacts to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +756,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +778,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +800,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +871,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesRequest) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +908,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java index 5ba1a827..30b4accd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesRequestOrBuilder extends +public interface ListDockerImagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose docker images will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of artifacts to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java index 4ab80e6e..ac237ea9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing docker images.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ -public final class ListDockerImagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDockerImagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) ListDockerImagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDockerImagesResponse.newBuilder() to construct. private ListDockerImagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDockerImagesResponse() { dockerImages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListDockerImagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDockerImagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListDockerImagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListDockerImagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dockerImages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + dockerImages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.DockerImage.parser(), + extensionRegistry)); + break; } - dockerImages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.DockerImage.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListDockerImagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dockerImages_ = java.util.Collections.unmodifiableList(dockerImages_); @@ -94,22 +115,27 @@ private ListDockerImagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } public static final int DOCKER_IMAGES_FIELD_NUMBER = 1; private java.util.List dockerImages_; /** + * + * *
    * The docker images returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getDo return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getDo * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ @java.lang.Override - public java.util.List + public java.util.List getDockerImagesOrBuilderList() { return dockerImages_; } /** + * + * *
    * The docker images returned.
    * 
@@ -144,6 +174,8 @@ public int getDockerImagesCount() { return dockerImages_.size(); } /** + * + * *
    * The docker images returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i return dockerImages_.get(index); } /** + * + * *
    * The docker images returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < dockerImages_.size(); i++) { output.writeMessage(1, dockerImages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dockerImages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dockerImages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, dockerImages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListDockerImagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) obj; - if (!getDockerImagesList() - .equals(other.getDockerImagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getDockerImagesList().equals(other.getDockerImagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse 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.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing docker images.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListDockerImagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.devtools.artifactregistry.v1.ListDockerImagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.class, + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.newBuilder() @@ -411,17 +456,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) { getDockerImagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ArtifactProto.internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ArtifactProto + .internal_static_google_devtools_artifactregistry_v1_ListDockerImagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse result = + new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(this); int from_bitField0_ = bitField0_; if (dockerImagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListDockerImagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListDockerImagesResponse.getDefaultInstance()) + return this; if (dockerImagesBuilder_ == null) { if (!other.dockerImages_.isEmpty()) { if (dockerImages_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListDockerImage dockerImagesBuilder_ = null; dockerImages_ = other.dockerImages_; bitField0_ = (bitField0_ & ~0x00000001); - dockerImagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDockerImagesFieldBuilder() : null; + dockerImagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDockerImagesFieldBuilder() + : null; } else { dockerImagesBuilder_.addAllMessages(other.dockerImages_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListDockerImagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List dockerImages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDockerImagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dockerImages_ = new java.util.ArrayList(dockerImages_); + dockerImages_ = + new java.util.ArrayList( + dockerImages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> dockerImagesBuilder_; + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + dockerImagesBuilder_; /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List getDockerImagesList() { + public java.util.List + getDockerImagesList() { if (dockerImagesBuilder_ == null) { return java.util.Collections.unmodifiableList(dockerImages_); } else { @@ -605,6 +669,8 @@ public java.util.List getDo } } /** + * + * *
      * The docker images returned.
      * 
@@ -619,6 +685,8 @@ public int getDockerImagesCount() { } } /** + * + * *
      * The docker images returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int i } } /** + * + * *
      * The docker images returned.
      * 
@@ -654,6 +724,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -672,6 +744,8 @@ public Builder setDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -692,6 +766,8 @@ public Builder addDockerImages(com.google.devtools.artifactregistry.v1.DockerIma return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -713,6 +789,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -731,6 +809,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -749,6 +829,8 @@ public Builder addDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllDockerImages( java.lang.Iterable values) { if (dockerImagesBuilder_ == null) { ensureDockerImagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dockerImages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dockerImages_); onChanged(); } else { dockerImagesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllDockerImages( return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearDockerImages() { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeDockerImages(int index) { return this; } /** + * + * *
      * The docker images returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag return getDockerImagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The docker images returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder getDockerImag public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( int index) { if (dockerImagesBuilder_ == null) { - return dockerImages_.get(index); } else { + return dockerImages_.get(index); + } else { return dockerImagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesOrBuilderList() { + public java.util.List + getDockerImagesOrBuilderList() { if (dockerImagesBuilder_ != null) { return dockerImagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma } } /** + * + * *
      * The docker images returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerIma * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder() { - return getDockerImagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag */ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImagesBuilder( int index) { - return getDockerImagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); + return getDockerImagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.DockerImage.getDefaultInstance()); } /** + * + * *
      * The docker images returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - public java.util.List - getDockerImagesBuilderList() { + public java.util.List + getDockerImagesBuilderList() { return getDockerImagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder> getDockerImagesFieldBuilder() { if (dockerImagesBuilder_ == null) { - dockerImagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.DockerImage, com.google.devtools.artifactregistry.v1.DockerImage.Builder, com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( - dockerImages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + dockerImagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.DockerImage, + com.google.devtools.artifactregistry.v1.DockerImage.Builder, + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder>( + dockerImages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); dockerImages_ = null; } return dockerImagesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.DockerImage.Builder addDockerImag private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of artifacts, or empty if there are no
      * more artifacts to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListDockerImagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListDockerImagesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDockerImagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListDockerImagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDockerImagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListDockerImagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListDockerImagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java index c2023b9e..e0d919e8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListDockerImagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/artifact.proto package com.google.devtools.artifactregistry.v1; -public interface ListDockerImagesResponseOrBuilder extends +public interface ListDockerImagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListDockerImagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List - getDockerImagesList(); + java.util.List getDockerImagesList(); /** + * + * *
    * The docker images returned.
    * 
@@ -25,6 +44,8 @@ public interface ListDockerImagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.DockerImage getDockerImages(int index); /** + * + * *
    * The docker images returned.
    * 
@@ -33,43 +54,51 @@ public interface ListDockerImagesResponseOrBuilder extends */ int getDockerImagesCount(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - java.util.List + java.util.List getDockerImagesOrBuilderList(); /** + * + * *
    * The docker images returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.DockerImage docker_images = 1; */ - com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.DockerImageOrBuilder getDockerImagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of artifacts, or empty if there are no
    * more artifacts to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java index 3d55fa27..411fed6c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -28,16 +46,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -136,30 +162,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -170,6 +196,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -183,6 +211,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -191,14 +220,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -212,16 +242,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 { @@ -232,11 +261,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -247,11 +279,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -260,29 +295,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -293,11 +328,14 @@ public java.lang.String getPageToken() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -306,29 +344,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; } } /** + * + * *
    * The field to order the results by.
    * 
* * 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 { @@ -337,6 +375,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -348,8 +387,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -378,8 +416,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -398,23 +435,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesRequest other = (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.devtools.artifactregistry.v1.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -442,117 +475,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest 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.devtools.artifactregistry.v1.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.devtools.artifactregistry.v1.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesRequest.class, com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesRequest.newBuilder() @@ -560,16 +603,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -587,9 +629,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesRequest_descriptor; } @java.lang.Override @@ -608,7 +650,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesRequest result = new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -622,38 +665,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -661,7 +705,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -700,7 +745,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -712,19 +758,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -733,21 +781,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -755,57 +804,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -813,6 +869,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -826,13 +884,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -841,6 +899,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -854,15 +914,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 { @@ -870,6 +929,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -883,20 +944,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -910,15 +973,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -932,28 +998,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -961,30 +1030,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -992,18 +1067,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -1012,20 +1089,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -1033,54 +1111,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -1088,18 +1173,20 @@ public Builder setPageTokenBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * The field to order the results by.
      * 
* * 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; @@ -1108,20 +1195,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * 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 { @@ -1129,61 +1217,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1193,12 +1288,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesRequest) private static final com.google.devtools.artifactregistry.v1.ListFilesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesRequest(); } @@ -1207,16 +1302,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1231,6 +1326,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java index 1c397163..b5e92315 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,58 +86,71 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The field to order the results by.
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java index 9ec076ca..e084224a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +113,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getFilesList return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getFilesList * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +172,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListFilesResponse other = (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse 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.devtools.artifactregistry.v1.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.devtools.artifactregistry.v1.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListFilesResponse.class, com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListFilesResponse.newBuilder() @@ -411,17 +453,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.FileProto.internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.FileProto + .internal_static_google_devtools_artifactregistry_v1_ListFilesResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListFilesResponse result = new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListFilesResponse buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListFilesRespon filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListFilesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getFilesList } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +675,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +733,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +755,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1.File value) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public Builder addFiles( - com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { + public Builder addFiles(com.google.devtools.artifactregistry.v1.File.Builder builderForValue) { if (filesBuilder_ == null) { ensureFilesIsMutable(); files_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +816,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( * repeated .google.devtools.artifactregistry.v1.File files = 1; */ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder> + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.File, com.google.devtools.artifactregistry.v1.File.Builder, com.google.devtools.artifactregistry.v1.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.File, + com.google.devtools.artifactregistry.v1.File.Builder, + com.google.devtools.artifactregistry.v1.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.File.Builder addFilesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListFilesResponse) private static final com.google.devtools.artifactregistry.v1.ListFilesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListFilesResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListFilesResponse getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListFilesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java index c336fc53..1233e9a3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/file.proto package com.google.devtools.artifactregistry.v1; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.File files = 1; */ - com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java index a0f89423..71e6ae6d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -154,11 +178,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +196,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +212,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +243,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +255,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_); } @@ -248,8 +278,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_); @@ -262,19 +291,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.devtools.artifactregistry.v1.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest 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.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.devtools.artifactregistry.v1.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesRequest.newBuilder() @@ -416,16 +453,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,9 +475,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor; } @java.lang.Override @@ -460,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,38 +509,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; @@ -511,7 +549,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +594,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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; @@ -574,20 +616,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @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 { @@ -595,66 +638,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +715,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +752,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +774,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +796,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,12 +867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesRequest) private static final com.google.devtools.artifactregistry.v1.ListPackagesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesRequest(); } @@ -812,16 +881,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -836,6 +905,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java index 060f2b1f..d503daf4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesRequestOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * Required. The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java index 3a627415..de6c46c8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +114,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getPackag return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getPackag * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +173,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index) { return packages_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse 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.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.devtools.artifactregistry.v1.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1.ListPackagesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListPackagesResponse.newBuilder() @@ -411,17 +454,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) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListPackagesResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListPackagesRes packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListPackagesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList(packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getPackag } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +679,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Package getPackages(int index) { } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder setPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder setPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +737,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,14 +759,15 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1.Package value return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public Builder addPackages( - int index, com.google.devtools.artifactregistry.v1.Package value) { + public Builder addPackages(int index, com.google.devtools.artifactregistry.v1.Package value) { if (packagesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +801,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +821,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,17 +879,20 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilder(int index) { return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Package.Builder getPackagesBuilde public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui } } /** + * + * *
      * The packages returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBui * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder( - int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilder(int index) { + return getPackagesFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder> + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Package, com.google.devtools.artifactregistry.v1.Package.Builder, com.google.devtools.artifactregistry.v1.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Package, + com.google.devtools.artifactregistry.v1.Package.Builder, + com.google.devtools.artifactregistry.v1.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Package.Builder addPackagesBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListPackagesResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListPackagesResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListPackagesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java index c8f36957..b1ee1f50 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Package packages = 1; */ - com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java index f1d9d7e9..82160ab1 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,117 +329,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.newBuilder() @@ -416,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,13 +479,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance(); } @@ -460,7 +501,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +514,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +588,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +602,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +626,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +650,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +733,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +770,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +792,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +814,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +885,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +922,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java index fde383a0..90b52eae 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java index 1eb77068..803da10f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +115,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getRep return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getRep * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +174,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +328,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.newBuilder() @@ -411,17 +456,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +482,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance(); } @@ -458,7 +504,8 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +525,50 @@ public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1.ListRepositoriesResponse.getDefaultInstance()) + return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +587,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListRepositorie repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +619,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +630,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +669,8 @@ public java.util.List getRep } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +685,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +701,8 @@ public com.google.devtools.artifactregistry.v1.Repository getRepositories(int in } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +724,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -672,6 +744,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +766,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +789,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +809,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -749,6 +829,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -759,8 +841,7 @@ public Builder addAllRepositories( java.lang.Iterable values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +849,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +868,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +887,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,6 +900,8 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
@@ -822,19 +911,22 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositorie public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +934,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori } } /** + * + * *
      * The repositories returned.
      * 
@@ -849,10 +943,12 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositori * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +957,36 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie */ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +994,21 @@ public com.google.devtools.artifactregistry.v1.Repository.Builder addRepositorie private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1017,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1040,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1114,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1151,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java index ac72a01a..1654957b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,43 +54,51 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Repository repositories = 1; */ - com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoriesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java index 86938b7a..968a6cf3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsRequest other = (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest 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.devtools.artifactregistry.v1.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.devtools.artifactregistry.v1.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsRequest.class, com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,9 +553,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; } @java.lang.Override @@ -535,7 +574,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsRequest result = new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +588,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +628,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +664,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +677,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +699,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +721,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +783,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +795,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +810,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +822,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 { @@ -781,6 +837,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +849,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +875,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +897,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +929,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +966,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +988,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1010,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1081,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsRequest) private static final com.google.devtools.artifactregistry.v1.ListTagsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsRequest(); } @@ -1013,16 +1095,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsRequest getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1119,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java index 338c640b..0bf5fee0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java index c34a1b83..f93eed7a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,31 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +104,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +113,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +145,8 @@ public java.util.List getTagsList() return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +154,13 @@ public java.util.List getTagsList() * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +172,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +185,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +194,22 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +218,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +262,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +279,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +292,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.devtools.artifactregistry.v1.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListTagsResponse other = (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +325,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse 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.devtools.artifactregistry.v1.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.devtools.artifactregistry.v1.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListTagsResponse.class, com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListTagsResponse.newBuilder() @@ -411,17 +453,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,9 +479,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; } @java.lang.Override @@ -458,7 +500,8 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListTagsResponse result = new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +521,39 @@ public com.google.devtools.artifactregistry.v1.ListTagsResponse buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +561,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +581,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListTagsRespons tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +613,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListTagsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +623,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +659,8 @@ public java.util.List getTagsList() } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +675,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +691,15 @@ public com.google.devtools.artifactregistry.v1.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +713,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +733,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +755,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,14 +777,15 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public Builder addTags( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder addTags(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); tags_.add(builderForValue.build()); @@ -731,6 +796,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +816,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +828,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +836,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +855,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +874,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +919,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +928,48 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +977,21 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1000,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1023,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1097,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListTagsResponse) private static final com.google.devtools.artifactregistry.v1.ListTagsResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListTagsResponse(); } @@ -1016,16 +1111,16 @@ public static com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1135,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java index 53f7130a..8a0a118f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java index 7e27c2e6..b73c0779 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest 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.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.devtools.artifactregistry.v1.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,9 +604,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor; } @java.lang.Override @@ -571,7 +625,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,38 +640,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; @@ -624,7 +680,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +719,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +732,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +754,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +776,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +853,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +890,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +912,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +934,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +996,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.VersionView result = com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.VersionView result = + com.google.devtools.artifactregistry.v1.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1064,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1.VersionView value if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1089,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1111,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1133,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,12 +1204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsRequest) private static final com.google.devtools.artifactregistry.v1.ListVersionsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsRequest(); } @@ -1102,16 +1218,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1126,6 +1242,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java index 039f3d9b..bbed7b15 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java index 7ef4d76b..1acb4394 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +114,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getVersio return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getVersio * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +173,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index) { return versions_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse 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.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.devtools.artifactregistry.v1.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1.ListVersionsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ListVersionsResponse.newBuilder() @@ -411,17 +454,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) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.VersionProto + .internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1.ListVersionsResponse buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ListVersionsRes versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +616,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ListVersionsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +626,29 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList(versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getVersio } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +679,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1.Version getVersions(int index) { } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder setVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder setVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +737,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,14 +759,15 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1.Version value return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public Builder addVersions( - int index, com.google.devtools.artifactregistry.v1.Version value) { + public Builder addVersions(int index, com.google.devtools.artifactregistry.v1.Version value) { if (versionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +801,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +821,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,17 +879,20 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilder(int index) { return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +902,22 @@ public com.google.devtools.artifactregistry.v1.Version.Builder getVersionsBuilde public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui } } /** + * + * *
      * The versions returned.
      * 
@@ -849,42 +934,48 @@ public com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBui * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder( - int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilder(int index) { + return getVersionsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder> + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Version, com.google.devtools.artifactregistry.v1.Version.Builder, com.google.devtools.artifactregistry.v1.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Version, + com.google.devtools.artifactregistry.v1.Version.Builder, + com.google.devtools.artifactregistry.v1.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +983,21 @@ public com.google.devtools.artifactregistry.v1.Version.Builder addVersionsBuilde private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1006,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1029,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1103,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ListVersionsResponse(); } @@ -1016,16 +1118,16 @@ public static com.google.devtools.artifactregistry.v1.ListVersionsResponse getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1142,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ListVersionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java index d7fd7ec0..610ee3e0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1.Version versions = 1; */ - com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java index d94e616c..6737d59a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/service.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.OperationMetadata other = (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1.OperationMetadata other = + (com.google.devtools.artifactregistry.v1.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.OperationMetadata 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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.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.devtools.artifactregistry.v1.OperationMetadata) com.google.devtools.artifactregistry.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.OperationMetadata.class, com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1.OperationMetadata.class, + com.google.devtools.artifactregistry.v1.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,9 +304,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.ServiceProto.internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.ServiceProto + .internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -297,7 +325,8 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1.OperationMetadata result = new com.google.devtools.artifactregistry.v1.OperationMetadata(this); + com.google.devtools.artifactregistry.v1.OperationMetadata result = + new com.google.devtools.artifactregistry.v1.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +335,39 @@ public com.google.devtools.artifactregistry.v1.OperationMetadata buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +375,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +396,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +406,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,12 +418,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.OperationMetadata) private static final com.google.devtools.artifactregistry.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.OperationMetadata(); } @@ -400,16 +432,16 @@ public static com.google.devtools.artifactregistry.v1.OperationMetadata getDefau 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -424,6 +456,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..0dec3987 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java index b8110e19..1736129a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/package.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,29 +129,33 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -136,6 +163,7 @@ private Package(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -144,14 +172,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -159,16 +188,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 { @@ -179,11 +207,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -192,29 +223,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -225,11 +256,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -237,11 +271,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -249,6 +286,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -263,12 +302,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -276,12 +318,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -289,6 +334,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -302,6 +349,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -313,8 +361,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_);
     }
@@ -343,12 +390,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -358,26 +403,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.devtools.artifactregistry.v1.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Package other = (com.google.devtools.artifactregistry.v1.Package) obj;
+    com.google.devtools.artifactregistry.v1.Package other =
+        (com.google.devtools.artifactregistry.v1.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -407,118 +449,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Package parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package 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.devtools.artifactregistry.v1.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Package) com.google.devtools.artifactregistry.v1.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Package.class, com.google.devtools.artifactregistry.v1.Package.Builder.class); + com.google.devtools.artifactregistry.v1.Package.class, + com.google.devtools.artifactregistry.v1.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Package.newBuilder() @@ -526,16 +577,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -559,9 +609,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.PackageProto.internal_static_google_devtools_artifactregistry_v1_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.PackageProto + .internal_static_google_devtools_artifactregistry_v1_Package_descriptor; } @java.lang.Override @@ -580,7 +630,8 @@ public com.google.devtools.artifactregistry.v1.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Package buildPartial() { - com.google.devtools.artifactregistry.v1.Package result = new com.google.devtools.artifactregistry.v1.Package(this); + com.google.devtools.artifactregistry.v1.Package result = + new com.google.devtools.artifactregistry.v1.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -601,38 +652,39 @@ public com.google.devtools.artifactregistry.v1.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Package) other); } else { super.mergeFrom(other); return this; @@ -640,7 +692,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Package other) { - if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -686,6 +739,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -693,13 +748,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -708,6 +763,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -715,15 +772,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 { @@ -731,6 +787,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -738,20 +796,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -759,15 +819,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -775,16 +838,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -792,18 +855,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -812,20 +877,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -833,54 +899,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -888,34 +961,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -936,14 +1022,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -954,6 +1041,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -964,7 +1053,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -976,6 +1065,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,6 +1085,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -1001,11 +1094,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1016,11 +1111,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1028,14 +1126,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1043,36 +1144,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,6 +1208,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1101,8 +1217,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1113,6 +1228,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1124,7 +1241,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1136,6 +1253,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1155,6 +1274,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1163,11 +1284,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1179,11 +1302,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1192,21 +1318,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1216,12 +1345,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Package)
   private static final com.google.devtools.artifactregistry.v1.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Package();
   }
@@ -1230,16 +1359,16 @@ public static com.google.devtools.artifactregistry.v1.Package getDefaultInstance
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1254,6 +1383,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
index 94ad9830..23149f99 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageOrBuilder.java
@@ -1,13 +1,31 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/package.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -15,10 +33,13 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
@@ -26,50 +47,63 @@ public interface PackageOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -79,26 +113,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
new file mode 100644
index 00000000..a8c0a10a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/PackageProto.java
@@ -0,0 +1,141 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/package.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/pa"
+          + "ckage.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032\037google/pro"
+          + "tobuf/timestamp.proto\"\217\001\n\007Package\022\014\n\004nam"
+          + "e\030\001 \001(\t\022\024\n\014display_name\030\002 \001(\t\022/\n\013create_"
+          + "time\030\005 \001(\0132\032.google.protobuf.Timestamp\022/"
+          + "\n\013update_time\030\006 \001(\0132\032.google.protobuf.Ti"
+          + "mestamp\"Q\n\023ListPackagesRequest\022\023\n\006parent"
+          + "\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t"
+          + "oken\030\003 \001(\t\"o\n\024ListPackagesResponse\022>\n\010pa"
+          + "ckages\030\001 \003(\0132,.google.devtools.artifactr"
+          + "egistry.v1.Package\022\027\n\017next_page_token\030\002 "
+          + "\001(\t\"&\n\021GetPackageRequest\022\021\n\004name\030\001 \001(\tB\003"
+          + "\340A\002\")\n\024DeletePackageRequest\022\021\n\004name\030\001 \001("
+          + "\tB\003\340A\002B\372\001\n\'com.google.devtools.artifactr"
+          + "egistry.v1B\014PackageProtoP\001ZSgoogle.golan"
+          + "g.org/genproto/googleapis/devtools/artif"
+          + "actregistry/v1;artifactregistry\252\002 Google"
+          + ".Cloud.ArtifactRegistry.V1\312\002 Google\\Clou"
+          + "d\\ArtifactRegistry\\V1\352\002#Google::Cloud::A"
+          + "rtifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
index 4f9ae440..3be659f8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/settings.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.ProjectSettings other = (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1.ProjectSettings other = + (com.google.devtools.artifactregistry.v1.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings 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.devtools.artifactregistry.v1.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.ProjectSettings) com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.ProjectSettings.class, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1.ProjectSettings.class, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +633,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor; } @java.lang.Override @@ -578,7 +654,8 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1.ProjectSettings result = new com.google.devtools.artifactregistry.v1.ProjectSettings(this); + com.google.devtools.artifactregistry.v1.ProjectSettings result = + new com.google.devtools.artifactregistry.v1.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +666,39 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +706,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +734,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +747,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +758,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +773,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +784,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 { @@ -716,6 +799,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +810,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +835,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +856,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +873,112 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +988,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.ProjectSettings) private static final com.google.devtools.artifactregistry.v1.ProjectSettings DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.ProjectSettings(); } @@ -880,16 +1002,16 @@ public static com.google.devtools.artifactregistry.v1.ProjectSettings getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1026,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java index 0eb8aa35..fba88646 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java index 2a08d6b3..2b2685c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,51 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +860,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +880,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +896,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.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +919,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +927,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,6 +1031,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
@@ -891,38 +1041,42 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
         com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder.class);
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.class,
+                com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder
+                    .class);
       }
 
-      // Construct using com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
+      // Construct using
+      // com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -934,19 +1088,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.devtools.artifactregistry.v1.RepositoryProto
+            .internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor;
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() {
-        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance();
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          getDefaultInstanceForType() {
+        return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig build() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = buildPartial();
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -954,8 +1111,10 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       }
 
       @java.lang.Override
-      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig buildPartial() {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
+      public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+          buildPartial() {
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig result =
+            new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(this);
         result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_;
         result.versionPolicy_ = versionPolicy_;
         onBuilt();
@@ -966,46 +1125,54 @@ public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
-          return mergeFrom((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)other);
+        if (other
+            instanceof com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) {
+          return mergeFrom(
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
-        if (other == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig other) {
+        if (other
+            == com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig
+                .getDefaultInstance()) return this;
         if (other.getAllowSnapshotOverwrites() != false) {
           setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites());
         }
@@ -1027,11 +1194,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage = null;
+        com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1041,14 +1211,17 @@ public Builder mergeFrom(
         return this;
       }
 
-      private boolean allowSnapshotOverwrites_ ;
+      private boolean allowSnapshotOverwrites_;
       /**
+       *
+       *
        * 
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1229,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1268,113 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + .UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1387,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1425,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1457,36 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1494,61 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1557,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1591,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1645,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1676,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1701,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1713,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1740,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1757,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1778,11 @@ public 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();
     }
@@ -1535,11 +1792,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1807,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1822,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1838,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1853,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1868,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1884,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1894,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1903,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1920,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1937,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1949,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1973,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +1989,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2031,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Repository other = (com.google.devtools.artifactregistry.v1.Repository) obj; + com.google.devtools.artifactregistry.v1.Repository other = + (com.google.devtools.artifactregistry.v1.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2105,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.Repository 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.devtools.artifactregistry.v1.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Repository) com.google.devtools.artifactregistry.v1.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.Repository.class, com.google.devtools.artifactregistry.v1.Repository.Builder.class); + com.google.devtools.artifactregistry.v1.Repository.class, + com.google.devtools.artifactregistry.v1.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.Repository.newBuilder() @@ -1973,16 +2252,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2291,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2312,8 @@ public com.google.devtools.artifactregistry.v1.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository buildPartial() { - com.google.devtools.artifactregistry.v1.Repository result = new com.google.devtools.artifactregistry.v1.Repository(this); + com.google.devtools.artifactregistry.v1.Repository result = + new com.google.devtools.artifactregistry.v1.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2347,39 @@ public com.google.devtools.artifactregistry.v1.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2387,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository other) { - if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2400,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2412,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Repository othe onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2441,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2451,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2469,21 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2491,49 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2547,19 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2570,29 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.newBuilder( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2608,15 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1.Reposito return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2635,101 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2738,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2761,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2826,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.Repository.Format result = com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.Repository.Format result = + com.google.devtools.artifactregistry.v1.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2894,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1.Repository.Form if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2919,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2941,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2963,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3049,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3061,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3088,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3105,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3127,11 @@ public 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();
       }
@@ -2757,11 +3139,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3155,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3180,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3204,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3272,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3291,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3303,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3315,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3335,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3344,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3361,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3376,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3394,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3455,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3474,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3486,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3498,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3518,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3527,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3544,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3559,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3577,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3587,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3602,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3612,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3627,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3637,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3661,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that's
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3681,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3707,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Repository) private static final com.google.devtools.artifactregistry.v1.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Repository(); } @@ -3276,16 +3721,16 @@ public static com.google.devtools.artifactregistry.v1.Repository getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3745,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java index 2924cb46..7d3073f7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryOrBuilder.java @@ -1,104 +1,150 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * .google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +157,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +169,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +186,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +202,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +219,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +257,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +292,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +302,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that's
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +317,10 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); public com.google.devtools.artifactregistry.v1.Repository.FormatConfigCase getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java new file mode 100644 index 00000000..d0e9bb14 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/RepositoryProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/repository.proto + +package com.google.devtools.artifactregistry.v1; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n4google/devtools/artifactregistry/v1/re" + + "pository.proto\022#google.devtools.artifact" + + "registry.v1\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\245\007\n\nRepository\022]\n\014mav" + + "en_config\030\t \001(\0132E.google.devtools.artifa" + + "ctregistry.v1.Repository.MavenRepository" + + "ConfigH\000\022\014\n\004name\030\001 \001(\t\022F\n\006format\030\002 \001(\01626" + + ".google.devtools.artifactregistry.v1.Rep" + + "ository.Format\022\023\n\013description\030\003 \001(\t\022K\n\006l" + + "abels\030\004 \003(\0132;.google.devtools.artifactre" + + "gistry.v1.Repository.LabelsEntry\022/\n\013crea" + + "te_time\030\005 \001(\0132\032.google.protobuf.Timestam" + + "p\022/\n\013update_time\030\006 \001(\0132\032.google.protobuf" + + ".Timestamp\022\024\n\014kms_key_name\030\010 \001(\t\032\363\001\n\025Mav" + + "enRepositoryConfig\022!\n\031allow_snapshot_ove" + + "rwrites\030\001 \001(\010\022k\n\016version_policy\030\002 \001(\0162S." + + "google.devtools.artifactregistry.v1.Repo" + + "sitory.MavenRepositoryConfig.VersionPoli" + + "cy\"J\n\rVersionPolicy\022\036\n\032VERSION_POLICY_UN" + + "SPECIFIED\020\000\022\013\n\007RELEASE\020\001\022\014\n\010SNAPSHOT\020\002\032-" + + "\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(" + + "\t:\0028\001\"^\n\006Format\022\026\n\022FORMAT_UNSPECIFIED\020\000\022" + + "\n\n\006DOCKER\020\001\022\t\n\005MAVEN\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005" + + "\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020\010:r\352Ao\n*artifactregi" + + "stry.googleapis.com/Repository\022Aprojects" + + "/{project}/locations/{location}/reposito" + + "ries/{repository}B\017\n\rformat_config\"\204\001\n\027L" + + "istRepositoriesRequest\022B\n\006parent\030\001 \001(\tB2" + + "\340A\002\372A,\022*artifactregistry.googleapis.com/" + + "Repository\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_to" + + "ken\030\003 \001(\t\"z\n\030ListRepositoriesResponse\022E\n" + + "\014repositories\030\001 \003(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022\027\n\017next_pag" + + "e_token\030\002 \001(\t\"X\n\024GetRepositoryRequest\022@\n" + + "\004name\030\001 \001(\tB2\340A\002\372A,\n*artifactregistry.go" + + "ogleapis.com/Repository\"\271\001\n\027CreateReposi" + + "toryRequest\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*art" + + "ifactregistry.googleapis.com/Repository\022" + + "\025\n\rrepository_id\030\002 \001(\t\022C\n\nrepository\030\003 \001" + + "(\0132/.google.devtools.artifactregistry.v1" + + ".Repository\"\217\001\n\027UpdateRepositoryRequest\022" + + "C\n\nrepository\030\001 \001(\0132/.google.devtools.ar" + + "tifactregistry.v1.Repository\022/\n\013update_m" + + "ask\030\002 \001(\0132\032.google.protobuf.FieldMask\"[\n" + + "\027DeleteRepositoryRequest\022@\n\004name\030\001 \001(\tB2" + + "\340A\002\372A,\n*artifactregistry.googleapis.com/" + + "RepositoryB\375\001\n\'com.google.devtools.artif" + + "actregistry.v1B\017RepositoryProtoP\001ZSgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1;artifactregistry\252\002" + + " Google.Cloud.ArtifactRegistry.V1\312\002 Goog" + + "le\\Cloud\\ArtifactRegistry\\V1\352\002#Google::C" + + "loud::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java new file mode 100644 index 00000000..c1ef77d8 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/ServiceProto.java @@ -0,0 +1,278 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/service.proto + +package com.google.devtools.artifactregistry.v1; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n1google/devtools/artifactregistry/v1/se" + + "rvice.proto\022#google.devtools.artifactreg" + + "istry.v1\032\034google/api/annotations.proto\032\027" + + "google/api/client.proto\0326google/devtools" + + "/artifactregistry/v1/apt_artifact.proto\032" + + "2google/devtools/artifactregistry/v1/art" + + "ifact.proto\032.google/devtools/artifactreg" + + "istry/v1/file.proto\0321google/devtools/art" + + "ifactregistry/v1/package.proto\0324google/d" + + "evtools/artifactregistry/v1/repository.p" + + "roto\0322google/devtools/artifactregistry/v" + + "1/settings.proto\032-google/devtools/artifa" + + "ctregistry/v1/tag.proto\0321google/devtools" + + "/artifactregistry/v1/version.proto\0326goog" + + "le/devtools/artifactregistry/v1/yum_arti" + + "fact.proto\032\036google/iam/v1/iam_policy.pro" + + "to\032\032google/iam/v1/policy.proto\032#google/l" + + "ongrunning/operations.proto\032\033google/prot" + + "obuf/empty.proto\"\023\n\021OperationMetadata2\2700" + + "\n\020ArtifactRegistry\022\341\001\n\020ListDockerImages\022" + + "<.google.devtools.artifactregistry.v1.Li" + + "stDockerImagesRequest\032=.google.devtools." + + "artifactregistry.v1.ListDockerImagesResp" + + "onse\"P\202\323\344\223\002A\022?/v1/{parent=projects/*/loc" + + "ations/*/repositories/*}/dockerImages\332A\006" + + "parent\022\316\001\n\016GetDockerImage\022:.google.devto" + + "ols.artifactregistry.v1.GetDockerImageRe" + + "quest\0320.google.devtools.artifactregistry" + + ".v1.DockerImage\"N\202\323\344\223\002A\022?/v1/{name=proje" + + "cts/*/locations/*/repositories/*/dockerI" + + "mages/*}\332A\004name\022\313\002\n\022ImportAptArtifacts\022>" + + ".google.devtools.artifactregistry.v1.Imp" + + "ortAptArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\325\001\202\323\344\223\002K\"F/v1/{parent=proj" + + "ects/*/locations/*/repositories/*}/aptAr" + + "tifacts:import:\001*\312A\200\001\n>google.devtools.a" + + "rtifactregistry.v1.ImportAptArtifactsRes" + + "ponse\022>google.devtools.artifactregistry." + + "v1.ImportAptArtifactsMetadata\022\313\002\n\022Import" + + "YumArtifacts\022>.google.devtools.artifactr" + + "egistry.v1.ImportYumArtifactsRequest\032\035.g" + + "oogle.longrunning.Operation\"\325\001\202\323\344\223\002K\"F/v" + + "1/{parent=projects/*/locations/*/reposit" + + "ories/*}/yumArtifacts:import:\001*\312A\200\001\n>goo" + + "gle.devtools.artifactregistry.v1.ImportY" + + "umArtifactsResponse\022>google.devtools.art" + + "ifactregistry.v1.ImportYumArtifactsMetad" + + "ata\022\322\001\n\020ListRepositories\022<.google.devtoo" + + "ls.artifactregistry.v1.ListRepositoriesR" + + "equest\032=.google.devtools.artifactregistr" + + "y.v1.ListRepositoriesResponse\"A\202\323\344\223\0022\0220/" + + "v1/{parent=projects/*/locations/*}/repos" + + "itories\332A\006parent\022\274\001\n\rGetRepository\0229.goo" + + "gle.devtools.artifactregistry.v1.GetRepo" + + "sitoryRequest\032/.google.devtools.artifact" + + "registry.v1.Repository\"?\202\323\344\223\0022\0220/v1/{nam" + + "e=projects/*/locations/*/repositories/*}" + + "\332A\004name\022\302\002\n\020CreateRepository\022<.google.de" + + "vtools.artifactregistry.v1.CreateReposit" + + "oryRequest\032\035.google.longrunning.Operatio" + + "n\"\320\001\202\323\344\223\002>\"0/v1/{parent=projects/*/locat" + + "ions/*}/repositories:\nrepository\332A\037paren" + + "t,repository,repository_id\312Ag\n.google.de" + + "vtools.artifactregistry.v1.Repository\0225g" + + "oogle.devtools.artifactregistry.v1.Opera" + + "tionMetadata\022\353\001\n\020UpdateRepository\022<.goog" + + "le.devtools.artifactregistry.v1.UpdateRe" + + "positoryRequest\032/.google.devtools.artifa" + + "ctregistry.v1.Repository\"h\202\323\344\223\002I2;/v1/{r" + + "epository.name=projects/*/locations/*/re" + + "positories/*}:\nrepository\332A\026repository,u" + + "pdate_mask\022\202\002\n\020DeleteRepository\022<.google" + + ".devtools.artifactregistry.v1.DeleteRepo" + + "sitoryRequest\032\035.google.longrunning.Opera" + + "tion\"\220\001\202\323\344\223\0022*0/v1/{name=projects/*/loca" + + "tions/*/repositories/*}\332A\004name\312AN\n\025googl" + + "e.protobuf.Empty\0225google.devtools.artifa" + + "ctregistry.v1.OperationMetadata\022\321\001\n\014List" + + "Packages\0228.google.devtools.artifactregis" + + "try.v1.ListPackagesRequest\0329.google.devt" + + "ools.artifactregistry.v1.ListPackagesRes" + + "ponse\"L\202\323\344\223\002=\022;/v1/{parent=projects/*/lo" + + "cations/*/repositories/*}/packages\332A\006par" + + "ent\022\276\001\n\nGetPackage\0226.google.devtools.art" + + "ifactregistry.v1.GetPackageRequest\032,.goo" + + "gle.devtools.artifactregistry.v1.Package" + + "\"J\202\323\344\223\002=\022;/v1/{name=projects/*/locations" + + "/*/repositories/*/packages/*}\332A\004name\022\207\002\n" + + "\rDeletePackage\0229.google.devtools.artifac" + + "tregistry.v1.DeletePackageRequest\032\035.goog" + + "le.longrunning.Operation\"\233\001\202\323\344\223\002=*;/v1/{" + + "name=projects/*/locations/*/repositories" + + "/*/packages/*}\332A\004name\312AN\n\025google.protobu" + + "f.Empty\0225google.devtools.artifactregistr" + + "y.v1.OperationMetadata\022\334\001\n\014ListVersions\022" + + "8.google.devtools.artifactregistry.v1.Li" + + "stVersionsRequest\0329.google.devtools.arti" + + "factregistry.v1.ListVersionsResponse\"W\202\323" + + "\344\223\002H\022F/v1/{parent=projects/*/locations/*" + + "/repositories/*/packages/*}/versions\332A\006p" + + "arent\022\311\001\n\nGetVersion\0226.google.devtools.a" + + "rtifactregistry.v1.GetVersionRequest\032,.g" + + "oogle.devtools.artifactregistry.v1.Versi" + + "on\"U\202\323\344\223\002H\022F/v1/{name=projects/*/locatio" + + "ns/*/repositories/*/packages/*/versions/" + + "*}\332A\004name\022\222\002\n\rDeleteVersion\0229.google.dev" + + "tools.artifactregistry.v1.DeleteVersionR" + + "equest\032\035.google.longrunning.Operation\"\246\001" + + "\202\323\344\223\002H*F/v1/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\312AN\n\025google.protobuf.Empty\0225google." + + "devtools.artifactregistry.v1.OperationMe" + + "tadata\022\305\001\n\tListFiles\0225.google.devtools.a" + + "rtifactregistry.v1.ListFilesRequest\0326.go" + + "ogle.devtools.artifactregistry.v1.ListFi" + + "lesResponse\"I\202\323\344\223\002:\0228/v1/{parent=project" + + "s/*/locations/*/repositories/*}/files\332A\006" + + "parent\022\263\001\n\007GetFile\0223.google.devtools.art" + + "ifactregistry.v1.GetFileRequest\032).google" + + ".devtools.artifactregistry.v1.File\"H\202\323\344\223" + + "\002;\0229/v1/{name=projects/*/locations/*/rep" + + "ositories/*/files/**}\332A\004name\022\314\001\n\010ListTag" + + "s\0224.google.devtools.artifactregistry.v1." + + "ListTagsRequest\0325.google.devtools.artifa" + + "ctregistry.v1.ListTagsResponse\"S\202\323\344\223\002D\022B" + + "/v1/{parent=projects/*/locations/*/repos" + + "itories/*/packages/*}/tags\332A\006parent\022\271\001\n\006" + + "GetTag\0222.google.devtools.artifactregistr" + + "y.v1.GetTagRequest\032(.google.devtools.art" + + "ifactregistry.v1.Tag\"Q\202\323\344\223\002D\022B/v1/{name=" + + "projects/*/locations/*/repositories/*/pa" + + "ckages/*/tags/*}\332A\004name\022\321\001\n\tCreateTag\0225." + + "google.devtools.artifactregistry.v1.Crea" + + "teTagRequest\032(.google.devtools.artifactr" + + "egistry.v1.Tag\"c\202\323\344\223\002I\"B/v1/{parent=proj" + + "ects/*/locations/*/repositories/*/packag" + + "es/*}/tags:\003tag\332A\021parent,tag,tag_id\022\323\001\n\t" + + "UpdateTag\0225.google.devtools.artifactregi" + + "stry.v1.UpdateTagRequest\032(.google.devtoo" + + "ls.artifactregistry.v1.Tag\"e\202\323\344\223\002M2F/v1/" + + "{tag.name=projects/*/locations/*/reposit" + + "ories/*/packages/*/tags/*}:\003tag\332A\017tag,up" + + "date_mask\022\255\001\n\tDeleteTag\0225.google.devtool" + + "s.artifactregistry.v1.DeleteTagRequest\032\026" + + ".google.protobuf.Empty\"Q\202\323\344\223\002D*B/v1/{nam" + + "e=projects/*/locations/*/repositories/*/" + + "packages/*/tags/*}\332A\004name\022\227\001\n\014SetIamPoli" + + "cy\022\".google.iam.v1.SetIamPolicyRequest\032\025" + + ".google.iam.v1.Policy\"L\202\323\344\223\002F\"A/v1/{reso" + + "urce=projects/*/locations/*/repositories" + + "/*}:setIamPolicy:\001*\022\224\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"I\202\323\344\223\002C\022A/v1/{resource=p" + + "rojects/*/locations/*/repositories/*}:ge" + + "tIamPolicy\022\275\001\n\022TestIamPermissions\022(.goog" + + "le.iam.v1.TestIamPermissionsRequest\032).go" + + "ogle.iam.v1.TestIamPermissionsResponse\"R" + + "\202\323\344\223\002L\"G/v1/{resource=projects/*/locatio" + + "ns/*/repositories/*}:testIamPermissions:" + + "\001*\022\300\001\n\022GetProjectSettings\022>.google.devto" + + "ols.artifactregistry.v1.GetProjectSettin" + + "gsRequest\0324.google.devtools.artifactregi" + + "stry.v1.ProjectSettings\"4\202\323\344\223\002\'\022%/v1/{na" + + "me=projects/*/projectSettings}\332A\004name\022\201\002" + + "\n\025UpdateProjectSettings\022A.google.devtool" + + "s.artifactregistry.v1.UpdateProjectSetti" + + "ngsRequest\0324.google.devtools.artifactreg" + + "istry.v1.ProjectSettings\"o\202\323\344\223\002J26/v1/{p" + + "roject_settings.name=projects/*/projectS" + + "ettings}:\020project_settings\332A\034project_set" + + "tings,update_mask\032\214\001\312A\037artifactregistry." + + "googleapis.com\322Aghttps://www.googleapis." + + "com/auth/cloud-platform,https://www.goog" + + "leapis.com/auth/cloud-platform.read-only" + + "B\372\001\n\'com.google.devtools.artifactregistr" + + "y.v1B\014ServiceProtoP\001ZSgoogle.golang.org/" + + "genproto/googleapis/devtools/artifactreg" + + "istry/v1;artifactregistry\252\002 Google.Cloud" + + ".ArtifactRegistry.V1\312\002 Google\\Cloud\\Arti" + + "factRegistry\\V1\352\002#Google::Cloud::Artifac" + + "tRegistry::V1b\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.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.ArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java new file mode 100644 index 00000000..99a5156a --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/SettingsProto.java @@ -0,0 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/settings.proto + +package com.google.devtools.artifactregistry.v1; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1/se" + + "ttings.proto\022#google.devtools.artifactre" + + "gistry.v1\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\214\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022g\n\030legacy_redirection_" + + "state\030\002 \001(\0162E.google.devtools.artifactre" + + "gistry.v1.ProjectSettings.RedirectionSta" + + "te\"\247\001\n\020RedirectionState\022!\n\035REDIRECTION_S" + + "TATE_UNSPECIFIED\020\000\022$\n REDIRECTION_FROM_G" + + "CR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FROM_GCR" + + "_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_GCR_IO" + + "_FINALIZED\020\003:X\352AU\n/artifactregistry.goog" + + "leapis.com/ProjectSettings\022\"projects/{pr" + + "oject}/projectSettings\"b\n\031GetProjectSett" + + "ingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/artif" + + "actregistry.googleapis.com/ProjectSettin" + + "gs\"\237\001\n\034UpdateProjectSettingsRequest\022N\n\020p" + + "roject_settings\030\002 \001(\01324.google.devtools." + + "artifactregistry.v1.ProjectSettings\022/\n\013u" + + "pdate_mask\030\003 \001(\0132\032.google.protobuf.Field" + + "MaskB\373\001\n\'com.google.devtools.artifactreg" + + "istry.v1B\rSettingsProtoP\001ZSgoogle.golang" + + ".org/genproto/googleapis/devtools/artifa" + + "ctregistry/v1;artifactregistry\252\002 Google." + + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud" + + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar" + + "tifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java index 2fdced91..685934c5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.TagProto
+        .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1.Tag.class,
+            com.google.devtools.artifactregistry.v1.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.Tag other = (com.google.devtools.artifactregistry.v1.Tag) obj; + com.google.devtools.artifactregistry.v1.Tag other = + (com.google.devtools.artifactregistry.v1.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag 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.devtools.artifactregistry.v1.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Tag)
       com.google.devtools.artifactregistry.v1.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Tag.class, com.google.devtools.artifactregistry.v1.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1.Tag.class,
+              com.google.devtools.artifactregistry.v1.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.TagProto
+          .internal_static_google_devtools_artifactregistry_v1_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1.Tag result = new com.google.devtools.artifactregistry.v1.Tag(this);
+      com.google.devtools.artifactregistry.v1.Tag result =
+          new com.google.devtools.artifactregistry.v1.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,6 +569,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +580,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +595,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +606,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 { @@ -582,6 +621,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +632,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +657,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +678,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +695,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +705,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +720,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +730,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +745,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +755,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +779,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +799,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +825,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Tag) private static final com.google.devtools.artifactregistry.v1.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Tag(); } @@ -783,16 +839,16 @@ public static com.google.devtools.artifactregistry.v1.Tag getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +863,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java index b4c2b5af..5051621c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/tag.proto package com.google.devtools.artifactregistry.v1; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java new file mode 100644 index 00000000..98a7bb62 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/TagProto.java @@ -0,0 +1,168 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/tag.proto + +package com.google.devtools.artifactregistry.v1; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_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/devtools/artifactregistry/v1/ta" + + "g.proto\022#google.devtools.artifactregistr" + + "y.v1\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"c\n\020ListTagsResponse\0226\n\004t" + + "ags\030\001 \003(\0132(.google.devtools.artifactregi" + + "stry.v1.Tag\022\027\n\017next_page_token\030\002 \001(\t\"\035\n\r" + + "GetTagRequest\022\014\n\004name\030\001 \001(\t\"i\n\020CreateTag" + + "Request\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002 \001(\t\022" + + "5\n\003tag\030\003 \001(\0132(.google.devtools.artifactr" + + "egistry.v1.Tag\"z\n\020UpdateTagRequest\0225\n\003ta" + + "g\030\001 \001(\0132(.google.devtools.artifactregist" + + "ry.v1.Tag\022/\n\013update_mask\030\002 \001(\0132\032.google." + + "protobuf.FieldMask\" \n\020DeleteTagRequest\022\014" + + "\n\004name\030\001 \001(\tB\366\001\n\'com.google.devtools.art" + + "ifactregistry.v1B\010TagProtoP\001ZSgoogle.gol" + + "ang.org/genproto/googleapis/devtools/art" + + "ifactregistry/v1;artifactregistry\252\002 Goog" + + "le.Cloud.ArtifactRegistry.V1\312\002 Google\\Cl" + + "oud\\ArtifactRegistry\\V1\352\002#Google::Cloud:" + + ":ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java index 68968ca2..942b8253 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder subBuilder = null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +180,22 @@ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSetting * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +203,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +232,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +244,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +261,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +274,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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +315,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,14 +473,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.SettingsProto.internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.SettingsProto + .internal_static_google_devtools_artifactregistry_v1_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override @@ -443,7 +496,8 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +516,51 @@ public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -527,7 +586,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +600,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +662,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1.Projec return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +682,22 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.ProjectSettings.newBuilder(projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +709,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1.Proj return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +729,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +772,17 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.ProjectSettings, com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.ProjectSettings, + com.google.devtools.artifactregistry.v1.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +790,47 @@ public com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProje 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +851,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +870,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +882,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +894,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +914,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +923,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +940,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +955,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +982,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1019,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java index 4b6628d6..21bc4289 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateProjectSettingsRequestOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/settings.proto package com.google.devtools.artifactregistry.v1; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
@@ -35,24 +59,32 @@ public interface UpdateProjectSettingsRequestOrBuilder extends com.google.devtools.artifactregistry.v1.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java index 04973de1..5076bc12 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/repository.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +320,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.newBuilder() @@ -399,16 +448,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.RepositoryProto.internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance(); } @@ -449,7 +498,8 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +518,50 @@ public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest buildPart public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest.getDefaultInstance()) + return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +587,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +601,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +662,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1.Repository return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +682,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +694,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +708,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1.Repositor return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +728,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,11 +737,13 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -673,11 +754,14 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +769,17 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository * .google.devtools.artifactregistry.v1.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Repository, com.google.devtools.artifactregistry.v1.Repository.Builder, com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Repository, + com.google.devtools.artifactregistry.v1.Repository.Builder, + com.google.devtools.artifactregistry.v1.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +787,13 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +801,15 @@ public com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepository
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +817,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +854,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +864,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +875,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +889,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +901,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +923,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +934,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +953,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +970,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +997,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1034,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
index 2c406dff..3fd08ad0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/repository.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
index 578f5f70..067c0f7b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,11 +153,14 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ @java.lang.Override @@ -139,6 +168,8 @@ public com.google.devtools.artifactregistry.v1.Tag getTag() { return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +184,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +193,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +201,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +210,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +218,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +246,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +263,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +276,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.devtools.artifactregistry.v1.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +317,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest 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.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.UpdateTagRequest) com.google.devtools.artifactregistry.v1.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.UpdateTagRequest.newBuilder() @@ -399,16 +445,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,9 +473,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.TagProto.internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.TagProto + .internal_static_google_devtools_artifactregistry_v1_UpdateTagRequest_descriptor; } @java.lang.Override @@ -449,7 +494,8 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +514,39 @@ public com.google.devtools.artifactregistry.v1.UpdateTagRequest buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +554,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +581,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.UpdateTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +594,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,14 +655,15 @@ public Builder setTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; */ - public Builder setTag( - com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { + public Builder setTag(com.google.devtools.artifactregistry.v1.Tag.Builder builderForValue) { if (tagBuilder_ == null) { tag_ = builderForValue.build(); onChanged(); @@ -611,6 +674,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +686,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +700,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +720,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +729,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +746,14 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +761,17 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { * .google.devtools.artifactregistry.v1.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +779,13 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() { 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +793,15 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +809,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +846,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +856,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +867,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +881,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +893,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +915,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +926,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +945,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +962,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +989,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.UpdateTagRequest)
   private static final com.google.devtools.artifactregistry.v1.UpdateTagRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.UpdateTagRequest();
   }
@@ -896,16 +1003,16 @@ public static com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaul
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
index 11c3721e..08f6fdb8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/tag.proto
 
 package com.google.devtools.artifactregistry.v1;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
index f20b3e2a..75a5b997 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,83 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1.Tag.parser(), extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +159,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +168,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1.Version.class,
+            com.google.devtools.artifactregistry.v1.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +197,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +206,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +223,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 { @@ -210,11 +242,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +258,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +291,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +306,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +321,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +337,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +352,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +367,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +383,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +397,8 @@ public java.util.List getRelatedTag
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +407,13 @@ public java.util.List getRelatedTag
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +426,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +440,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -389,14 +450,15 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index) {
+  public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
     return relatedTags_.get(index);
   }
 
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +467,7 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +475,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +485,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +493,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +510,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +522,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_);
     }
@@ -489,20 +557,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +576,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1.Version other = (com.google.devtools.artifactregistry.v1.Version) obj;
+    com.google.devtools.artifactregistry.v1.Version other =
+        (com.google.devtools.artifactregistry.v1.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -576,97 +635,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.devtools.artifactregistry.v1.Version parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version 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.devtools.artifactregistry.v1.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +741,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.Version)
       com.google.devtools.artifactregistry.v1.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1.Version.class, com.google.devtools.artifactregistry.v1.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1.Version.class,
+              com.google.devtools.artifactregistry.v1.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1.Version.newBuilder()
@@ -697,17 +765,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +811,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1.VersionProto.internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +832,8 @@ public com.google.devtools.artifactregistry.v1.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1.Version result = new com.google.devtools.artifactregistry.v1.Version(this);
+      com.google.devtools.artifactregistry.v1.Version result =
+          new com.google.devtools.artifactregistry.v1.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +869,39 @@ public com.google.devtools.artifactregistry.v1.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +909,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +943,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1.Version other)
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -911,10 +983,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +998,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1013,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1023,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 { @@ -962,6 +1038,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1048,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1072,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1092,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1109,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1131,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1153,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1215,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1276,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1295,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1307,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1319,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1339,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1348,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1365,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1380,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1398,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1459,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1478,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1490,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1502,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1522,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1531,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1548,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1563,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1.Tag, + com.google.devtools.artifactregistry.v1.Tag.Builder, + com.google.devtools.artifactregistry.v1.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1614,8 @@ public java.util.List getRelatedTag
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1631,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1648,8 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1495,8 +1657,7 @@ public com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder setRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder setRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1510,6 +1671,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1692,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1715,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1557,8 +1724,7 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1.Tag value)
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public Builder addRelatedTags(
-        int index, com.google.devtools.artifactregistry.v1.Tag value) {
+    public Builder addRelatedTags(int index, com.google.devtools.artifactregistry.v1.Tag value) {
       if (relatedTagsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1572,6 +1738,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1759,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1780,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1793,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1801,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1821,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1841,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1673,11 +1850,12 @@ public Builder removeRelatedTags(int index) {
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder(int index) {
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1685,14 +1863,16 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder getRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-        int index) {
+    public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1880,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1889,8 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1899,12 @@ public com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuil
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1728,12 +1912,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(
-        int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
+    public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder(int index) {
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1926,23 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      *
      * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1.Tag,
+            com.google.devtools.artifactregistry.v1.Tag.Builder,
+            com.google.devtools.artifactregistry.v1.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1.Tag, com.google.devtools.artifactregistry.v1.Tag.Builder, com.google.devtools.artifactregistry.v1.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1.Tag,
+                com.google.devtools.artifactregistry.v1.Tag.Builder,
+                com.google.devtools.artifactregistry.v1.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1950,13 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1964,17 @@ public com.google.devtools.artifactregistry.v1.Tag.Builder addRelatedTagsBuilder
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1982,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +1995,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2004,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2021,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2030,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2044,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2053,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2072,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2081,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2096,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2105,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2123,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2143,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2174,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.Version) private static final com.google.devtools.artifactregistry.v1.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.Version(); } @@ -1967,16 +2188,16 @@ public static com.google.devtools.artifactregistry.v1.Version getDefaultInstance return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2212,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java index c340f728..ec27cb32 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/version.proto package com.google.devtools.artifactregistry.v1; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1.TagOrBuilder getRelatedTagsOrBuilder(
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
new file mode 100644
index 00000000..a4451c3a
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionProto.java
@@ -0,0 +1,160 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1/version.proto
+
+package com.google.devtools.artifactregistry.v1;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n1google/devtools/artifactregistry/v1/ve"
+          + "rsion.proto\022#google.devtools.artifactreg"
+          + "istry.v1\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\032-google/dev"
+          + "tools/artifactregistry/v1/tag.proto\032\034goo"
+          + "gle/protobuf/struct.proto\032\037google/protob"
+          + "uf/timestamp.proto\"\227\003\n\007Version\022\014\n\004name\030\001"
+          + " \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create_time"
+          + "\030\005 \001(\0132\032.google.protobuf.Timestamp\022/\n\013up"
+          + "date_time\030\006 \001(\0132\032.google.protobuf.Timest"
+          + "amp\022>\n\014related_tags\030\007 \003(\0132(.google.devto"
+          + "ols.artifactregistry.v1.Tag\022.\n\010metadata\030"
+          + "\010 \001(\0132\027.google.protobuf.StructB\003\340A\003:\226\001\352A"
+          + "\222\001\n\'artifactregistry.googleapis.com/Vers"
+          + "ion\022gprojects/{project}/locations/{locat"
+          + "ion}/repositories/{repository}/packages/"
+          + "{package}/versions/{version}\"\243\001\n\023ListVer"
+          + "sionsRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_siz"
+          + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022>\n\004view\030\004 \001("
+          + "\01620.google.devtools.artifactregistry.v1."
+          + "VersionView\022\025\n\010order_by\030\005 \001(\tB\003\340A\001\"o\n\024Li"
+          + "stVersionsResponse\022>\n\010versions\030\001 \003(\0132,.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "on\022\027\n\017next_page_token\030\002 \001(\t\"a\n\021GetVersio"
+          + "nRequest\022\014\n\004name\030\001 \001(\t\022>\n\004view\030\002 \001(\01620.g"
+          + "oogle.devtools.artifactregistry.v1.Versi"
+          + "onView\"3\n\024DeleteVersionRequest\022\014\n\004name\030\001"
+          + " \001(\t\022\r\n\005force\030\002 \001(\010*@\n\013VersionView\022\034\n\030VE"
+          + "RSION_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004F"
+          + "ULL\020\002B\372\001\n\'com.google.devtools.artifactre"
+          + "gistry.v1B\014VersionProtoP\001ZSgoogle.golang"
+          + ".org/genproto/googleapis/devtools/artifa"
+          + "ctregistry/v1;artifactregistry\252\002 Google."
+          + "Cloud.ArtifactRegistry.V1\312\002 Google\\Cloud"
+          + "\\ArtifactRegistry\\V1\352\002#Google::Cloud::Ar"
+          + "tifactRegistry::V1b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
index 95df7c74..c210c72e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1/version.proto
 
 package com.google.devtools.artifactregistry.v1;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1.VersionView) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java index 6b5bbc99..d66ad118 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,16 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +528,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +544,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.devtools.artifactregistry.v1.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1.YumArtifact other = (com.google.devtools.artifactregistry.v1.YumArtifact) obj; + com.google.devtools.artifactregistry.v1.YumArtifact other = + (com.google.devtools.artifactregistry.v1.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +581,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact 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.devtools.artifactregistry.v1.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1.YumArtifact) com.google.devtools.artifactregistry.v1.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1.YumArtifact.class, com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1.YumArtifact.class, + com.google.devtools.artifactregistry.v1.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1.YumArtifact.newBuilder() @@ -637,16 +708,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +732,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +753,8 @@ public com.google.devtools.artifactregistry.v1.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1.YumArtifact result = new com.google.devtools.artifactregistry.v1.YumArtifact(this); + com.google.devtools.artifactregistry.v1.YumArtifact result = + new com.google.devtools.artifactregistry.v1.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +767,39 @@ public com.google.devtools.artifactregistry.v1.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +807,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +843,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +856,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +878,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +900,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +962,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +984,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1006,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1068,103 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1172,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1194,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1216,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1287,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1.YumArtifact) private static final com.google.devtools.artifactregistry.v1.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1.YumArtifact(); } @@ -1167,16 +1301,16 @@ public static com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1325,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java index 856803b3..a9ba7500 100644 --- a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1/yum_artifact.proto package com.google.devtools.artifactregistry.v1; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java new file mode 100644 index 00000000..faf5e918 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1/src/main/java/com/google/devtools/artifactregistry/v1/YumArtifactProto.java @@ -0,0 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1/yu" + + "m_artifact.proto\022#google.devtools.artifa" + + "ctregistry.v1\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032\027googl" + + "e/rpc/status.proto\"\207\003\n\013YumArtifact\022\021\n\004na" + + "me\030\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003" + + "\022W\n\014package_type\030\003 \001(\0162<.google.devtools" + + ".artifactregistry.v1.YumArtifact.Package" + + "TypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C\n\013" + + "PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIED\020" + + "\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+artifa" + + "ctregistry.googleapis.com/YumArtifact\022]p" + + "rojects/{project}/locations/{location}/r" + + "epositories/{repository}/yumArtifacts/{y" + + "um_artifact}\"B\n\033ImportYumArtifactsGcsSou" + + "rce\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001(\010" + + "\"\215\001\n\031ImportYumArtifactsRequest\022V\n\ngcs_so" + + "urce\030\002 \001(\0132@.google.devtools.artifactreg" + + "istry.v1.ImportYumArtifactsGcsSourceH\000\022\016" + + "\n\006parent\030\001 \001(\tB\010\n\006source\"\242\001\n\033ImportYumAr" + + "tifactsErrorInfo\022V\n\ngcs_source\030\001 \001(\0132@.g" + + "oogle.devtools.artifactregistry.v1.Impor" + + "tYumArtifactsGcsSourceH\000\022!\n\005error\030\002 \001(\0132" + + "\022.google.rpc.StatusB\010\n\006source\"\267\001\n\032Import" + + "YumArtifactsResponse\022G\n\ryum_artifacts\030\001 " + + "\003(\01320.google.devtools.artifactregistry.v" + + "1.YumArtifact\022P\n\006errors\030\002 \003(\0132@.google.d" + + "evtools.artifactregistry.v1.ImportYumArt" + + "ifactsErrorInfo\"\034\n\032ImportYumArtifactsMet" + + "adataB\376\001\n\'com.google.devtools.artifactre" + + "gistry.v1B\020YumArtifactProtoP\001ZSgoogle.go" + + "lang.org/genproto/googleapis/devtools/ar" + + "tifactregistry/v1;artifactregistry\252\002 Goo" + + "gle.Cloud.ArtifactRegistry.V1\312\002 Google\\C" + + "loud\\ArtifactRegistry\\V1\352\002#Google::Cloud" + + "::ArtifactRegistry::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/apt_artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/artifact.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/file.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/package.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/repository.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/service.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/settings.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/tag.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/version.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1/src/main/proto/google/devtools/artifactregistry/v1/yum_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java index e93240c0..3a443e11 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifact.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of an Apt artifact. Information in the record
  * is derived from the archive's control file.
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
  */
-public final class AptArtifact extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AptArtifact extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
     AptArtifactOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AptArtifact.newBuilder() to construct.
   private AptArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AptArtifact() {
     name_ = "";
     packageName_ = "";
@@ -32,16 +50,15 @@ private AptArtifact() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AptArtifact();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private AptArtifact(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -60,48 +77,53 @@ private AptArtifact(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            packageName_ = s;
-            break;
-          }
-          case 24: {
-            int rawValue = input.readEnum();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            packageType_ = rawValue;
-            break;
-          }
-          case 34: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageName_ = s;
+              break;
+            }
+          case 24:
+            {
+              int rawValue = input.readEnum();
 
-            architecture_ = s;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              packageType_ = rawValue;
+              break;
+            }
+          case 34:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            component_ = s;
-            break;
-          }
-          case 50: {
+              architecture_ = s;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            controlFile_ = input.readBytes();
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              component_ = s;
+              break;
+            }
+          case 50:
+            {
+              controlFile_ = input.readBytes();
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,36 +131,41 @@ private AptArtifact(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+            com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -147,6 +174,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package.
      * 
@@ -155,6 +184,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package.
      * 
@@ -166,6 +197,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -174,6 +207,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package.
      * 
@@ -182,6 +217,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package.
      * 
@@ -190,7 +227,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -215,49 +251,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -277,11 +315,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -290,29 +331,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -323,11 +364,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -336,29 +380,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -369,38 +413,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -409,29 +471,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -442,11 +504,14 @@ public java.lang.String getArchitecture() { public static final int COMPONENT_FIELD_NUMBER = 5; private volatile java.lang.Object component_; /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ @java.lang.Override @@ -455,29 +520,29 @@ public java.lang.String getComponent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; } } /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ @java.lang.Override - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -488,11 +553,14 @@ public java.lang.String getComponent() { public static final int CONTROL_FILE_FIELD_NUMBER = 6; private com.google.protobuf.ByteString controlFile_; /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -501,6 +569,7 @@ public com.google.protobuf.ByteString getControlFile() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -512,15 +581,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -547,9 +618,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -558,8 +631,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, component_); } if (!controlFile_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(6, controlFile_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, controlFile_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -569,24 +641,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.devtools.artifactregistry.v1beta2.AptArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.AptArtifact other = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.AptArtifact other = + (com.google.devtools.artifactregistry.v1beta2.AptArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; - if (!getComponent() - .equals(other.getComponent())) return false; - if (!getControlFile() - .equals(other.getControlFile())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; + if (!getComponent().equals(other.getComponent())) return false; + if (!getControlFile().equals(other.getControlFile())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -616,96 +684,104 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact 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.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.AptArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of an Apt artifact. Information in the record
    * is derived from the archive's control file.
@@ -714,21 +790,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.AptArtifact}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.AptArtifact)
       com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.class,
+              com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.AptArtifact.newBuilder()
@@ -736,16 +814,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -765,9 +842,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor;
     }
 
     @java.lang.Override
@@ -786,7 +863,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.AptArtifact result = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
+      com.google.devtools.artifactregistry.v1beta2.AptArtifact result =
+          new com.google.devtools.artifactregistry.v1beta2.AptArtifact(this);
       result.name_ = name_;
       result.packageName_ = packageName_;
       result.packageType_ = packageType_;
@@ -801,38 +879,39 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.AptArtifact) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.AptArtifact) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -840,7 +919,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.AptArtifact other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -882,7 +962,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.AptArtifact) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -894,18 +975,20 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -914,20 +997,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -935,54 +1019,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -990,18 +1081,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -1010,20 +1103,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -1031,54 +1125,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The Apt package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -1086,73 +1187,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1160,18 +1292,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1180,20 +1314,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1201,54 +1336,61 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; @@ -1256,18 +1398,20 @@ public Builder setArchitectureBytes( private java.lang.Object component_ = ""; /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ public java.lang.String getComponent() { java.lang.Object ref = component_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); component_ = s; return s; @@ -1276,20 +1420,21 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - public com.google.protobuf.ByteString - getComponentBytes() { + public com.google.protobuf.ByteString getComponentBytes() { java.lang.Object ref = component_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); component_ = b; return b; } else { @@ -1297,54 +1442,61 @@ public java.lang.String getComponent() { } } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The component to set. * @return This builder for chaining. */ - public Builder setComponent( - java.lang.String value) { + public Builder setComponent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + component_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearComponent() { - + component_ = getDefaultInstance().getComponent(); onChanged(); return this; } /** + * + * *
      * Output only. Repository component of the artifact.
      * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for component to set. * @return This builder for chaining. */ - public Builder setComponentBytes( - com.google.protobuf.ByteString value) { + public Builder setComponentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + component_ = value; onChanged(); return this; @@ -1352,11 +1504,14 @@ public Builder setComponentBytes( private com.google.protobuf.ByteString controlFile_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ @java.lang.Override @@ -1364,40 +1519,46 @@ public com.google.protobuf.ByteString getControlFile() { return controlFile_; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The controlFile to set. * @return This builder for chaining. */ public Builder setControlFile(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + controlFile_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Contents of the artifact's control metadata file.
      * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearControlFile() { - + controlFile_ = getDefaultInstance().getControlFile(); 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); } @@ -1407,12 +1568,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.AptArtifact) private static final com.google.devtools.artifactregistry.v1beta2.AptArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.AptArtifact(); } @@ -1421,16 +1582,16 @@ public static com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AptArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new AptArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AptArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new AptArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1445,6 +1606,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.AptArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java index 7b69ee0c..a2e2ce07 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactOrBuilder.java @@ -1,117 +1,166 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface AptArtifactOrBuilder extends +public interface AptArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.AptArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The Apt package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.AptArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The component. */ java.lang.String getComponent(); /** + * + * *
    * Output only. Repository component of the artifact.
    * 
* * string component = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for component. */ - com.google.protobuf.ByteString - getComponentBytes(); + com.google.protobuf.ByteString getComponentBytes(); /** + * + * *
    * Output only. Contents of the artifact's control metadata file.
    * 
* * bytes control_file = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The controlFile. */ com.google.protobuf.ByteString getControlFile(); diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java new file mode 100644 index 00000000..f7549075 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/AptArtifactProto.java @@ -0,0 +1,175 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class AptArtifactProto { + private AptArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_AptArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/apt_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\277\003\n\013AptArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.AptArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\022\026" + + "\n\tcomponent\030\005 \001(\tB\003\340A\003\022\031\n\014control_file\030\006" + + " \001(\014B\003\340A\003\"C\n\013PackageType\022\034\n\030PACKAGE_TYPE" + + "_UNSPECIFIED\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220" + + "\001\352A\214\001\n+artifactregistry.googleapis.com/A" + + "ptArtifact\022]projects/{project}/locations" + + "/{location}/repositories/{repository}/ap" + + "tArtifacts/{apt_artifact}\"B\n\033ImportAptAr" + + "tifactsGcsSource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wi" + + "ldcards\030\002 \001(\010\"\222\001\n\031ImportAptArtifactsRequ" + + "est\022[\n\ngcs_source\030\002 \001(\0132E.google.devtool" + + "s.artifactregistry.v1beta2.ImportAptArti" + + "factsGcsSourceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006sour" + + "ce\"\247\001\n\033ImportAptArtifactsErrorInfo\022[\n\ngc" + + "s_source\030\001 \001(\0132E.google.devtools.artifac" + + "tregistry.v1beta2.ImportAptArtifactsGcsS" + + "ourceH\000\022!\n\005error\030\002 \001(\0132\022.google.rpc.Stat" + + "usB\010\n\006source\"\301\001\n\032ImportAptArtifactsRespo" + + "nse\022L\n\rapt_artifacts\030\001 \003(\01325.google.devt" + + "ools.artifactregistry.v1beta2.AptArtifac" + + "t\022U\n\006errors\030\002 \003(\0132E.google.devtools.arti" + + "factregistry.v1beta2.ImportAptArtifactsE" + + "rrorInfo\"\034\n\032ImportAptArtifactsMetadataB\227" + + "\002\n,com.google.devtools.artifactregistry." + + "v1beta2B\020AptArtifactProtoP\001ZXgoogle.gola" + + "ng.org/genproto/googleapis/devtools/arti" + + "factregistry/v1beta2;artifactregistry\252\002%" + + "Google.Cloud.ArtifactRegistry.V1Beta2\312\002%" + + "Google\\Cloud\\ArtifactRegistry\\V1beta2\352\002(" + + "Google::Cloud::ArtifactRegistry::V1beta2" + + "b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_AptArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", "Component", "ControlFile", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor, + new java.lang.String[] { + "AptArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java index 5eeab420..6f9907ad 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ -public final class CreateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) CreateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateRepositoryRequest.newBuilder() to construct. private CreateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateRepositoryRequest() { parent_ = ""; repositoryId_ = ""; @@ -26,16 +44,15 @@ private CreateRepositoryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - repositoryId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); + parent_ = s; + break; } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + repositoryId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +116,41 @@ private CreateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 @@ -129,29 +159,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 { @@ -162,11 +194,14 @@ public java.lang.String getParent() { public static final int REPOSITORY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object repositoryId_; /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ @java.lang.Override @@ -175,29 +210,29 @@ public java.lang.String getRepositoryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; } } /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -208,11 +243,14 @@ public java.lang.String getRepositoryId() { public static final int REPOSITORY_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -220,18 +258,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository to be created.
    * 
@@ -244,6 +289,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +301,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_); } @@ -282,8 +327,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, repositoryId_); } if (repository_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getRepository()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getRepository()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +337,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.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getRepositoryId() - .equals(other.getRepositoryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getRepositoryId().equals(other.getRepositoryId())) return false; if (hasRepository() != other.hasRepository()) return false; if (hasRepository()) { - if (!getRepository() - .equals(other.getRepository())) return false; + if (!getRepository().equals(other.getRepository())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,134 +376,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to create a new repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,14 +532,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -500,7 +555,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(this); result.parent_ = parent_; result.repositoryId_ = repositoryId_; if (repositoryBuilder_ == null) { @@ -516,46 +572,51 @@ public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +647,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +661,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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; @@ -618,20 +685,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * 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 { @@ -639,54 +709,67 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource where the repository will be created.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +777,20 @@ public Builder setParentBytes( private java.lang.Object repositoryId_ = ""; /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The repositoryId. */ public java.lang.String getRepositoryId() { java.lang.Object ref = repositoryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); repositoryId_ = s; return s; @@ -714,20 +799,21 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - public com.google.protobuf.ByteString - getRepositoryIdBytes() { + public com.google.protobuf.ByteString getRepositoryIdBytes() { java.lang.Object ref = repositoryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); repositoryId_ = b; return b; } else { @@ -735,54 +821,61 @@ public java.lang.String getRepositoryId() { } } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryId( - java.lang.String value) { + public Builder setRepositoryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + repositoryId_ = value; onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @return This builder for chaining. */ public Builder clearRepositoryId() { - + repositoryId_ = getDefaultInstance().getRepositoryId(); onChanged(); return this; } /** + * + * *
      * The repository id to use for this repository.
      * 
* * string repository_id = 2; + * * @param value The bytes for repositoryId to set. * @return This builder for chaining. */ - public Builder setRepositoryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setRepositoryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + repositoryId_ = value; onChanged(); return this; @@ -790,34 +883,47 @@ public Builder setRepositoryIdBytes( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository to be created.
      * 
@@ -838,6 +944,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -856,6 +964,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -866,7 +976,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -878,6 +990,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -896,6 +1010,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository to be created.
      * 
@@ -903,26 +1019,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository to be created.
      * 
@@ -930,21 +1052,24 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -954,30 +1079,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1116,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java index d37c1ca1..ab7b42c5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateRepositoryRequestOrBuilder.java @@ -1,71 +1,109 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateRepositoryRequestOrBuilder extends +public interface CreateRepositoryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateRepositoryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource where the repository will be created.
    * 
* - * 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 name of the parent resource where the repository will be created.
    * 
* - * 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(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The repositoryId. */ java.lang.String getRepositoryId(); /** + * + * *
    * The repository id to use for this repository.
    * 
* * string repository_id = 2; + * * @return The bytes for repositoryId. */ - com.google.protobuf.ByteString - getRepositoryIdBytes(); + com.google.protobuf.ByteString getRepositoryIdBytes(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 3; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java index a7c5ac4d..6368405b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to create a new tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ -public final class CreateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) CreateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateTagRequest.newBuilder() to construct. private CreateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateTagRequest() { parent_ = ""; tagId_ = ""; @@ -26,16 +44,15 @@ private CreateTagRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CreateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,43 @@ private CreateTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - tagId_ = s; - break; - } - case 26: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); + parent_ = s; + break; } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + tagId_ = s; + break; } + case 26: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +115,39 @@ private CreateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,29 +156,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @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 { @@ -162,11 +189,14 @@ public java.lang.String getParent() { public static final int TAG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object tagId_; /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ @java.lang.Override @@ -175,29 +205,29 @@ public java.lang.String getTagId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; } } /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ @java.lang.Override - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -208,11 +238,14 @@ public java.lang.String getTagId() { public static final int TAG_FIELD_NUMBER = 3; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -220,18 +253,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag to be created.
    * 
@@ -244,6 +284,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -255,8 +296,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_); } @@ -282,8 +322,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, tagId_); } if (tag_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getTag()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getTag()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -293,21 +332,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.devtools.artifactregistry.v1beta2.CreateTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getTagId() - .equals(other.getTagId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getTagId().equals(other.getTagId())) return false; if (hasTag() != other.hasTag()) return false; if (hasTag()) { - if (!getTag() - .equals(other.getTag())) return false; + if (!getTag().equals(other.getTag())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -334,117 +371,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest 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.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to create a new tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.CreateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.devtools.artifactregistry.v1beta2.CreateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.newBuilder() @@ -452,16 +499,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -479,13 +525,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance(); } @@ -500,7 +547,8 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.CreateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(this); result.parent_ = parent_; result.tagId_ = tagId_; if (tagBuilder_ == null) { @@ -516,38 +564,39 @@ public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -555,7 +604,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.CreateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.CreateTagRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -586,7 +637,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.CreateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -598,18 +651,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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; @@ -618,20 +673,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @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 { @@ -639,54 +695,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the tag will be created.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -694,18 +757,20 @@ public Builder setParentBytes( private java.lang.Object tagId_ = ""; /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The tagId. */ public java.lang.String getTagId() { java.lang.Object ref = tagId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); tagId_ = s; return s; @@ -714,20 +779,21 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - public com.google.protobuf.ByteString - getTagIdBytes() { + public com.google.protobuf.ByteString getTagIdBytes() { java.lang.Object ref = tagId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); tagId_ = b; return b; } else { @@ -735,54 +801,61 @@ public java.lang.String getTagId() { } } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The tagId to set. * @return This builder for chaining. */ - public Builder setTagId( - java.lang.String value) { + public Builder setTagId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + tagId_ = value; onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @return This builder for chaining. */ public Builder clearTagId() { - + tagId_ = getDefaultInstance().getTagId(); onChanged(); return this; } /** + * + * *
      * The tag id to use for this repository.
      * 
* * string tag_id = 2; + * * @param value The bytes for tagId to set. * @return This builder for chaining. */ - public Builder setTagIdBytes( - com.google.protobuf.ByteString value) { + public Builder setTagIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + tagId_ = value; onChanged(); return this; @@ -790,34 +863,47 @@ public Builder setTagIdBytes( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag to be created.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag to be created.
      * 
@@ -838,6 +924,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -856,6 +944,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -866,7 +956,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -878,6 +970,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -896,6 +990,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag to be created.
      * 
@@ -903,11 +999,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag to be created.
      * 
@@ -918,11 +1016,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag to be created.
      * 
@@ -930,21 +1031,24 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; } + @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); } @@ -954,12 +1058,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.CreateTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.CreateTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.CreateTagRequest(); } @@ -968,16 +1073,16 @@ public static com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new CreateTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new CreateTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -992,6 +1097,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.CreateTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java index ed0dccb9..e1d4607a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/CreateTagRequestOrBuilder.java @@ -1,71 +1,105 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface CreateTagRequestOrBuilder extends +public interface CreateTagRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.CreateTagRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the tag will be created.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The tagId. */ java.lang.String getTagId(); /** + * + * *
    * The tag id to use for this repository.
    * 
* * string tag_id = 2; + * * @return The bytes for tagId. */ - com.google.protobuf.ByteString - getTagIdBytes(); + com.google.protobuf.ByteString getTagIdBytes(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag to be created.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 3; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag to be created.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java index 5a0dd439..798482af 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ -public final class DeletePackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeletePackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) DeletePackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeletePackageRequest.newBuilder() to construct. private DeletePackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeletePackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeletePackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeletePackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeletePackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeletePackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +227,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest 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.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeletePackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) com.google.devtools.artifactregistry.v1beta2.DeletePackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +375,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance(); } @@ -362,7 +397,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +408,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +475,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +489,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to delete.
      * 
* * 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; @@ -467,20 +511,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * 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 { @@ -488,61 +533,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +604,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeletePackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeletePackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeletePackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeletePackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +641,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeletePackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java new file mode 100644 index 00000000..d133ca1d --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeletePackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeletePackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeletePackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java index 3c964b02..4f00f9d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ -public final class DeleteRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) DeleteRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteRepositoryRequest.newBuilder() to construct. private DeleteRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private DeleteRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to delete.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to delete a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,14 +379,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -362,7 +402,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +413,51 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +495,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +519,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +543,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to delete.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +620,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..e954d602 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to delete.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java index ee36923c..3b450a74 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ -public final class DeleteTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) DeleteTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteTagRequest.newBuilder() to construct. private DeleteTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private DeleteTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to delete.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest 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.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) com.google.devtools.artifactregistry.v1beta2.DeleteTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to delete.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +601,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest(); } @@ -566,16 +616,16 @@ public static com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +640,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.DeleteTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java new file mode 100644 index 00000000..4e7fb61f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface DeleteTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to delete.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java index bcba882b..21e0714d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to delete a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ -public final class DeleteVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) DeleteVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteVersionRequest.newBuilder() to construct. private DeleteVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteVersionRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private DeleteVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,24 +70,25 @@ private DeleteVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - force_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + case 16: + { + force_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -78,34 +96,39 @@ private DeleteVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -114,29 +137,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to delete.
    * 
* * 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 { @@ -147,12 +170,15 @@ public java.lang.String getName() { public static final int FORCE_FIELD_NUMBER = 2; private boolean force_; /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -161,6 +187,7 @@ public boolean getForce() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -172,8 +199,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_); } @@ -193,8 +219,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (force_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, force_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, force_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -204,17 +229,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.devtools.artifactregistry.v1beta2.DeleteVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; - if (getForce() - != other.getForce()) return false; + if (!getName().equals(other.getName())) return false; + if (getForce() != other.getForce()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -229,142 +253,152 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + FORCE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getForce()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getForce()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest 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.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to delete a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.DeleteVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,13 +410,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance(); } @@ -397,7 +432,8 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(this); result.name_ = name_; result.force_ = force_; onBuilt(); @@ -408,46 +444,50 @@ public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -474,7 +514,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -486,18 +528,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to delete.
      * 
* * 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; @@ -506,20 +550,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * 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 { @@ -527,67 +572,77 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to delete.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private boolean force_ ; + private boolean force_; /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return The force. */ @java.lang.Override @@ -595,39 +650,45 @@ public boolean getForce() { return force_; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @param value The force to set. * @return This builder for chaining. */ public Builder setForce(boolean value) { - + force_ = value; onChanged(); return this; } /** + * + * *
      * By default, a version that is tagged may not be deleted. If force=true, the
      * version and any tags pointing to the version are deleted.
      * 
* * bool force = 2; + * * @return This builder for chaining. */ public Builder clearForce() { - + force_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -637,30 +698,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new DeleteVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeleteVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -672,9 +735,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.DeleteVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java index ddd7183c..fd9ab4b4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/DeleteVersionRequestOrBuilder.java @@ -1,39 +1,63 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface DeleteVersionRequestOrBuilder extends +public interface DeleteVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.DeleteVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to delete.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * By default, a version that is tagged may not be deleted. If force=true, the
    * version and any tags pointing to the version are deleted.
    * 
* * bool force = 2; + * * @return The force. */ boolean getForce(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java index deb68c74..19f64d27 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/File.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Files store content that is potentially associated with Packages or Versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ -public final class File extends - com.google.protobuf.GeneratedMessageV3 implements +public final class File extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.File) FileOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use File.newBuilder() to construct. private File(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private File() { name_ = ""; hashes_ = java.util.Collections.emptyList(); @@ -27,16 +45,15 @@ private File() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new File(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private File( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,65 +73,75 @@ private File( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 24: { - - sizeBytes_ = input.readInt64(); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + name_ = s; + break; } - hashes_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Hash.parser(), extensionRegistry)); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 24: + { + sizeBytes_ = input.readInt64(); + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + hashes_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + hashes_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Hash.parser(), + extensionRegistry)); + break; } - - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - - owner_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + owner_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -122,8 +149,7 @@ private File( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { hashes_ = java.util.Collections.unmodifiableList(hashes_); @@ -132,22 +158,27 @@ private File( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -155,6 +186,7 @@ private File(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -163,14 +195,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; } } /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -178,16 +211,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 { @@ -198,11 +230,14 @@ public java.lang.String getName() { public static final int SIZE_BYTES_FIELD_NUMBER = 3; private long sizeBytes_; /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -213,6 +248,8 @@ public long getSizeBytes() { public static final int HASHES_FIELD_NUMBER = 4; private java.util.List hashes_; /** + * + * *
    * The hashes of the file content.
    * 
@@ -224,6 +261,8 @@ public java.util.List getHash return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -231,11 +270,13 @@ public java.util.List getHash * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public java.util.List + public java.util.List getHashesOrBuilderList() { return hashes_; } /** + * + * *
    * The hashes of the file content.
    * 
@@ -247,6 +288,8 @@ public int getHashesCount() { return hashes_.size(); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -258,6 +301,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { return hashes_.get(index); } /** + * + * *
    * The hashes of the file content.
    * 
@@ -265,19 +310,21 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index) { return hashes_.get(index); } public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -285,11 +332,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -297,6 +347,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the File was created.
    * 
@@ -311,11 +363,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -323,11 +378,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -335,6 +393,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the File was last updated.
    * 
@@ -349,11 +409,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int OWNER_FIELD_NUMBER = 7; private volatile java.lang.Object owner_; /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ @java.lang.Override @@ -362,29 +425,29 @@ public java.lang.String getOwner() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; } } /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ @java.lang.Override - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -393,6 +456,7 @@ public java.lang.String getOwner() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -404,8 +468,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_); } @@ -437,20 +500,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (sizeBytes_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, sizeBytes_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, sizeBytes_); } for (int i = 0; i < hashes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, hashes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, hashes_.get(i)); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(owner_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, owner_); @@ -463,31 +522,26 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.File)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.File other = (com.google.devtools.artifactregistry.v1beta2.File) obj; + com.google.devtools.artifactregistry.v1beta2.File other = + (com.google.devtools.artifactregistry.v1beta2.File) obj; - if (!getName() - .equals(other.getName())) return false; - if (getSizeBytes() - != other.getSizeBytes()) return false; - if (!getHashesList() - .equals(other.getHashesList())) return false; + if (!getName().equals(other.getName())) return false; + if (getSizeBytes() != other.getSizeBytes()) return false; + if (!getHashesList().equals(other.getHashesList())) 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 (!getOwner() - .equals(other.getOwner())) return false; + if (!getOwner().equals(other.getOwner())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -502,8 +556,7 @@ public int hashCode() { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); hash = (37 * hash) + SIZE_BYTES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getSizeBytes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSizeBytes()); if (getHashesCount() > 0) { hash = (37 * hash) + HASHES_FIELD_NUMBER; hash = (53 * hash) + getHashesList().hashCode(); @@ -524,117 +577,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.File parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File 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.devtools.artifactregistry.v1beta2.File parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.File parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.File prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Files store content that is potentially associated with Packages or Versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.File} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.File) com.google.devtools.artifactregistry.v1beta2.FileOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.File.class, com.google.devtools.artifactregistry.v1beta2.File.Builder.class); + com.google.devtools.artifactregistry.v1beta2.File.class, + com.google.devtools.artifactregistry.v1beta2.File.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.File.newBuilder() @@ -642,17 +704,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) { getHashesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -684,9 +746,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; } @java.lang.Override @@ -705,7 +767,8 @@ public com.google.devtools.artifactregistry.v1beta2.File build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { - com.google.devtools.artifactregistry.v1beta2.File result = new com.google.devtools.artifactregistry.v1beta2.File(this); + com.google.devtools.artifactregistry.v1beta2.File result = + new com.google.devtools.artifactregistry.v1beta2.File(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.sizeBytes_ = sizeBytes_; @@ -737,38 +800,39 @@ public com.google.devtools.artifactregistry.v1beta2.File buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.File) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.File) other); } else { super.mergeFrom(other); return this; @@ -776,7 +840,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other) { - if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -802,9 +867,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.File other hashesBuilder_ = null; hashes_ = other.hashes_; bitField0_ = (bitField0_ & ~0x00000001); - hashesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getHashesFieldBuilder() : null; + hashesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getHashesFieldBuilder() + : null; } else { hashesBuilder_.addAllMessages(other.hashes_); } @@ -839,7 +905,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.File) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -848,10 +915,13 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -859,13 +929,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -874,6 +944,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -881,15 +953,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 { @@ -897,6 +968,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -904,20 +977,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -925,15 +1000,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -941,28 +1019,31 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - private long sizeBytes_ ; + private long sizeBytes_; /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ @java.lang.Override @@ -970,48 +1051,61 @@ public long getSizeBytes() { return sizeBytes_; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @param value The sizeBytes to set. * @return This builder for chaining. */ public Builder setSizeBytes(long value) { - + sizeBytes_ = value; onChanged(); return this; } /** + * + * *
      * The size of the File in bytes.
      * 
* * int64 size_bytes = 3; + * * @return This builder for chaining. */ public Builder clearSizeBytes() { - + sizeBytes_ = 0L; onChanged(); return this; } private java.util.List hashes_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureHashesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - hashes_ = new java.util.ArrayList(hashes_); + hashes_ = + new java.util.ArrayList(hashes_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> hashesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + hashesBuilder_; /** + * + * *
      * The hashes of the file content.
      * 
@@ -1026,6 +1120,8 @@ public java.util.List getHash } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1040,6 +1136,8 @@ public int getHashesCount() { } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1054,14 +1152,15 @@ public com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index) { } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder setHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder setHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1075,6 +1174,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1093,6 +1194,8 @@ public Builder setHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1113,14 +1216,15 @@ public Builder addHashes(com.google.devtools.artifactregistry.v1beta2.Hash value return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public Builder addHashes( - int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { + public Builder addHashes(int index, com.google.devtools.artifactregistry.v1beta2.Hash value) { if (hashesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1134,6 +1238,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1152,6 +1258,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1170,6 +1278,8 @@ public Builder addHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1180,8 +1290,7 @@ public Builder addAllHashes( java.lang.Iterable values) { if (hashesBuilder_ == null) { ensureHashesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, hashes_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, hashes_); onChanged(); } else { hashesBuilder_.addAllMessages(values); @@ -1189,6 +1298,8 @@ public Builder addAllHashes( return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1206,6 +1317,8 @@ public Builder clearHashes() { return this; } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1223,17 +1336,20 @@ public Builder removeHashes(int index) { return this; } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilder(int index) { return getHashesFieldBuilder().getBuilder(index); } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1243,19 +1359,22 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder getHashesBuilde public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( int index) { if (hashesBuilder_ == null) { - return hashes_.get(index); } else { + return hashes_.get(index); + } else { return hashesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesOrBuilderList() { + public java.util.List + getHashesOrBuilderList() { if (hashesBuilder_ != null) { return hashesBuilder_.getMessageOrBuilderList(); } else { @@ -1263,6 +1382,8 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui } } /** + * + * *
      * The hashes of the file content.
      * 
@@ -1270,42 +1391,49 @@ public com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBui * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder() { - return getHashesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + return getHashesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder( - int index) { - return getHashesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilder(int index) { + return getHashesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()); } /** + * + * *
      * The hashes of the file content.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - public java.util.List - getHashesBuilderList() { + public java.util.List + getHashesBuilderList() { return getHashesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder> getHashesFieldBuilder() { if (hashesBuilder_ == null) { - hashesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Hash, com.google.devtools.artifactregistry.v1beta2.Hash.Builder, com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( - hashes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + hashesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Hash, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder, + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder>( + hashes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); hashes_ = null; } return hashesBuilder_; @@ -1313,34 +1441,47 @@ public com.google.devtools.artifactregistry.v1beta2.Hash.Builder addHashesBuilde 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_; /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1361,14 +1502,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1379,6 +1521,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1389,7 +1533,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1401,6 +1545,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1419,6 +1565,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the File was created.
      * 
@@ -1426,11 +1574,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was created.
      * 
@@ -1441,11 +1591,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_; } } /** + * + * *
      * The time when the File was created.
      * 
@@ -1453,14 +1606,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1468,34 +1624,47 @@ 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_; /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1516,14 +1685,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1534,6 +1704,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1544,7 +1716,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1556,6 +1728,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1574,6 +1748,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1581,11 +1757,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1596,11 +1774,14 @@ 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_; } } /** + * + * *
      * The time when the File was last updated.
      * 
@@ -1608,14 +1789,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -1623,18 +1807,20 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object owner_ = ""; /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The owner. */ public java.lang.String getOwner() { java.lang.Object ref = owner_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); owner_ = s; return s; @@ -1643,20 +1829,21 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return The bytes for owner. */ - public com.google.protobuf.ByteString - getOwnerBytes() { + public com.google.protobuf.ByteString getOwnerBytes() { java.lang.Object ref = owner_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); owner_ = b; return b; } else { @@ -1664,61 +1851,68 @@ public java.lang.String getOwner() { } } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The owner to set. * @return This builder for chaining. */ - public Builder setOwner( - java.lang.String value) { + public Builder setOwner(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + owner_ = value; onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @return This builder for chaining. */ public Builder clearOwner() { - + owner_ = getDefaultInstance().getOwner(); onChanged(); return this; } /** + * + * *
      * The name of the Package or Version that owns this file, if any.
      * 
* * string owner = 7; + * * @param value The bytes for owner to set. * @return This builder for chaining. */ - public Builder setOwnerBytes( - com.google.protobuf.ByteString value) { + public Builder setOwnerBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + owner_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1728,12 +1922,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.File) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.File) private static final com.google.devtools.artifactregistry.v1beta2.File DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.File(); } @@ -1742,16 +1936,16 @@ public static com.google.devtools.artifactregistry.v1beta2.File getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public File parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new File(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public File parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new File(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1766,6 +1960,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.File getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java similarity index 79% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java index 2e62a87b..6fc1602c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface FileOrBuilder extends +public interface FileOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.File) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -15,10 +33,13 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the file, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/files/a%2Fb%2Fc.txt".
@@ -26,31 +47,37 @@ public interface FileOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The size of the File in bytes.
    * 
* * int64 size_bytes = 3; + * * @return The sizeBytes. */ long getSizeBytes(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List - getHashesList(); + java.util.List getHashesList(); /** + * + * *
    * The hashes of the file content.
    * 
@@ -59,6 +86,8 @@ public interface FileOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Hash getHashes(int index); /** + * + * *
    * The hashes of the file content.
    * 
@@ -67,43 +96,54 @@ public interface FileOrBuilder extends */ int getHashesCount(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - java.util.List + java.util.List getHashesOrBuilderList(); /** + * + * *
    * The hashes of the file content.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Hash hashes = 4; */ - com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder(int index); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the File was created.
    * 
@@ -113,24 +153,32 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the File was last updated.
    * 
@@ -140,22 +188,27 @@ com.google.devtools.artifactregistry.v1beta2.HashOrBuilder getHashesOrBuilder( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The owner. */ java.lang.String getOwner(); /** + * + * *
    * The name of the Package or Version that owns this file, if any.
    * 
* * string owner = 7; + * * @return The bytes for owner. */ - com.google.protobuf.ByteString - getOwnerBytes(); + com.google.protobuf.ByteString getOwnerBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java new file mode 100644 index 00000000..8d60b37f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/FileProto.java @@ -0,0 +1,149 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class FileProto { + private FileProto() {} + + 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_devtools_artifactregistry_v1beta2_Hash_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/devtools/artifactregistry/v1bet" + + "a2/file.proto\022(google.devtools.artifactr" + + "egistry.v1beta2\032\034google/api/annotations." + + "proto\032\031google/api/resource.proto\032\037google" + + "/protobuf/timestamp.proto\"\230\001\n\004Hash\022E\n\004ty" + + "pe\030\001 \001(\01627.google.devtools.artifactregis" + + "try.v1beta2.Hash.HashType\022\r\n\005value\030\002 \001(\014" + + "\":\n\010HashType\022\031\n\025HASH_TYPE_UNSPECIFIED\020\000\022" + + "\n\n\006SHA256\020\001\022\007\n\003MD5\020\002\"\324\002\n\004File\022\014\n\004name\030\001 " + + "\001(\t\022\022\n\nsize_bytes\030\003 \001(\003\022>\n\006hashes\030\004 \003(\0132" + + "..google.devtools.artifactregistry.v1bet" + + "a2.Hash\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\r\n\005owner\030\007 \001(\t" + + ":y\352Av\n$artifactregistry.googleapis.com/F" + + "ile\022Nprojects/{project}/locations/{locat" + + "ion}/repositories/{repository}/files/{fi" + + "le}\"Y\n\020ListFilesRequest\022\016\n\006parent\030\001 \001(\t\022" + + "\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"k\n\021ListFilesResponse\022=\n\005f" + + "iles\030\001 \003(\0132..google.devtools.artifactreg" + + "istry.v1beta2.File\022\027\n\017next_page_token\030\002 " + + "\001(\t\"\036\n\016GetFileRequest\022\014\n\004name\030\001 \001(\tB\220\002\n," + + "com.google.devtools.artifactregistry.v1b" + + "eta2B\tFileProtoP\001ZXgoogle.golang.org/gen" + + "proto/googleapis/devtools/artifactregist" + + "ry/v1beta2;artifactregistry\252\002%Google.Clo" + + "ud.ArtifactRegistry.V1Beta2\312\002%Google\\Clo" + + "ud\\ArtifactRegistry\\V1beta2\352\002(Google::Cl" + + "oud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor, + new java.lang.String[] { + "Type", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_File_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_File_descriptor, + new java.lang.String[] { + "Name", "SizeBytes", "Hashes", "CreateTime", "UpdateTime", "Owner", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor, + new java.lang.String[] { + "Files", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java index ffea4ef0..40e5c38d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a file.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ -public final class GetFileRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetFileRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) GetFileRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetFileRequest.newBuilder() to construct. private GetFileRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetFileRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetFileRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetFileRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetFileRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetFileRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the file to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the file to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetFileRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest 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.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetFileRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a file.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetFileRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetFileRequest) com.google.devtools.artifactregistry.v1beta2.GetFileRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetFileRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetFileRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetFileRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetFileRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetFileRequest buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetFileRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetFileRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetFileRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetFileRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetFileRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the file to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetFileRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetFileRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetFileRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetFileRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetFileRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetFileRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetFileRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetFileRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java new file mode 100644 index 00000000..63162f9e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetFileRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/file.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetFileRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetFileRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the file to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java index 43d6340d..3dd93b09 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a package.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ -public final class GetPackageRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetPackageRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) GetPackageRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetPackageRequest.newBuilder() to construct. private GetPackageRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetPackageRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetPackageRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetPackageRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetPackageRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetPackageRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the package to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest 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.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a package.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetPackageRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetPackageRequest) com.google.devtools.artifactregistry.v1beta2.GetPackageRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +373,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance(); } @@ -362,7 +395,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetPackageRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +406,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +446,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetPackageRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetPackageRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +472,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetPackageRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +486,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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; @@ -467,20 +508,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * 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 { @@ -488,61 +530,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +601,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetPackageRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetPackageRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetPackageRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetPackageRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetPackageRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetPackageRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +638,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetPackageRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java new file mode 100644 index 00000000..79b06fba --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetPackageRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/package.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetPackageRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetPackageRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the package to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java index 417bc48f..0d6fbab2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Gets the redirection status for a project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ -public final class GetProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) GetProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetProjectSettingsRequest.newBuilder() to construct. private GetProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetProjectSettingsRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetProjectSettingsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the projectSettings 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 @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the projectSettings 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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Gets the redirection status for a project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,19 +379,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -362,7 +403,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +414,51 @@ public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +482,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +496,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the projectSettings 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; @@ -467,20 +520,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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 { @@ -488,61 +544,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the projectSettings 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +621,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +658,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java new file mode 100644 index 00000000..7c22b893 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetProjectSettingsRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetProjectSettingsRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetProjectSettingsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the projectSettings 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 projectSettings 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java index cc80cc1e..83e7a0f8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ -public final class GetRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) GetRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetRepositoryRequest.newBuilder() to construct. private GetRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetRepositoryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetRepositoryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,41 @@ private GetRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -109,29 +134,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. The name of the repository to retrieve.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,134 +231,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to retrieve a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance(); } @@ -362,7 +401,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,46 +412,50 @@ public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +493,22 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -467,20 +517,23 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -488,61 +541,74 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Required. The name of the repository to retrieve.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,30 +618,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetRepositoryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetRepositoryRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetRepositoryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetRepositoryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +655,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetRepositoryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java new file mode 100644 index 00000000..c70d1027 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetRepositoryRequestOrBuilder.java @@ -0,0 +1,54 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetRepositoryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetRepositoryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. The name of the repository to retrieve.
+   * 
+ * + * + * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java index 6c60c285..c4aa4f3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ -public final class GetTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) GetTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetTagRequest.newBuilder() to construct. private GetTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetTagRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetTagRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,34 +91,39 @@ private GetTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the tag to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -109,29 +132,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the tag to retrieve.
    * 
* * 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 { @@ -140,6 +163,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +199,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetTagRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +227,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest 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.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetTagRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetTagRequest) com.google.devtools.artifactregistry.v1beta2.GetTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetTagRequest.newBuilder() @@ -322,16 +355,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -341,9 +373,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; } @java.lang.Override @@ -362,7 +394,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(this); result.name_ = name_; onBuilt(); return result; @@ -372,38 +405,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetTagRequest buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetTagRequest) other); } else { super.mergeFrom(other); return this; @@ -411,7 +445,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.GetTagRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -435,7 +470,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetTagRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -447,18 +483,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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; @@ -467,20 +505,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * 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 { @@ -488,61 +527,68 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -552,12 +598,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetTagRequest) private static final com.google.devtools.artifactregistry.v1beta2.GetTagRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetTagRequest(); } @@ -566,16 +612,16 @@ public static com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetTagRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetTagRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetTagRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetTagRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -590,6 +636,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.GetTagRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java new file mode 100644 index 00000000..66b07dde --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetTagRequestOrBuilder.java @@ -0,0 +1,50 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface GetTagRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetTagRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the tag to retrieve.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java index 3855cba7..231f4729 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to retrieve a version.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ -public final class GetVersionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetVersionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) GetVersionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetVersionRequest.newBuilder() to construct. private GetVersionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetVersionRequest() { name_ = ""; view_ = 0; @@ -26,16 +44,15 @@ private GetVersionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetVersionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetVersionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private GetVersionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,34 +99,39 @@ private GetVersionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -116,29 +140,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the version to retrieve.
    * 
* * 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 { @@ -149,31 +173,43 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,12 +221,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } unknownFields.writeTo(output); @@ -205,9 +242,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -217,15 +255,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.devtools.artifactregistry.v1beta2.GetVersionRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -248,117 +286,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest 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.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to retrieve a version.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.GetVersionRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.devtools.artifactregistry.v1beta2.GetVersionRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.class, + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.newBuilder() @@ -366,16 +414,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -387,13 +434,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance(); } @@ -408,7 +456,8 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); + com.google.devtools.artifactregistry.v1beta2.GetVersionRequest result = + new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(this); result.name_ = name_; result.view_ = view_; onBuilt(); @@ -419,38 +468,39 @@ public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) other); } else { super.mergeFrom(other); return this; @@ -458,7 +508,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.GetVersionRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.GetVersionRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -485,7 +537,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.GetVersionRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,18 +551,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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; @@ -517,20 +573,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * 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 { @@ -538,54 +595,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version to retrieve.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -593,51 +657,67 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @param value The view to set. * @return This builder for chaining. */ @@ -645,28 +725,31 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -676,30 +759,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.GetVersionRequest) - private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.GetVersionRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetVersionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new GetVersionRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetVersionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new GetVersionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -711,9 +796,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.GetVersionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java index d1805c3b..991586f3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/GetVersionRequestOrBuilder.java @@ -1,47 +1,74 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface GetVersionRequestOrBuilder extends +public interface GetVersionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.GetVersionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version to retrieve.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 2; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java index b4fae80f..9607e51d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Hash.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A hash of file content.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ -public final class Hash extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Hash extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Hash) HashOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Hash.newBuilder() to construct. private Hash(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Hash() { type_ = 0; value_ = com.google.protobuf.ByteString.EMPTY; @@ -26,16 +44,15 @@ private Hash() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Hash(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Hash( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,24 +71,25 @@ private Hash( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - type_ = rawValue; - break; - } - case 18: { - - value_ = input.readBytes(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + type_ = rawValue; + break; + } + case 18: + { + value_ = input.readBytes(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -79,36 +97,41 @@ private Hash( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } /** + * + * *
    * The algorithm used to compute the hash.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Hash.HashType} */ - public enum HashType - implements com.google.protobuf.ProtocolMessageEnum { + public enum HashType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -117,6 +140,8 @@ public enum HashType */ HASH_TYPE_UNSPECIFIED(0), /** + * + * *
      * SHA256 hash.
      * 
@@ -125,6 +150,8 @@ public enum HashType */ SHA256(1), /** + * + * *
      * MD5 hash.
      * 
@@ -136,6 +163,8 @@ public enum HashType ; /** + * + * *
      * Unspecified.
      * 
@@ -144,6 +173,8 @@ public enum HashType */ public static final int HASH_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * SHA256 hash.
      * 
@@ -152,6 +183,8 @@ public enum HashType */ public static final int SHA256_VALUE = 1; /** + * + * *
      * MD5 hash.
      * 
@@ -160,7 +193,6 @@ public enum HashType */ public static final int MD5_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,49 +217,51 @@ public static HashType valueOf(int value) { */ public static HashType forNumber(int value) { switch (value) { - case 0: return HASH_TYPE_UNSPECIFIED; - case 1: return SHA256; - case 2: return MD5; - default: return null; + case 0: + return HASH_TYPE_UNSPECIFIED; + case 1: + return SHA256; + case 2: + return MD5; + 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< - HashType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public HashType findValueByNumber(int number) { - return HashType.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 HashType findValueByNumber(int number) { + return HashType.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.devtools.artifactregistry.v1beta2.Hash.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Hash.getDescriptor() + .getEnumTypes() + .get(0); } private static final HashType[] VALUES = values(); - public static HashType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static HashType 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; @@ -247,38 +281,52 @@ private HashType(int value) { public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } public static final int VALUE_FIELD_NUMBER = 2; private com.google.protobuf.ByteString value_; /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -287,6 +335,7 @@ public com.google.protobuf.ByteString getValue() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -298,9 +347,10 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, type_); } if (!value_.isEmpty()) { @@ -315,13 +365,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (type_ != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, type_); + if (type_ + != com.google.devtools.artifactregistry.v1beta2.Hash.HashType.HASH_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, type_); } if (!value_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, value_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -331,16 +381,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.devtools.artifactregistry.v1beta2.Hash)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Hash other = (com.google.devtools.artifactregistry.v1beta2.Hash) obj; + com.google.devtools.artifactregistry.v1beta2.Hash other = + (com.google.devtools.artifactregistry.v1beta2.Hash) obj; if (type_ != other.type_) return false; - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -362,117 +412,126 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Hash parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash 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.devtools.artifactregistry.v1beta2.Hash parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Hash parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Hash prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 hash of file content.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Hash} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Hash) com.google.devtools.artifactregistry.v1beta2.HashOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Hash.class, com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Hash.class, + com.google.devtools.artifactregistry.v1beta2.Hash.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Hash.newBuilder() @@ -480,16 +539,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -501,9 +559,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_Hash_descriptor; } @java.lang.Override @@ -522,7 +580,8 @@ public com.google.devtools.artifactregistry.v1beta2.Hash build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Hash result = new com.google.devtools.artifactregistry.v1beta2.Hash(this); + com.google.devtools.artifactregistry.v1beta2.Hash result = + new com.google.devtools.artifactregistry.v1beta2.Hash(this); result.type_ = type_; result.value_ = value_; onBuilt(); @@ -533,38 +592,39 @@ public com.google.devtools.artifactregistry.v1beta2.Hash buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Hash) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Hash) other); } else { super.mergeFrom(other); return this; @@ -572,7 +632,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Hash other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Hash.getDefaultInstance()) + return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } @@ -598,7 +659,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Hash) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,51 +672,67 @@ public Builder mergeFrom( private int type_ = 0; /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { - + type_ = value; onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Hash.HashType result = + com.google.devtools.artifactregistry.v1beta2.Hash.HashType.valueOf(type_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Hash.HashType.UNRECOGNIZED + : result; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @param value The type to set. * @return This builder for chaining. */ @@ -662,21 +740,24 @@ public Builder setType(com.google.devtools.artifactregistry.v1beta2.Hash.HashTyp if (value == null) { throw new NullPointerException(); } - + type_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The algorithm used to compute the hash value.
      * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = 0; onChanged(); return this; @@ -684,11 +765,14 @@ public Builder clearType() { private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return The value. */ @java.lang.Override @@ -696,40 +780,46 @@ public com.google.protobuf.ByteString getValue() { return value_; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @param value The value to set. * @return This builder for chaining. */ public Builder setValue(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + value_ = value; onChanged(); return this; } /** + * + * *
      * The hash value.
      * 
* * bytes value = 2; + * * @return This builder for chaining. */ public Builder clearValue() { - + value_ = getDefaultInstance().getValue(); 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); } @@ -739,12 +829,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Hash) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Hash) private static final com.google.devtools.artifactregistry.v1beta2.Hash DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Hash(); } @@ -753,16 +843,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Hash parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Hash(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Hash parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Hash(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -777,6 +867,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Hash getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java index c6b768e2..9d78385d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/HashOrBuilder.java @@ -1,37 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface HashOrBuilder extends +public interface HashOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Hash) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
    * The algorithm used to compute the hash value.
    * 
* * .google.devtools.artifactregistry.v1beta2.Hash.HashType type = 1; + * * @return The type. */ com.google.devtools.artifactregistry.v1beta2.Hash.HashType getType(); /** + * + * *
    * The hash value.
    * 
* * bytes value = 2; + * * @return The value. */ com.google.protobuf.ByteString getValue(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java index c0d03b94..04d5baf3 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ -public final class ImportAptArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) ImportAptArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsErrorInfo.newBuilder() to construct. private ImportAptArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsErrorInfo() { - } + + private ImportAptArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportAptArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportAptArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java index 70dcd816..527043cc 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsErrorInfoOrBuilder extends +public interface ImportAptArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportAptArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java index 5a2e2a7f..6fff5d5d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ -public final class ImportAptArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) ImportAptArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsGcsSource.newBuilder() to construct. private ImportAptArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportAptArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportAptArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportAptArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java index 182a79d5..3f05b9eb 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsGcsSourceOrBuilder extends +public interface ImportAptArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java index d8258e0f..946c4375 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ -public final class ImportAptArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) ImportAptArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsMetadata.newBuilder() to construct. private ImportAptArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportAptArtifactsMetadata() { - } + + private ImportAptArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportAptArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportAptArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..928564d6 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportAptArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java index 6c9cd42b..2b0078e5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new apt artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ -public final class ImportAptArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) ImportAptArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsRequest.newBuilder() to construct. private ImportAptArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportAptArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportAptArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new apt artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportA return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java index 89605ee4..4a4b7721 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsRequestOrBuilder extends +public interface ImportAptArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java index c1fbf2d9..6a012515 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing APT artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ -public final class ImportAptArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportAptArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) ImportAptArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportAptArtifactsResponse.newBuilder() to construct. private ImportAptArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportAptArtifactsResponse() { aptArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportAptArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportAptArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportAptArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportAptArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + aptArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.AptArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + aptArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), + extensionRegistry)); + break; } - aptArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.AptArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportAptArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { aptArtifacts_ = java.util.Collections.unmodifiableList(aptArtifacts_); @@ -100,22 +127,27 @@ private ImportAptArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); } public static final int APT_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List aptArtifacts_; /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportAptArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAptArtifactsOrBuilderList() { return aptArtifacts_; } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getAptArtifactsCount() { return aptArtifacts_.size(); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( return aptArtifacts_.get(index); } /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < aptArtifacts_.size(); i++) { output.writeMessage(1, aptArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < aptArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, aptArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, aptArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) obj; - if (!getAptArtifactsList() - .equals(other.getAptArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getAptArtifactsList().equals(other.getAptArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing APT artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAptArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.AptArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportAptArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(this); int from_bitField0_ = bitField0_; if (aptArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + .getDefaultInstance()) return this; if (aptArtifactsBuilder_ == null) { if (!other.aptArtifacts_.isEmpty()) { if (aptArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA aptArtifactsBuilder_ = null; aptArtifacts_ = other.aptArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - aptArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAptArtifactsFieldBuilder() : null; + aptArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAptArtifactsFieldBuilder() + : null; } else { aptArtifactsBuilder_.addAllMessages(other.aptArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportAptA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List aptArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAptArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aptArtifacts_ = new java.util.ArrayList(aptArtifacts_); + aptArtifacts_ = + new java.util.ArrayList( + aptArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> aptArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + aptArtifactsBuilder_; /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List getAptArtifactsList() { + public java.util.List + getAptArtifactsList() { if (aptArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(aptArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public int getAptArtifactsCount() { if (aptArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getAptArtifactsCount() { } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts( } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -710,14 +820,18 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder setAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { if (aptArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addAptArtifacts(com.google.devtools.artifactregistry.v1beta2.AptA return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact value) { @@ -769,11 +889,14 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAptArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder builderForValue) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); aptArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder addAllAptArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (aptArtifactsBuilder_ == null) { ensureAptArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aptArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aptArtifacts_); onChanged(); } else { aptArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllAptArtifacts( return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder clearAptArtifacts() { if (aptArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearAptArtifacts() { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public Builder removeAptArtifacts(int index) { if (aptArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeAptArtifacts(int index) { return this; } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder getAptArtifactsBuilder( int index) { return getAptArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder + getAptArtifactsOrBuilder(int index) { if (aptArtifactsBuilder_ == null) { - return aptArtifacts_.get(index); } else { + return aptArtifacts_.get(index); + } else { return aptArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + getAptArtifactsOrBuilderList() { if (aptArtifactsBuilder_ != null) { return aptArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptA } } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder() { - return getAptArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder + addAptArtifactsBuilder() { + return getAptArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder addAptArtifactsBuilder( int index) { - return getAptArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); + return getAptArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.AptArtifact.getDefaultInstance()); } /** + * + * *
      * The Apt artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; + * */ - public java.util.List - getAptArtifactsBuilderList() { + public java.util.List + getAptArtifactsBuilderList() { return getAptArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder> getAptArtifactsFieldBuilder() { if (aptArtifactsBuilder_ == null) { - aptArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.AptArtifact, com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( - aptArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + aptArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.AptArtifact, + com.google.devtools.artifactregistry.v1beta2.AptArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder>( + aptArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); aptArtifacts_ = null; } return aptArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportAptA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportAptArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportAptArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportAptArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportAptArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java index 5ddcd053..2e5dee92 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportAptArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/apt_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportAptArtifactsResponseOrBuilder extends +public interface ImportAptArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportAptArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List - getAptArtifactsList(); + java.util.List getAptArtifactsList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.AptArtifact getAptArtifacts(int index); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportAptArtifactsResponseOrBuilder extends */ int getAptArtifactsCount(); /** + * + * *
    * The Apt artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.AptArtifact apt_artifacts = 1; */ - java.util.List + java.util.List getAptArtifactsOrBuilderList(); /** + * + * *
    * The Apt artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.AptArtifactOrBuilder getAptArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportAptArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java index 36b62705..8ed9ed4b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfo.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Error information explaining why a package was not imported.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ -public final class ImportYumArtifactsErrorInfo extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsErrorInfo extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) ImportYumArtifactsErrorInfoOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsErrorInfo.newBuilder() to construct. private ImportYumArtifactsErrorInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsErrorInfo() { - } + + private ImportYumArtifactsErrorInfo() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsErrorInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsErrorInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,40 +68,51 @@ private ImportYumArtifactsErrorInfo( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 1) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); - } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); - } - sourceCase_ = 1; - break; - } - case 18: { - com.google.rpc.Status.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 10: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 1) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 1; + break; } + case 18: + { + com.google.rpc.Status.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,34 +120,39 @@ private ImportYumArtifactsErrorInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(1), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -136,29 +168,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 1: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 1: + return GCS_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; /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -166,43 +204,56 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 1) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int ERROR_FIELD_NUMBER = 2; private com.google.rpc.Status error_; /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ @java.lang.Override @@ -210,11 +261,14 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ @java.lang.Override @@ -222,6 +276,8 @@ public com.google.rpc.Status getError() { return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_; } /** + * + * *
    * The detailed error status.
    * 
@@ -234,6 +290,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,10 +302,10 @@ public final boolean isInitialized() { } @java.lang.Override - 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) { - output.writeMessage(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { output.writeMessage(2, getError()); @@ -263,12 +320,13 @@ public int getSerializedSize() { size = 0; if (sourceCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getError()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,23 +336,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) obj; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) 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 0: default: @@ -328,134 +386,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Error information explaining why a package was not imported.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -471,19 +541,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -492,7 +565,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(this); if (sourceCase_ == 1) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -514,57 +588,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()) return this; if (other.hasError()) { mergeError(other.getError()); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -585,7 +667,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -594,12 +678,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -609,15 +693,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -625,11 +715,15 @@ public boolean hasGcsSource() { return sourceCase_ == 1; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ @java.lang.Override @@ -638,22 +732,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 1) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -667,14 +767,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -685,18 +789,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 1 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 1 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -712,11 +826,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -735,79 +852,106 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 1) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 1) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location requested.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 1)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 1; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } 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_; /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ public boolean hasError() { return errorBuilder_ != null || error_ != null; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; + * * @return The error. */ public com.google.rpc.Status getError() { @@ -818,6 +962,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * The detailed error status.
      * 
@@ -838,14 +984,15 @@ public Builder setError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
* * .google.rpc.Status error = 2; */ - public Builder setError( - com.google.rpc.Status.Builder builderForValue) { + public Builder setError(com.google.rpc.Status.Builder builderForValue) { if (errorBuilder_ == null) { error_ = builderForValue.build(); onChanged(); @@ -856,6 +1003,8 @@ public Builder setError( return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -865,8 +1014,7 @@ public Builder setError( public Builder mergeError(com.google.rpc.Status value) { if (errorBuilder_ == null) { if (error_ != null) { - error_ = - com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); + error_ = com.google.rpc.Status.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -878,6 +1026,8 @@ public Builder mergeError(com.google.rpc.Status value) { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -896,6 +1046,8 @@ public Builder clearError() { return this; } /** + * + * *
      * The detailed error status.
      * 
@@ -903,11 +1055,13 @@ public Builder clearError() { * .google.rpc.Status error = 2; */ public com.google.rpc.Status.Builder getErrorBuilder() { - + onChanged(); return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * The detailed error status.
      * 
@@ -918,11 +1072,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_; } } /** + * + * *
      * The detailed error status.
      * 
@@ -930,21 +1085,21 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { * .google.rpc.Status error = 2; */ 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); } @@ -954,30 +1109,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsErrorInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsErrorInfo(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsErrorInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsErrorInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -989,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java index 97ab4125..e9835bbe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsErrorInfoOrBuilder.java @@ -1,58 +1,94 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsErrorInfoOrBuilder extends +public interface ImportYumArtifactsErrorInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location requested.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 1; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * The detailed error status.
    * 
* * .google.rpc.Status error = 2; + * * @return The error. */ com.google.rpc.Status getError(); /** + * + * *
    * The detailed error status.
    * 
@@ -61,5 +97,6 @@ public interface ImportYumArtifactsErrorInfoOrBuilder extends */ com.google.rpc.StatusOrBuilder getErrorOrBuilder(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java similarity index 67% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java index 5cfb0ca7..6167e033 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSource.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Google Cloud Storage location where the artifacts currently reside.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ -public final class ImportYumArtifactsGcsSource extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsGcsSource extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) ImportYumArtifactsGcsSourceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsGcsSource.newBuilder() to construct. private ImportYumArtifactsGcsSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsGcsSource() { uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsGcsSource(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsGcsSource( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,27 +71,28 @@ private ImportYumArtifactsGcsSource( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - uris_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + uris_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000001; + } + uris_.add(s); + break; } - uris_.add(s); - break; - } - case 16: { - - useWildcards_ = input.readBool(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 16: + { + useWildcards_ = input.readBool(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,8 +100,7 @@ private ImportYumArtifactsGcsSource( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -92,50 +109,61 @@ private ImportYumArtifactsGcsSource( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); } public static final int URIS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList uris_; /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_; } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -143,27 +171,32 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } public static final int USE_WILDCARDS_FIELD_NUMBER = 2; private boolean useWildcards_; /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -172,6 +205,7 @@ public boolean getUseWildcards() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +217,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 < uris_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uris_.getRaw(i)); } @@ -209,8 +242,7 @@ public int getSerializedSize() { size += 1 * getUrisList().size(); } if (useWildcards_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(2, useWildcards_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, useWildcards_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -220,17 +252,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) obj; - if (!getUrisList() - .equals(other.getUrisList())) return false; - if (getUseWildcards() - != other.getUseWildcards()) return false; + if (!getUrisList().equals(other.getUrisList())) return false; + if (getUseWildcards() != other.getUseWildcards()) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -247,142 +279,153 @@ public int hashCode() { hash = (53 * hash) + getUrisList().hashCode(); } hash = (37 * hash) + USE_WILDCARDS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getUseWildcards()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseWildcards()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Google Cloud Storage location where the artifacts currently reside.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -394,19 +437,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -415,7 +461,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) != 0)) { uris_ = uris_.getUnmodifiableView(); @@ -431,46 +478,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) return this; if (!other.uris_.isEmpty()) { if (uris_.isEmpty()) { uris_ = other.uris_; @@ -503,7 +556,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -512,44 +567,55 @@ public Builder mergeFrom( } return this; } + private int bitField0_; - private com.google.protobuf.LazyStringList uris_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList uris_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUrisIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { uris_ = new com.google.protobuf.LazyStringArrayList(uris_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - public com.google.protobuf.ProtocolStringList - getUrisList() { + public com.google.protobuf.ProtocolStringList getUrisList() { return uris_.getUnmodifiableView(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return The count of uris. */ public int getUrisCount() { return uris_.size(); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ @@ -557,80 +623,90 @@ public java.lang.String getUris(int index) { return uris_.get(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - public com.google.protobuf.ByteString - getUrisBytes(int index) { + public com.google.protobuf.ByteString getUrisBytes(int index) { return uris_.getByteString(index); } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param index The index to set the value at. * @param value The uris to set. * @return This builder for chaining. */ - public Builder setUris( - int index, java.lang.String value) { + public Builder setUris(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.set(index, value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The uris to add. * @return This builder for chaining. */ - public Builder addUris( - java.lang.String value) { + public Builder addUris(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUrisIsMutable(); + throw new NullPointerException(); + } + ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param values The uris to add. * @return This builder for chaining. */ - public Builder addAllUris( - java.lang.Iterable values) { + public Builder addAllUris(java.lang.Iterable values) { ensureUrisIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, uris_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, uris_); onChanged(); return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @return This builder for chaining. */ public Builder clearUris() { @@ -640,33 +716,38 @@ public Builder clearUris() { return this; } /** + * + * *
      * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
      * 
* * repeated string uris = 1; + * * @param value The bytes of the uris to add. * @return This builder for chaining. */ - public Builder addUrisBytes( - com.google.protobuf.ByteString value) { + public Builder addUrisBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUrisIsMutable(); uris_.add(value); onChanged(); return this; } - private boolean useWildcards_ ; + private boolean useWildcards_; /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ @java.lang.Override @@ -674,37 +755,43 @@ public boolean getUseWildcards() { return useWildcards_; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @param value The useWildcards to set. * @return This builder for chaining. */ public Builder setUseWildcards(boolean value) { - + useWildcards_ = value; onChanged(); return this; } /** + * + * *
      * Supports URI wildcards for matching multiple objects from a single URI.
      * 
* * bool use_wildcards = 2; + * * @return This builder for chaining. */ public Builder clearUseWildcards() { - + useWildcards_ = false; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -714,30 +801,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsGcsSource parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsGcsSource(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsGcsSource parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsGcsSource(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -749,9 +839,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java index 3f093feb..e113a0a5 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsGcsSourceOrBuilder.java @@ -1,59 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsGcsSourceOrBuilder extends +public interface ImportYumArtifactsGcsSourceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return A list containing the uris. */ - java.util.List - getUrisList(); + java.util.List getUrisList(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @return The count of uris. */ int getUrisCount(); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the element to return. * @return The uris at the given index. */ java.lang.String getUris(int index); /** + * + * *
    * Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
    * 
* * repeated string uris = 1; + * * @param index The index of the value to return. * @return The bytes of the uris at the given index. */ - com.google.protobuf.ByteString - getUrisBytes(int index); + com.google.protobuf.ByteString getUrisBytes(int index); /** + * + * *
    * Supports URI wildcards for matching multiple objects from a single URI.
    * 
* * bool use_wildcards = 2; + * * @return The useWildcards. */ boolean getUseWildcards(); diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java similarity index 62% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java index 27468485..cf222560 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The operation metadata for importing artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ -public final class ImportYumArtifactsMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) ImportYumArtifactsMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsMetadata.newBuilder() to construct. private ImportYumArtifactsMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportYumArtifactsMetadata() { - } + + private ImportYumArtifactsMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private ImportYumArtifactsMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private ImportYumArtifactsMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,134 +160,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 operation metadata for importing artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,19 +307,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -297,7 +331,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(this); onBuilt(); return result; } @@ -306,46 +341,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + .getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +406,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +417,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +429,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +467,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java new file mode 100644 index 00000000..e9d9fe0f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface ImportYumArtifactsMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java index c0b1b67b..b66c8aef 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to import new yum artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ -public final class ImportYumArtifactsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) ImportYumArtifactsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsRequest.newBuilder() to construct. private ImportYumArtifactsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsRequest() { parent_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,33 +70,44 @@ private ImportYumArtifactsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder subBuilder = null; - if (sourceCase_ == 2) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_).toBuilder(); + parent_ = s; + break; } - source_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); - source_ = subBuilder.buildPartial(); + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + subBuilder = null; + if (sourceCase_ == 2) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .toBuilder(); + } + source_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_); + source_ = subBuilder.buildPartial(); + } + sourceCase_ = 2; + break; } - sourceCase_ = 2; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,34 +115,39 @@ private ImportYumArtifactsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } private int sourceCase_ = 0; private java.lang.Object source_; + public enum SourceCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { GCS_SOURCE(2), SOURCE_NOT_SET(0); private final int value; + private SourceCase(int value) { this.value = value; } @@ -130,29 +163,35 @@ public static SourceCase valueOf(int value) { public static SourceCase forNumber(int value) { switch (value) { - case 2: return GCS_SOURCE; - case 0: return SOURCE_NOT_SET; - default: return null; + case 2: + return GCS_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 = 2; /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -160,43 +199,56 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if (sourceCase_ == 2) { - return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; + return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -205,29 +257,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @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 { @@ -236,6 +288,7 @@ public java.lang.String getParent() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,13 +300,13 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); } if (sourceCase_ == 2) { - output.writeMessage(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + output.writeMessage( + 2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } unknownFields.writeTo(output); } @@ -268,8 +321,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (sourceCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -279,20 +334,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 2: - if (!getGcsSource() - .equals(other.getGcsSource())) return false; + if (!getGcsSource().equals(other.getGcsSource())) return false; break; case 0: default: @@ -324,134 +378,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to import new yum artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +528,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +552,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(this); if (sourceCase_ == 2) { if (gcsSourceBuilder_ == null) { result.source_ = source_; @@ -502,58 +571,65 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest bu public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); } switch (other.getSourceCase()) { - case GCS_SOURCE: { - mergeGcsSource(other.getGcsSource()); - break; - } - case SOURCE_NOT_SET: { - break; - } + case GCS_SOURCE: + { + mergeGcsSource(other.getGcsSource()); + break; + } + case SOURCE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -574,7 +650,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -583,12 +661,12 @@ public Builder mergeFrom( } return this; } + private int sourceCase_ = 0; private java.lang.Object source_; - public SourceCase - getSourceCase() { - return SourceCase.forNumber( - sourceCase_); + + public SourceCase getSourceCase() { + return SourceCase.forNumber(sourceCase_); } public Builder clearSource() { @@ -598,15 +676,21 @@ public Builder clearSource() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> gcsSourceBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + gcsSourceBuilder_; /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ @java.lang.Override @@ -614,11 +698,15 @@ public boolean hasGcsSource() { return sourceCase_ == 2; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ @java.lang.Override @@ -627,22 +715,28 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } else { if (sourceCase_ == 2) { return gcsSourceBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder setGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -656,14 +750,18 @@ public Builder setGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportY return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder setGcsSource( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + builderForValue) { if (gcsSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); @@ -674,18 +772,28 @@ public Builder setGcsSource( return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { + public Builder mergeGcsSource( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource value) { if (gcsSourceBuilder_ == null) { - if (sourceCase_ == 2 && - source_ != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance()) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_) - .mergeFrom(value).buildPartial(); + if (sourceCase_ == 2 + && source_ + != com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance()) { + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.newBuilder( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) + source_) + .mergeFrom(value) + .buildPartial(); } else { source_ = value; } @@ -701,11 +809,14 @@ public Builder mergeGcsSource(com.google.devtools.artifactregistry.v1beta2.Impor return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ public Builder clearGcsSource() { if (gcsSourceBuilder_ == null) { @@ -724,73 +835,95 @@ public Builder clearGcsSource() { return this; } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder getGcsSourceBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder + getGcsSourceBuilder() { return getGcsSourceFieldBuilder().getBuilder(); } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder() { if ((sourceCase_ == 2) && (gcsSourceBuilder_ != null)) { return gcsSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 2) { return (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_; } - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } } /** + * + * *
      * Google Cloud Storage location where input content is located.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder> getGcsSourceFieldBuilder() { if (gcsSourceBuilder_ == null) { if (!(sourceCase_ == 2)) { - source_ = com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.getDefaultInstance(); + source_ = + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource + .getDefaultInstance(); } - gcsSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( + gcsSourceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder>( (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 2; - onChanged();; + onChanged(); + ; return gcsSourceBuilder_; } private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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; @@ -799,20 +932,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @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 { @@ -820,61 +954,68 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource where the artifacts will be imported.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -884,30 +1025,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -919,9 +1062,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java index 3becef22..195badb7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsRequestOrBuilder.java @@ -1,58 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsRequestOrBuilder extends +public interface ImportYumArtifactsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return Whether the gcsSource field is set. */ boolean hasGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * + * * @return The gcsSource. */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource getGcsSource(); /** + * + * *
    * Google Cloud Storage location where input content is located.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource gcs_source = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder getGcsSourceOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSourceOrBuilder + getGcsSourceOrBuilder(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource where the artifacts will be imported.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase getSourceCase(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsRequest.SourceCase + getSourceCase(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java similarity index 64% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java index db94a329..c3da7687 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response message from importing YUM artifacts.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ -public final class ImportYumArtifactsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportYumArtifactsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) ImportYumArtifactsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportYumArtifactsResponse.newBuilder() to construct. private ImportYumArtifactsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportYumArtifactsResponse() { yumArtifacts_ = java.util.Collections.emptyList(); errors_ = java.util.Collections.emptyList(); @@ -26,16 +44,15 @@ private ImportYumArtifactsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportYumArtifactsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ImportYumArtifactsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,31 +72,42 @@ private ImportYumArtifactsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + yumArtifacts_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.YumArtifact>(); + mutable_bitField0_ |= 0x00000001; + } + yumArtifacts_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), + extensionRegistry)); + break; } - yumArtifacts_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.YumArtifact.parser(), extensionRegistry)); - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 18: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(); + mutable_bitField0_ |= 0x00000002; + } + errors_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .parser(), + extensionRegistry)); + break; } - errors_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -87,8 +115,7 @@ private ImportYumArtifactsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { yumArtifacts_ = java.util.Collections.unmodifiableList(yumArtifacts_); @@ -100,22 +127,27 @@ private ImportYumArtifactsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); } public static final int YUM_ARTIFACTS_FIELD_NUMBER = 1; private java.util.List yumArtifacts_; /** + * + * *
    * The yum artifacts imported.
    * 
@@ -123,10 +155,13 @@ private ImportYumArtifactsResponse( * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -134,11 +169,13 @@ public java.util.List * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ @java.lang.Override - public java.util.List + public java.util.List getYumArtifactsOrBuilderList() { return yumArtifacts_; } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -150,6 +187,8 @@ public int getYumArtifactsCount() { return yumArtifacts_.size(); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -161,6 +200,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( return yumArtifacts_.get(index); } /** + * + * *
    * The yum artifacts imported.
    * 
@@ -174,66 +215,92 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } public static final int ERRORS_FIELD_NUMBER = 2; - private java.util.List errors_; + private java.util.List + errors_; /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList() { return errors_; } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override public int getErrorsCount() { return errors_.size(); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { return errors_.get(index); } /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { return errors_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -245,8 +312,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 < yumArtifacts_.size(); i++) { output.writeMessage(1, yumArtifacts_.get(i)); } @@ -263,12 +329,10 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < yumArtifacts_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, yumArtifacts_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, yumArtifacts_.get(i)); } for (int i = 0; i < errors_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, errors_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, errors_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -278,17 +342,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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) obj; - if (!getYumArtifactsList() - .equals(other.getYumArtifactsList())) return false; - if (!getErrorsList() - .equals(other.getErrorsList())) return false; + if (!getYumArtifactsList().equals(other.getYumArtifactsList())) return false; + if (!getErrorsList().equals(other.getErrorsList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -314,136 +377,149 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse 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.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from importing YUM artifacts.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getYumArtifactsFieldBuilder(); getErrorsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -463,19 +539,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse build() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -484,7 +563,8 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(this); int from_bitField0_ = bitField0_; if (yumArtifactsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -512,46 +592,52 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + .getDefaultInstance()) return this; if (yumArtifactsBuilder_ == null) { if (!other.yumArtifacts_.isEmpty()) { if (yumArtifacts_.isEmpty()) { @@ -570,9 +656,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA yumArtifactsBuilder_ = null; yumArtifacts_ = other.yumArtifacts_; bitField0_ = (bitField0_ & ~0x00000001); - yumArtifactsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getYumArtifactsFieldBuilder() : null; + yumArtifactsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getYumArtifactsFieldBuilder() + : null; } else { yumArtifactsBuilder_.addAllMessages(other.yumArtifacts_); } @@ -596,9 +683,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ImportYumA errorsBuilder_ = null; errors_ = other.errors_; bitField0_ = (bitField0_ & ~0x00000002); - errorsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getErrorsFieldBuilder() : null; + errorsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getErrorsFieldBuilder() + : null; } else { errorsBuilder_.addAllMessages(other.errors_); } @@ -623,7 +711,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -632,28 +722,39 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List yumArtifacts_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureYumArtifactsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - yumArtifacts_ = new java.util.ArrayList(yumArtifacts_); + yumArtifacts_ = + new java.util.ArrayList( + yumArtifacts_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> yumArtifactsBuilder_; + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + yumArtifactsBuilder_; /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List getYumArtifactsList() { + public java.util.List + getYumArtifactsList() { if (yumArtifactsBuilder_ == null) { return java.util.Collections.unmodifiableList(yumArtifacts_); } else { @@ -661,11 +762,14 @@ public java.util.List } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public int getYumArtifactsCount() { if (yumArtifactsBuilder_ == null) { @@ -675,11 +779,14 @@ public int getYumArtifactsCount() { } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -689,11 +796,14 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts( } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -710,14 +820,18 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder setYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.set(index, builderForValue.build()); @@ -728,11 +842,14 @@ public Builder setYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { if (yumArtifactsBuilder_ == null) { @@ -748,11 +865,14 @@ public Builder addYumArtifacts(com.google.devtools.artifactregistry.v1beta2.YumA return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact value) { @@ -769,11 +889,14 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { @@ -787,14 +910,18 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addYumArtifacts( - int index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder builderForValue) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); yumArtifacts_.add(index, builderForValue.build()); @@ -805,18 +932,21 @@ public Builder addYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder addAllYumArtifacts( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (yumArtifactsBuilder_ == null) { ensureYumArtifactsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, yumArtifacts_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, yumArtifacts_); onChanged(); } else { yumArtifactsBuilder_.addAllMessages(values); @@ -824,11 +954,14 @@ public Builder addAllYumArtifacts( return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder clearYumArtifacts() { if (yumArtifactsBuilder_ == null) { @@ -841,11 +974,14 @@ public Builder clearYumArtifacts() { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public Builder removeYumArtifacts(int index) { if (yumArtifactsBuilder_ == null) { @@ -858,39 +994,50 @@ public Builder removeYumArtifacts(int index) { return this; } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder getYumArtifactsBuilder( int index) { return getYumArtifactsFieldBuilder().getBuilder(index); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifactsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder + getYumArtifactsOrBuilder(int index) { if (yumArtifactsBuilder_ == null) { - return yumArtifacts_.get(index); } else { + return yumArtifacts_.get(index); + } else { return yumArtifactsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + getYumArtifactsOrBuilderList() { if (yumArtifactsBuilder_ != null) { return yumArtifactsBuilder_.getMessageOrBuilderList(); } else { @@ -898,74 +1045,100 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumA } } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder() { - return getYumArtifactsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder + addYumArtifactsBuilder() { + return getYumArtifactsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ public com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder addYumArtifactsBuilder( int index) { - return getYumArtifactsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); + return getYumArtifactsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()); } /** + * + * *
      * The yum artifacts imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; + * */ - public java.util.List - getYumArtifactsBuilderList() { + public java.util.List + getYumArtifactsBuilderList() { return getYumArtifactsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder> getYumArtifactsFieldBuilder() { if (yumArtifactsBuilder_ == null) { - yumArtifactsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.YumArtifact, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( - yumArtifacts_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + yumArtifactsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.YumArtifact, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder, + com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder>( + yumArtifacts_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); yumArtifacts_ = null; } return yumArtifactsBuilder_; } - private java.util.List errors_ = - java.util.Collections.emptyList(); + private java.util.List + errors_ = java.util.Collections.emptyList(); + private void ensureErrorsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - errors_ = new java.util.ArrayList(errors_); + errors_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo>(errors_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> errorsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + errorsBuilder_; /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List getErrorsList() { + public java.util.List + getErrorsList() { if (errorsBuilder_ == null) { return java.util.Collections.unmodifiableList(errors_); } else { @@ -973,11 +1146,15 @@ public java.util.List * Detailed error info for artifacts that were not imported. *
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public int getErrorsCount() { if (errorsBuilder_ == null) { @@ -987,13 +1164,18 @@ public int getErrorsCount() { } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors( + int index) { if (errorsBuilder_ == null) { return errors_.get(index); } else { @@ -1001,11 +1183,15 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1022,14 +1208,20 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder setErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.set(index, builderForValue.build()); @@ -1040,13 +1232,18 @@ public Builder setErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { + public Builder addErrors( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { if (errorsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1060,11 +1257,15 @@ public Builder addErrors(com.google.devtools.artifactregistry.v1beta2.ImportYumA return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo value) { @@ -1081,14 +1282,19 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(builderForValue.build()); @@ -1099,14 +1305,20 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addErrors( - int index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + builderForValue) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); errors_.add(index, builderForValue.build()); @@ -1117,18 +1329,23 @@ public Builder addErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder addAllErrors( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo> + values) { if (errorsBuilder_ == null) { ensureErrorsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, errors_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, errors_); onChanged(); } else { errorsBuilder_.addAllMessages(values); @@ -1136,11 +1353,15 @@ public Builder addAllErrors( return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder clearErrors() { if (errorsBuilder_ == null) { @@ -1153,11 +1374,15 @@ public Builder clearErrors() { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ public Builder removeErrors(int index) { if (errorsBuilder_ == null) { @@ -1170,39 +1395,54 @@ public Builder removeErrors(int index) { return this; } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder getErrorsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + getErrorsBuilder(int index) { return getErrorsFieldBuilder().getBuilder(index); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index) { if (errorsBuilder_ == null) { - return errors_.get(index); } else { + return errors_.get(index); + } else { return errorsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsOrBuilderList() { + public java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + getErrorsOrBuilderList() { if (errorsBuilder_ != null) { return errorsBuilder_.getMessageOrBuilderList(); } else { @@ -1210,56 +1450,78 @@ public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoO } } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder() { - return getErrorsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder() { + return getErrorsFieldBuilder() + .addBuilder( + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder addErrorsBuilder( - int index) { - return getErrorsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder + addErrorsBuilder(int index) { + return getErrorsFieldBuilder() + .addBuilder( + index, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo + .getDefaultInstance()); } /** + * + * *
      * Detailed error info for artifacts that were not imported.
      * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - public java.util.List - getErrorsBuilderList() { + public java.util.List< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder> + getErrorsBuilderList() { return getErrorsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsFieldBuilder() { if (errorsBuilder_ == null) { - errorsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( - errors_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + errorsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo.Builder, + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder>( + errors_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); errors_ = null; } return errorsBuilder_; } + @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); } @@ -1269,30 +1531,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportYumArtifactsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ImportYumArtifactsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportYumArtifactsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ImportYumArtifactsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1304,9 +1569,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java similarity index 59% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java index 1a00b12c..2bd2c9e0 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ImportYumArtifactsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ImportYumArtifactsResponseOrBuilder extends +public interface ImportYumArtifactsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ImportYumArtifactsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List - getYumArtifactsList(); + java.util.List getYumArtifactsList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -25,6 +44,8 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.YumArtifact getYumArtifacts(int index); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -33,15 +54,19 @@ public interface ImportYumArtifactsResponseOrBuilder extends */ int getYumArtifactsCount(); /** + * + * *
    * The yum artifacts imported.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.YumArtifact yum_artifacts = 1; */ - java.util.List + java.util.List getYumArtifactsOrBuilderList(); /** + * + * *
    * The yum artifacts imported.
    * 
@@ -52,46 +77,68 @@ com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder getYumArtifact int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List getErrorsList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo getErrors(int index); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ int getErrorsCount(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder> getErrorsOrBuilderList(); /** + * + * *
    * Detailed error info for artifacts that were not imported.
    * 
* - * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * + * repeated .google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfo errors = 2; + * */ - com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder getErrorsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.ImportYumArtifactsErrorInfoOrBuilder + getErrorsOrBuilder(int index); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java index 64d4e0fa..9dfbe84c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ -public final class ListFilesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) ListFilesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesRequest.newBuilder() to construct. private ListFilesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListFilesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListFilesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,35 +112,40 @@ private ListFilesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -129,30 +154,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @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 { @@ -163,6 +188,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -176,6 +203,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -184,14 +212,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -205,16 +234,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 { @@ -225,11 +253,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -240,11 +271,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -253,29 +287,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -284,6 +318,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -295,8 +330,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -322,8 +356,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_); @@ -339,21 +372,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -379,117 +409,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest 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.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.devtools.artifactregistry.v1beta2.ListFilesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.newBuilder() @@ -497,16 +537,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,13 +561,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance(); } @@ -543,7 +583,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -556,38 +597,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) other); } else { super.mergeFrom(other); return this; @@ -595,7 +637,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -630,7 +674,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -642,19 +688,21 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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; @@ -663,21 +711,22 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @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 { @@ -685,57 +734,64 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the repository whose files will be listed. For example:
      * "projects/p1/locations/us-central1/repositories/repo1
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -743,6 +799,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -756,13 +814,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -771,6 +829,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -784,15 +844,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 { @@ -800,6 +859,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -813,20 +874,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -840,15 +903,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -862,28 +928,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -891,30 +960,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of files to return.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -922,18 +997,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -942,20 +1019,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -963,61 +1041,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1027,12 +1112,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesRequest(); } @@ -1041,16 +1127,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1065,6 +1151,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListFilesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java index cee62b03..6f9f9767 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesRequestOrBuilder.java @@ -1,35 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesRequestOrBuilder extends +public interface ListFilesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the repository whose files will be listed. For example:
    * "projects/p1/locations/us-central1/repositories/repo1
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -43,10 +66,13 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -60,38 +86,46 @@ public interface ListFilesRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of files to return.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java index fe6a1c0f..3c6f7a82 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing files.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ -public final class ListFilesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListFilesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) ListFilesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListFilesResponse.newBuilder() to construct. private ListFilesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListFilesResponse() { files_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListFilesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListFilesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListFilesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListFilesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - files_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + files_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + files_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.File.parser(), + extensionRegistry)); + break; } - files_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.File.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListFilesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { files_ = java.util.Collections.unmodifiableList(files_); @@ -94,22 +115,27 @@ private ListFilesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } public static final int FILES_FIELD_NUMBER = 1; private java.util.List files_; /** + * + * *
    * The files returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getFile return files_; } /** + * + * *
    * The files returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getFile * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public java.util.List + public java.util.List getFilesOrBuilderList() { return files_; } /** + * + * *
    * The files returned.
    * 
@@ -144,6 +174,8 @@ public int getFilesCount() { return files_.size(); } /** + * + * *
    * The files returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { return files_.get(index); } /** + * + * *
    * The files returned.
    * 
@@ -162,20 +196,22 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { return files_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +220,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; } } /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +252,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +264,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 < files_.size(); i++) { output.writeMessage(1, files_.get(i)); } @@ -245,8 +281,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < files_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, files_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, files_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +294,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.devtools.artifactregistry.v1beta2.ListFilesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) obj; - if (!getFilesList() - .equals(other.getFilesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getFilesList().equals(other.getFilesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +327,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse 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.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing files.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListFilesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.devtools.artifactregistry.v1beta2.ListFilesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.newBuilder() @@ -411,17 +455,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) { getFilesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +481,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.FileProto.internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.FileProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListFilesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance(); } @@ -458,7 +503,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListFilesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(this); int from_bitField0_ = bitField0_; if (filesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +524,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +564,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListFilesResponse.getDefaultInstance()) + return this; if (filesBuilder_ == null) { if (!other.files_.isEmpty()) { if (files_.isEmpty()) { @@ -536,9 +585,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListFilesR filesBuilder_ = null; files_ = other.files_; bitField0_ = (bitField0_ & ~0x00000001); - filesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFilesFieldBuilder() : null; + filesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFilesFieldBuilder() + : null; } else { filesBuilder_.addAllMessages(other.files_); } @@ -567,7 +617,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListFilesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +628,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List files_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFilesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { files_ = new java.util.ArrayList(files_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> filesBuilder_; + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + filesBuilder_; /** + * + * *
      * The files returned.
      * 
@@ -605,6 +664,8 @@ public java.util.List getFile } } /** + * + * *
      * The files returned.
      * 
@@ -619,6 +680,8 @@ public int getFilesCount() { } } /** + * + * *
      * The files returned.
      * 
@@ -633,14 +696,15 @@ public com.google.devtools.artifactregistry.v1beta2.File getFiles(int index) { } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder setFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder setFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +718,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -672,6 +738,8 @@ public Builder setFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -692,14 +760,15 @@ public Builder addFiles(com.google.devtools.artifactregistry.v1beta2.File value) return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public Builder addFiles( - int index, com.google.devtools.artifactregistry.v1beta2.File value) { + public Builder addFiles(int index, com.google.devtools.artifactregistry.v1beta2.File value) { if (filesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +782,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -731,6 +802,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -749,6 +822,8 @@ public Builder addFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -759,8 +834,7 @@ public Builder addAllFiles( java.lang.Iterable values) { if (filesBuilder_ == null) { ensureFilesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, files_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, files_); onChanged(); } else { filesBuilder_.addAllMessages(values); @@ -768,6 +842,8 @@ public Builder addAllFiles( return this; } /** + * + * *
      * The files returned.
      * 
@@ -785,6 +861,8 @@ public Builder clearFiles() { return this; } /** + * + * *
      * The files returned.
      * 
@@ -802,39 +880,44 @@ public Builder removeFiles(int index) { return this; } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.File.Builder getFilesBuilder(int index) { return getFilesFieldBuilder().getBuilder(index); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index) { if (filesBuilder_ == null) { - return files_.get(index); } else { + return files_.get(index); + } else { return filesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesOrBuilderList() { + public java.util.List + getFilesOrBuilderList() { if (filesBuilder_ != null) { return filesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +925,8 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil } } /** + * + * *
      * The files returned.
      * 
@@ -849,42 +934,49 @@ public com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuil * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder() { - return getFilesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + return getFilesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder( - int index) { - return getFilesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder(int index) { + return getFilesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.File.getDefaultInstance()); } /** + * + * *
      * The files returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - public java.util.List - getFilesBuilderList() { + public java.util.List + getFilesBuilderList() { return getFilesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder> getFilesFieldBuilder() { if (filesBuilder_ == null) { - filesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.File, com.google.devtools.artifactregistry.v1beta2.File.Builder, com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( - files_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + filesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.File, + com.google.devtools.artifactregistry.v1beta2.File.Builder, + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder>( + files_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); files_ = null; } return filesBuilder_; @@ -892,19 +984,21 @@ public com.google.devtools.artifactregistry.v1beta2.File.Builder addFilesBuilder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1007,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1030,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of files, or empty if there are no
      * more files to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1104,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListFilesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListFilesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListFilesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListFilesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListFilesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListFilesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1141,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListFilesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java index 1923defe..4631c3b8 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListFilesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/file.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListFilesResponseOrBuilder extends +public interface ListFilesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListFilesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List - getFilesList(); + java.util.List getFilesList(); /** + * + * *
    * The files returned.
    * 
@@ -25,6 +44,8 @@ public interface ListFilesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.File getFiles(int index); /** + * + * *
    * The files returned.
    * 
@@ -33,43 +54,51 @@ public interface ListFilesResponseOrBuilder extends */ int getFilesCount(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - java.util.List + java.util.List getFilesOrBuilderList(); /** + * + * *
    * The files returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.File files = 1; */ - com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.FileOrBuilder getFilesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of files, or empty if there are no
    * more files to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java index f95a285a..5594f7fa 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ -public final class ListPackagesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) ListPackagesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesRequest.newBuilder() to construct. private ListPackagesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListPackagesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,39 @@ private ListPackagesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -121,29 +145,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -154,12 +178,15 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -170,11 +197,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -183,29 +213,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -214,6 +244,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +256,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_); } @@ -249,8 +279,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_); @@ -263,19 +292,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.devtools.artifactregistry.v1beta2.ListPackagesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -299,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest 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.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.devtools.artifactregistry.v1beta2.ListPackagesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.newBuilder() @@ -417,16 +454,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -440,13 +476,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance(); } @@ -461,7 +498,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -473,46 +511,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -543,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -555,18 +599,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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; @@ -575,20 +621,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -596,67 +643,77 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose packages will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -664,32 +721,38 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of packages to return.
      * Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -697,18 +760,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -717,20 +782,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -738,61 +804,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -802,30 +875,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -837,9 +912,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java similarity index 61% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java index f687007f..1eb63b7c 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesRequestOrBuilder.java @@ -1,60 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesRequestOrBuilder extends +public interface ListPackagesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose packages will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of packages to return.
    * Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java index 0d1ba786..c08e1c3b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing packages.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ -public final class ListPackagesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListPackagesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) ListPackagesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListPackagesResponse.newBuilder() to construct. private ListPackagesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListPackagesResponse() { packages_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListPackagesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListPackagesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListPackagesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListPackagesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + packages_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + packages_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Package.parser(), + extensionRegistry)); + break; } - packages_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Package.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListPackagesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { packages_ = java.util.Collections.unmodifiableList(packages_); @@ -94,22 +115,27 @@ private ListPackagesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } public static final int PACKAGES_FIELD_NUMBER = 1; private java.util.List packages_; /** + * + * *
    * The packages returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getP return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getP * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ @java.lang.Override - public java.util.List + public java.util.List getPackagesOrBuilderList() { return packages_; } /** + * + * *
    * The packages returned.
    * 
@@ -144,6 +174,8 @@ public int getPackagesCount() { return packages_.size(); } /** + * + * *
    * The packages returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde return packages_.get(index); } /** + * + * *
    * The packages returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < packages_.size(); i++) { output.writeMessage(1, packages_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < packages_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, packages_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, packages_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListPackagesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) obj; - if (!getPackagesList() - .equals(other.getPackagesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getPackagesList().equals(other.getPackagesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse 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.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing packages.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListPackagesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.devtools.artifactregistry.v1beta2.ListPackagesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPackagesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(this); int from_bitField0_ = bitField0_; if (packagesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse.getDefaultInstance()) + return this; if (packagesBuilder_ == null) { if (!other.packages_.isEmpty()) { if (packages_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListPackag packagesBuilder_ = null; packages_ = other.packages_; bitField0_ = (bitField0_ & ~0x00000001); - packagesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPackagesFieldBuilder() : null; + packagesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPackagesFieldBuilder() + : null; } else { packagesBuilder_.addAllMessages(other.packages_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List packages_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePackagesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - packages_ = new java.util.ArrayList(packages_); + packages_ = + new java.util.ArrayList( + packages_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> packagesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + packagesBuilder_; /** + * + * *
      * The packages returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getP } } /** + * + * *
      * The packages returned.
      * 
@@ -619,6 +686,8 @@ public int getPackagesCount() { } } /** + * + * *
      * The packages returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package getPackages(int inde } } /** + * + * *
      * The packages returned.
      * 
@@ -654,6 +725,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -672,6 +745,8 @@ public Builder setPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -692,6 +767,8 @@ public Builder addPackages(com.google.devtools.artifactregistry.v1beta2.Package return this; } /** + * + * *
      * The packages returned.
      * 
@@ -713,6 +790,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -731,6 +810,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -749,6 +830,8 @@ public Builder addPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllPackages( java.lang.Iterable values) { if (packagesBuilder_ == null) { ensurePackagesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, packages_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, packages_); onChanged(); } else { packagesBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllPackages( return this; } /** + * + * *
      * The packages returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearPackages() { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -802,6 +888,8 @@ public Builder removePackages(int index) { return this; } /** + * + * *
      * The packages returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB return getPackagesFieldBuilder().getBuilder(index); } /** + * + * *
      * The packages returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder getPackagesB public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( int index) { if (packagesBuilder_ == null) { - return packages_.get(index); } else { + return packages_.get(index); + } else { return packagesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesOrBuilderList() { + public java.util.List + getPackagesOrBuilderList() { if (packagesBuilder_ != null) { return packagesBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages } } /** + * + * *
      * The packages returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackages * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder() { - return getPackagesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB */ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesBuilder( int index) { - return getPackagesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); + return getPackagesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()); } /** + * + * *
      * The packages returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - public java.util.List - getPackagesBuilderList() { + public java.util.List + getPackagesBuilderList() { return getPackagesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder> getPackagesFieldBuilder() { if (packagesBuilder_ == null) { - packagesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Package, com.google.devtools.artifactregistry.v1beta2.Package.Builder, com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( - packages_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + packagesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Package, + com.google.devtools.artifactregistry.v1beta2.Package.Builder, + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder>( + packages_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); packages_ = null; } return packagesBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Package.Builder addPackagesB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of packages, or empty if there are no
      * more packages to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListPackagesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListPackagesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListPackagesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListPackagesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListPackagesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java index 6cf4a9c8..0064727e 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListPackagesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListPackagesResponseOrBuilder extends +public interface ListPackagesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListPackagesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List - getPackagesList(); + java.util.List getPackagesList(); /** + * + * *
    * The packages returned.
    * 
@@ -25,6 +44,8 @@ public interface ListPackagesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Package getPackages(int index); /** + * + * *
    * The packages returned.
    * 
@@ -33,43 +54,51 @@ public interface ListPackagesResponseOrBuilder extends */ int getPackagesCount(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - java.util.List + java.util.List getPackagesOrBuilderList(); /** + * + * *
    * The packages returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Package packages = 1; */ - com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder getPackagesOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of packages, or empty if there are no
    * more packages to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java index ddf035ff..a893add6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ -public final class ListRepositoriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) ListRepositoriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesRequest.newBuilder() to construct. private ListRepositoriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesRequest() { parent_ = ""; pageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,30 +71,32 @@ private ListRepositoriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + pageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -85,34 +104,41 @@ private ListRepositoriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 @@ -121,29 +147,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 { @@ -154,11 +182,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -169,11 +200,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -182,29 +216,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -213,6 +247,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -224,8 +259,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_); } @@ -248,8 +282,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_); @@ -262,19 +295,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.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -298,134 +329,145 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The request to list repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -439,14 +481,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance(); } @java.lang.Override @@ -460,7 +504,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -472,46 +517,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -542,7 +592,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -554,18 +606,22 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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; @@ -574,20 +630,23 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * 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 { @@ -595,66 +654,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * Required. The name of the parent resource whose repositories will be listed.
      * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -662,30 +737,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of repositories to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -693,18 +774,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -713,20 +796,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -734,61 +818,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -798,30 +889,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -833,9 +926,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java index a32408c1..ec5a0872 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesRequestOrBuilder.java @@ -1,59 +1,92 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesRequestOrBuilder extends +public interface ListRepositoriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The name of the parent resource whose repositories will be listed.
    * 
* - * 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 name of the parent resource whose repositories will be listed.
    * 
* - * 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(); /** + * + * *
    * The maximum number of repositories to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java index f5b7cb40..d08c8a9d 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing repositories.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ -public final class ListRepositoriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListRepositoriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) ListRepositoriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListRepositoriesResponse.newBuilder() to construct. private ListRepositoriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListRepositoriesResponse() { repositories_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListRepositoriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListRepositoriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListRepositoriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,34 @@ private ListRepositoriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + repositories_ = + new java.util.ArrayList< + com.google.devtools.artifactregistry.v1beta2.Repository>(); + mutable_bitField0_ |= 0x00000001; + } + repositories_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry)); + break; } - repositories_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +107,7 @@ private ListRepositoriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { repositories_ = java.util.Collections.unmodifiableList(repositories_); @@ -94,22 +116,27 @@ private ListRepositoriesResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } public static final int REPOSITORIES_FIELD_NUMBER = 1; private java.util.List repositories_; /** + * + * *
    * The repositories returned.
    * 
@@ -117,10 +144,13 @@ private ListRepositoriesResponse( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -128,11 +158,13 @@ public java.util.List g * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ @java.lang.Override - public java.util.List + public java.util.List getRepositoriesOrBuilderList() { return repositories_; } /** + * + * *
    * The repositories returned.
    * 
@@ -144,6 +176,8 @@ public int getRepositoriesCount() { return repositories_.size(); } /** + * + * *
    * The repositories returned.
    * 
@@ -155,6 +189,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i return repositories_.get(index); } /** + * + * *
    * The repositories returned.
    * 
@@ -170,12 +206,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +223,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; } } /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,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 < repositories_.size(); i++) { output.writeMessage(1, repositories_.get(i)); } @@ -245,8 +284,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < repositories_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, repositories_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, repositories_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +297,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.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) obj; - if (!getRepositoriesList() - .equals(other.getRepositoriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getRepositoriesList().equals(other.getRepositoriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +330,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * The response from listing repositories.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getRepositoriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,14 +486,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance(); } @java.lang.Override @@ -458,7 +509,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(this); int from_bitField0_ = bitField0_; if (repositoriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +530,51 @@ public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse bui public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + .getDefaultInstance()) return this; if (repositoriesBuilder_ == null) { if (!other.repositories_.isEmpty()) { if (repositories_.isEmpty()) { @@ -536,9 +593,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListReposi repositoriesBuilder_ = null; repositories_ = other.repositories_; bitField0_ = (bitField0_ & ~0x00000001); - repositoriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getRepositoriesFieldBuilder() : null; + repositoriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getRepositoriesFieldBuilder() + : null; } else { repositoriesBuilder_.addAllMessages(other.repositories_); } @@ -567,7 +625,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,28 +636,38 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List repositories_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRepositoriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - repositories_ = new java.util.ArrayList(repositories_); + repositories_ = + new java.util.ArrayList( + repositories_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoriesBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoriesBuilder_; /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List getRepositoriesList() { + public java.util.List + getRepositoriesList() { if (repositoriesBuilder_ == null) { return java.util.Collections.unmodifiableList(repositories_); } else { @@ -605,6 +675,8 @@ public java.util.List g } } /** + * + * *
      * The repositories returned.
      * 
@@ -619,6 +691,8 @@ public int getRepositoriesCount() { } } /** + * + * *
      * The repositories returned.
      * 
@@ -633,6 +707,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(i } } /** + * + * *
      * The repositories returned.
      * 
@@ -654,6 +730,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -661,7 +739,8 @@ public Builder setRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder setRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.set(index, builderForValue.build()); @@ -672,6 +751,8 @@ public Builder setRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -692,6 +773,8 @@ public Builder addRepositories(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -713,6 +796,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -731,6 +816,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -738,7 +825,8 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addRepositories( - int index, com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { + int index, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder builderForValue) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); repositories_.add(index, builderForValue.build()); @@ -749,6 +837,8 @@ public Builder addRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -756,11 +846,11 @@ public Builder addRepositories( * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ public Builder addAllRepositories( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (repositoriesBuilder_ == null) { ensureRepositoriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, repositories_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, repositories_); onChanged(); } else { repositoriesBuilder_.addAllMessages(values); @@ -768,6 +858,8 @@ public Builder addAllRepositories( return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -785,6 +877,8 @@ public Builder clearRepositories() { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -802,6 +896,8 @@ public Builder removeRepositories(int index) { return this; } /** + * + * *
      * The repositories returned.
      * 
@@ -813,28 +909,34 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getReposi return getRepositoriesFieldBuilder().getBuilder(index); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoriesOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoriesOrBuilder(int index) { if (repositoriesBuilder_ == null) { - return repositories_.get(index); } else { + return repositories_.get(index); + } else { return repositoriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesOrBuilderList() { + public java.util.List< + ? extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + getRepositoriesOrBuilderList() { if (repositoriesBuilder_ != null) { return repositoriesBuilder_.getMessageOrBuilderList(); } else { @@ -842,17 +944,22 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos } } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder() { - return getRepositoriesFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Repository.Builder + addRepositoriesBuilder() { + return getRepositoriesFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
@@ -861,30 +968,36 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addRepositoriesBuilder( int index) { - return getRepositoriesFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); + return getRepositoriesFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()); } /** + * + * *
      * The repositories returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - public java.util.List - getRepositoriesBuilderList() { + public java.util.List + getRepositoriesBuilderList() { return getRepositoriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoriesFieldBuilder() { if (repositoriesBuilder_ == null) { - repositoriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - repositories_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + repositoriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + repositories_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); repositories_ = null; } return repositoriesBuilder_; @@ -892,19 +1005,21 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder addReposi private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1028,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1051,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of repositories, or empty if there are
      * no more repositories to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1125,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListRepositoriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListRepositoriesResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListRepositoriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListRepositoriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1162,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java index 1fc05520..93b11eea 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListRepositoriesResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListRepositoriesResponseOrBuilder extends +public interface ListRepositoriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListRepositoriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List - getRepositoriesList(); + java.util.List getRepositoriesList(); /** + * + * *
    * The repositories returned.
    * 
@@ -25,6 +44,8 @@ public interface ListRepositoriesResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Repository getRepositories(int index); /** + * + * *
    * The repositories returned.
    * 
@@ -33,15 +54,19 @@ public interface ListRepositoriesResponseOrBuilder extends */ int getRepositoriesCount(); /** + * + * *
    * The repositories returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Repository repositories = 1; */ - java.util.List + java.util.List getRepositoriesOrBuilderList(); /** + * + * *
    * The repositories returned.
    * 
@@ -52,24 +77,29 @@ com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositories int index); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of repositories, or empty if there are
    * no more repositories to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java index d1bbfedb..d80c37d7 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ -public final class ListTagsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) ListTagsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsRequest.newBuilder() to construct. private ListTagsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsRequest() { parent_ = ""; filter_ = ""; @@ -27,16 +45,15 @@ private ListTagsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,36 +72,39 @@ private ListTagsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: { - - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + filter_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +112,39 @@ private ListTagsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -128,29 +153,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -161,6 +186,8 @@ public java.lang.String getParent() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -171,6 +198,7 @@ public java.lang.String getParent() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -179,14 +207,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; } } /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -197,16 +226,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 { @@ -217,11 +245,14 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -232,11 +263,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -245,29 +279,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -276,6 +310,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -287,8 +322,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_); } @@ -314,8 +348,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_); @@ -331,21 +364,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.devtools.artifactregistry.v1beta2.ListTagsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -371,117 +401,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest 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.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.devtools.artifactregistry.v1beta2.ListTagsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.newBuilder() @@ -489,16 +529,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -514,13 +553,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance(); } @@ -535,7 +575,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(this); result.parent_ = parent_; result.filter_ = filter_; result.pageSize_ = pageSize_; @@ -548,38 +589,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) other); } else { super.mergeFrom(other); return this; @@ -587,7 +629,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -622,7 +666,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -634,18 +679,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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; @@ -654,20 +701,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @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 { @@ -675,54 +723,61 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose tags will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -730,6 +785,8 @@ public Builder setParentBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -740,13 +797,13 @@ public Builder setParentBytes(
      * 
* * 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; @@ -755,6 +812,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -765,15 +824,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 { @@ -781,6 +839,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -791,20 +851,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) { + public Builder setFilter(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + filter_ = value; onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -815,15 +877,18 @@ public Builder setFilter(
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * An expression for filtering the results of the request. Filter rules are
      * case insensitive. The fields eligible for filtering are:
@@ -834,28 +899,31 @@ 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) { + public Builder setFilterBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + filter_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -863,30 +931,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of tags to return. Maximum page size is 10,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -894,18 +968,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -914,20 +990,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -935,61 +1012,68 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -999,12 +1083,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsRequest(); } @@ -1013,16 +1098,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,6 +1122,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java index c77afd7e..7748ba51 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsRequestOrBuilder.java @@ -1,33 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsRequestOrBuilder extends +public interface ListTagsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose tags will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -38,10 +61,13 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * An expression for filtering the results of the request. Filter rules are
    * case insensitive. The fields eligible for filtering are:
@@ -52,38 +78,46 @@ public interface ListTagsRequestOrBuilder extends
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of tags to return. Maximum page size is 10,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java similarity index 73% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java index e80a6480..a9ed7183 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing tags.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ -public final class ListTagsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListTagsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) ListTagsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListTagsResponse.newBuilder() to construct. private ListTagsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListTagsResponse() { tags_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListTagsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListTagsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListTagsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,32 @@ private ListTagsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - tags_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + tags_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + tags_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), + extensionRegistry)); + break; } - tags_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +105,7 @@ private ListTagsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { tags_ = java.util.Collections.unmodifiableList(tags_); @@ -94,22 +114,27 @@ private ListTagsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } public static final int TAGS_FIELD_NUMBER = 1; private java.util.List tags_; /** + * + * *
    * The tags returned.
    * 
@@ -121,6 +146,8 @@ public java.util.List getTagsL return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -128,11 +155,13 @@ public java.util.List getTagsL * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public java.util.List + public java.util.List getTagsOrBuilderList() { return tags_; } /** + * + * *
    * The tags returned.
    * 
@@ -144,6 +173,8 @@ public int getTagsCount() { return tags_.size(); } /** + * + * *
    * The tags returned.
    * 
@@ -155,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { return tags_.get(index); } /** + * + * *
    * The tags returned.
    * 
@@ -162,20 +195,22 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { return tags_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +219,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; } } /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +251,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +263,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 < tags_.size(); i++) { output.writeMessage(1, tags_.get(i)); } @@ -245,8 +280,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < tags_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, tags_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, tags_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +293,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.devtools.artifactregistry.v1beta2.ListTagsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) obj; - if (!getTagsList() - .equals(other.getTagsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getTagsList().equals(other.getTagsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,117 +326,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse 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.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing tags.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListTagsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.devtools.artifactregistry.v1beta2.ListTagsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.newBuilder() @@ -411,17 +454,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) { getTagsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +480,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance(); } @@ -458,7 +502,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListTagsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(this); int from_bitField0_ = bitField0_; if (tagsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,38 +523,39 @@ public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) other); } else { super.mergeFrom(other); return this; @@ -517,7 +563,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ListTagsResponse.getDefaultInstance()) + return this; if (tagsBuilder_ == null) { if (!other.tags_.isEmpty()) { if (tags_.isEmpty()) { @@ -536,9 +584,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListTagsRe tagsBuilder_ = null; tags_ = other.tags_; bitField0_ = (bitField0_ & ~0x00000001); - tagsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getTagsFieldBuilder() : null; + tagsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getTagsFieldBuilder() + : null; } else { tagsBuilder_.addAllMessages(other.tags_); } @@ -567,7 +616,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListTagsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +627,28 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List tags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { tags_ = new java.util.ArrayList(tags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagsBuilder_; /** + * + * *
      * The tags returned.
      * 
@@ -605,6 +663,8 @@ public java.util.List getTagsL } } /** + * + * *
      * The tags returned.
      * 
@@ -619,6 +679,8 @@ public int getTagsCount() { } } /** + * + * *
      * The tags returned.
      * 
@@ -633,14 +695,15 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index) { } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder setTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder setTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -654,6 +717,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -672,6 +737,8 @@ public Builder setTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -692,14 +759,15 @@ public Builder addTags(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public Builder addTags( - int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { + public Builder addTags(int index, com.google.devtools.artifactregistry.v1beta2.Tag value) { if (tagsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -713,6 +781,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -731,6 +801,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -749,6 +821,8 @@ public Builder addTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -759,8 +833,7 @@ public Builder addAllTags( java.lang.Iterable values) { if (tagsBuilder_ == null) { ensureTagsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, tags_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, tags_); onChanged(); } else { tagsBuilder_.addAllMessages(values); @@ -768,6 +841,8 @@ public Builder addAllTags( return this; } /** + * + * *
      * The tags returned.
      * 
@@ -785,6 +860,8 @@ public Builder clearTags() { return this; } /** + * + * *
      * The tags returned.
      * 
@@ -802,39 +879,44 @@ public Builder removeTags(int index) { return this; } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagsBuilder(int index) { return getTagsFieldBuilder().getBuilder(index); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index) { + public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index) { if (tagsBuilder_ == null) { - return tags_.get(index); } else { + return tags_.get(index); + } else { return tagsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsOrBuilderList() { + public java.util.List + getTagsOrBuilderList() { if (tagsBuilder_ != null) { return tagsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +924,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde } } /** + * + * *
      * The tags returned.
      * 
@@ -849,42 +933,48 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilde * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder() { - return getTagsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + return getTagsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( - int index) { - return getTagsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); + public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder(int index) { + return getTagsFieldBuilder() + .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()); } /** + * + * *
      * The tags returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - public java.util.List - getTagsBuilderList() { + public java.util.List + getTagsBuilderList() { return getTagsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagsFieldBuilder() { if (tagsBuilder_ == null) { - tagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - tags_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + tagsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + tags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); tags_ = null; } return tagsBuilder_; @@ -892,19 +982,21 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addTagsBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1005,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1028,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of tags, or empty if there are no
      * more tags to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,12 +1102,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListTagsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListTagsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListTagsResponse(); } @@ -1016,16 +1117,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getD return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListTagsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListTagsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListTagsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListTagsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1040,6 +1141,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ListTagsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java similarity index 68% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java index fa38f042..1b93bf53 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListTagsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListTagsResponseOrBuilder extends +public interface ListTagsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListTagsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List - getTagsList(); + java.util.List getTagsList(); /** + * + * *
    * The tags returned.
    * 
@@ -25,6 +44,8 @@ public interface ListTagsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Tag getTags(int index); /** + * + * *
    * The tags returned.
    * 
@@ -33,43 +54,51 @@ public interface ListTagsResponseOrBuilder extends */ int getTagsCount(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - java.util.List + java.util.List getTagsOrBuilderList(); /** + * + * *
    * The tags returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Tag tags = 1; */ - com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of tags, or empty if there are no
    * more tags to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java index 059a89b1..ae29fb6b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequest.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to list versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ -public final class ListVersionsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) ListVersionsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsRequest.newBuilder() to construct. private ListVersionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,16 +46,15 @@ private ListVersionsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListVersionsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 32: { - int rawValue = input.readEnum(); + pageToken_ = s; + break; + } + case 32: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + view_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,34 +120,39 @@ private ListVersionsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ @java.lang.Override @@ -135,29 +161,29 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @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 { @@ -168,11 +194,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -183,11 +212,14 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -196,29 +228,29 @@ 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; } } /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * 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 { @@ -229,38 +261,52 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_; /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -269,29 +315,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. The field to order the results by.
    * 
* * 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 { @@ -300,6 +346,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -311,8 +358,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_); } @@ -322,7 +368,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { @@ -341,15 +389,15 @@ 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_); } - if (view_ != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.devtools.artifactregistry.v1beta2.VersionView.VERSION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, orderBy_); @@ -362,22 +410,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.devtools.artifactregistry.v1beta2.ListVersionsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -405,117 +450,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest 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.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 to list versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.devtools.artifactregistry.v1beta2.ListVersionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.newBuilder() @@ -523,16 +578,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -550,13 +604,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance(); } @@ -571,7 +626,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -585,46 +641,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest buildPar public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -662,7 +722,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,18 +736,20 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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; @@ -694,20 +758,21 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @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,66 +780,76 @@ public java.lang.String getParent() { } } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The parent to set. * @return This builder for chaining. */ - public Builder setParent( - java.lang.String value) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @return This builder for chaining. */ public Builder clearParent() { - + parent_ = getDefaultInstance().getParent(); onChanged(); return this; } /** + * + * *
      * The name of the parent resource whose versions will be listed.
      * 
* * string parent = 1; + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +857,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * The maximum number of versions to return. Maximum page size is 1,000.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,18 +894,20 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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; @@ -833,20 +916,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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 { @@ -854,54 +938,61 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous list request, if any.
      * 
* * 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -909,51 +1000,67 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.VersionView getView() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.VersionView result = com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.VersionView result = + com.google.devtools.artifactregistry.v1beta2.VersionView.valueOf(view_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.VersionView.UNRECOGNIZED + : result; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @param value The view to set. * @return This builder for chaining. */ @@ -961,21 +1068,24 @@ public Builder setView(com.google.devtools.artifactregistry.v1beta2.VersionView if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The view that should be returned in the response.
      * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; @@ -983,18 +1093,20 @@ public Builder clearView() { private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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; @@ -1003,20 +1115,21 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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 { @@ -1024,61 +1137,68 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * Optional. The field to order the results by.
      * 
* * 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) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = value; onChanged(); return this; } + @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); } @@ -1088,30 +1208,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1123,9 +1245,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java index 2660ddc5..e2fbbdde 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsRequestOrBuilder.java @@ -1,98 +1,138 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsRequestOrBuilder extends +public interface ListVersionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The parent. */ java.lang.String getParent(); /** + * + * *
    * The name of the parent resource whose versions will be listed.
    * 
* * string parent = 1; + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * The maximum number of versions to return. Maximum page size is 1,000.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous list request, if any.
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * The view that should be returned in the response.
    * 
* * .google.devtools.artifactregistry.v1beta2.VersionView view = 4; + * * @return The view. */ com.google.devtools.artifactregistry.v1beta2.VersionView getView(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The field to order the results by.
    * 
* * 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/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java index 06865407..933564d2 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponse.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The response from listing versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ -public final class ListVersionsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListVersionsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) ListVersionsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListVersionsResponse.newBuilder() to construct. private ListVersionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListVersionsResponse() { versions_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -26,16 +44,15 @@ private ListVersionsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListVersionsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ListVersionsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,28 +72,33 @@ private ListVersionsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + versions_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + versions_.add( + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Version.parser(), + extensionRegistry)); + break; } - versions_.add( - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Version.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + nextPageToken_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -84,8 +106,7 @@ private ListVersionsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { versions_ = java.util.Collections.unmodifiableList(versions_); @@ -94,22 +115,27 @@ private ListVersionsResponse( makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } public static final int VERSIONS_FIELD_NUMBER = 1; private java.util.List versions_; /** + * + * *
    * The versions returned.
    * 
@@ -121,6 +147,8 @@ public java.util.List getV return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -128,11 +156,13 @@ public java.util.List getV * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getVersionsOrBuilderList() { return versions_; } /** + * + * *
    * The versions returned.
    * 
@@ -144,6 +174,8 @@ public int getVersionsCount() { return versions_.size(); } /** + * + * *
    * The versions returned.
    * 
@@ -155,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde return versions_.get(index); } /** + * + * *
    * The versions returned.
    * 
@@ -170,12 +204,15 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -184,30 +221,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; } } /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -216,6 +253,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -227,8 +265,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 < versions_.size(); i++) { output.writeMessage(1, versions_.get(i)); } @@ -245,8 +282,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < versions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, versions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, versions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -259,17 +295,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.devtools.artifactregistry.v1beta2.ListVersionsResponse)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) obj; - if (!getVersionsList() - .equals(other.getVersionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getVersionsList().equals(other.getVersionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -293,135 +328,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse 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.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 from listing versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ListVersionsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.devtools.artifactregistry.v1beta2.ListVersionsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.class, + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getVersionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -437,13 +484,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto + .internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance(); } @@ -458,7 +506,8 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse build() @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse result = + new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(this); int from_bitField0_ = bitField0_; if (versionsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -478,46 +527,50 @@ public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse buildPa public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse.getDefaultInstance()) + return this; if (versionsBuilder_ == null) { if (!other.versions_.isEmpty()) { if (versions_.isEmpty()) { @@ -536,9 +589,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ListVersio versionsBuilder_ = null; versions_ = other.versions_; bitField0_ = (bitField0_ & ~0x00000001); - versionsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getVersionsFieldBuilder() : null; + versionsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getVersionsFieldBuilder() + : null; } else { versionsBuilder_.addAllMessages(other.versions_); } @@ -567,7 +621,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -576,21 +632,30 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.util.List versions_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureVersionsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - versions_ = new java.util.ArrayList(versions_); + versions_ = + new java.util.ArrayList( + versions_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> versionsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + versionsBuilder_; /** + * + * *
      * The versions returned.
      * 
@@ -605,6 +670,8 @@ public java.util.List getV } } /** + * + * *
      * The versions returned.
      * 
@@ -619,6 +686,8 @@ public int getVersionsCount() { } } /** + * + * *
      * The versions returned.
      * 
@@ -633,6 +702,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version getVersions(int inde } } /** + * + * *
      * The versions returned.
      * 
@@ -654,6 +725,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -672,6 +745,8 @@ public Builder setVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -692,6 +767,8 @@ public Builder addVersions(com.google.devtools.artifactregistry.v1beta2.Version return this; } /** + * + * *
      * The versions returned.
      * 
@@ -713,6 +790,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -731,6 +810,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -749,6 +830,8 @@ public Builder addVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -759,8 +842,7 @@ public Builder addAllVersions( java.lang.Iterable values) { if (versionsBuilder_ == null) { ensureVersionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, versions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, versions_); onChanged(); } else { versionsBuilder_.addAllMessages(values); @@ -768,6 +850,8 @@ public Builder addAllVersions( return this; } /** + * + * *
      * The versions returned.
      * 
@@ -785,6 +869,8 @@ public Builder clearVersions() { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -802,6 +888,8 @@ public Builder removeVersions(int index) { return this; } /** + * + * *
      * The versions returned.
      * 
@@ -813,6 +901,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB return getVersionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The versions returned.
      * 
@@ -822,19 +912,22 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder getVersionsB public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( int index) { if (versionsBuilder_ == null) { - return versions_.get(index); } else { + return versions_.get(index); + } else { return versionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsOrBuilderList() { + public java.util.List + getVersionsOrBuilderList() { if (versionsBuilder_ != null) { return versionsBuilder_.getMessageOrBuilderList(); } else { @@ -842,6 +935,8 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions } } /** + * + * *
      * The versions returned.
      * 
@@ -849,10 +944,12 @@ public com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersions * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder() { - return getVersionsFieldBuilder().addBuilder( - com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder(com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
@@ -861,30 +958,36 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB */ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsBuilder( int index) { - return getVersionsFieldBuilder().addBuilder( - index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); + return getVersionsFieldBuilder() + .addBuilder( + index, com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()); } /** + * + * *
      * The versions returned.
      * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - public java.util.List - getVersionsBuilderList() { + public java.util.List + getVersionsBuilderList() { return getVersionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder> getVersionsFieldBuilder() { if (versionsBuilder_ == null) { - versionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Version, com.google.devtools.artifactregistry.v1beta2.Version.Builder, com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( - versions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + versionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Version, + com.google.devtools.artifactregistry.v1beta2.Version.Builder, + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder>( + versions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); versions_ = null; } return versionsBuilder_; @@ -892,19 +995,21 @@ public com.google.devtools.artifactregistry.v1beta2.Version.Builder addVersionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ public java.lang.String getNextPageToken() { java.lang.Object ref = nextPageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; @@ -913,21 +1018,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -935,64 +1041,71 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * The token to retrieve the next page of versions, or empty if there are no
      * more versions to return.
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1002,30 +1115,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) - private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse(); } - public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListVersionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ListVersionsResponse(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListVersionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ListVersionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1037,9 +1152,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ListVersionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java index bcc3b1a6..45175f20 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ListVersionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ListVersionsResponseOrBuilder extends +public interface ListVersionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ListVersionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List - getVersionsList(); + java.util.List getVersionsList(); /** + * + * *
    * The versions returned.
    * 
@@ -25,6 +44,8 @@ public interface ListVersionsResponseOrBuilder extends */ com.google.devtools.artifactregistry.v1beta2.Version getVersions(int index); /** + * + * *
    * The versions returned.
    * 
@@ -33,43 +54,51 @@ public interface ListVersionsResponseOrBuilder extends */ int getVersionsCount(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - java.util.List + java.util.List getVersionsOrBuilderList(); /** + * + * *
    * The versions returned.
    * 
* * repeated .google.devtools.artifactregistry.v1beta2.Version versions = 1; */ - com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder( - int index); + com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder getVersionsOrBuilder(int index); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The token to retrieve the next page of versions, or empty if there are no
    * more versions to return.
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/LocationName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java index b6258b3e..6aa3d9e4 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadata.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/service.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Metadata type for longrunning-operations, currently empty.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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() { - } + + private OperationMetadata() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,13 +68,13 @@ private OperationMetadata( case 0: done = true; break; - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -66,27 +82,30 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,8 +117,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @@ -117,12 +135,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; + com.google.devtools.artifactregistry.v1beta2.OperationMetadata other = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -141,117 +160,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata 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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.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; } /** + * + * *
    * Metadata type for longrunning-operations, currently empty.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.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.devtools.artifactregistry.v1beta2.OperationMetadata) com.google.devtools.artifactregistry.v1beta2.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.class, + com.google.devtools.artifactregistry.v1beta2.OperationMetadata.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.OperationMetadata.newBuilder() @@ -259,16 +288,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -276,13 +304,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.ServiceProto.internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.ServiceProto + .internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance(); } @@ -297,7 +326,8 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildPartial() { - com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); + com.google.devtools.artifactregistry.v1beta2.OperationMetadata result = + new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(this); onBuilt(); return result; } @@ -306,38 +336,39 @@ public com.google.devtools.artifactregistry.v1beta2.OperationMetadata buildParti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.OperationMetadata) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -345,7 +376,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.OperationMetadata other) { - if (other == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.OperationMetadata.getDefaultInstance()) + return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -365,7 +398,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.OperationMetadata) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -374,9 +409,9 @@ public Builder mergeFrom( } return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -386,30 +421,32 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.OperationMetadata) - private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.OperationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.OperationMetadata(); } - public static com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + 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 { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -421,9 +458,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.OperationMetadata getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.OperationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java new file mode 100644 index 00000000..5373800b --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/OperationMetadataOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public interface OperationMetadataOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.OperationMetadata) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java similarity index 72% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java index d63f5fe3..03b7ad70 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Package.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/package.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Packages are named collections of versions.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ -public final class Package extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Package extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Package) PackageOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Package.newBuilder() to construct. private Package(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Package() { name_ = ""; displayName_ = ""; @@ -26,16 +44,15 @@ private Package() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Package(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Package( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,51 +71,57 @@ private Package( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - displayName_ = s; - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + displayName_ = s; + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -106,35 +129,40 @@ private Package( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -143,30 +171,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; } } /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * 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 { @@ -177,11 +205,14 @@ public java.lang.String getName() { public static final int DISPLAY_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object displayName_; /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ @java.lang.Override @@ -190,29 +221,29 @@ public java.lang.String getDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; } } /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -223,11 +254,14 @@ public java.lang.String getDisplayName() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -235,11 +269,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -247,6 +284,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the package was created.
    * 
@@ -261,12 +300,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -274,12 +316,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -287,6 +332,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
@@ -300,6 +347,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -311,8 +359,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_);
     }
@@ -341,12 +388,10 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -356,26 +401,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.devtools.artifactregistry.v1beta2.Package)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Package other = (com.google.devtools.artifactregistry.v1beta2.Package) obj;
+    com.google.devtools.artifactregistry.v1beta2.Package other =
+        (com.google.devtools.artifactregistry.v1beta2.Package) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDisplayName()
-        .equals(other.getDisplayName())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDisplayName().equals(other.getDisplayName())) 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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -406,117 +448,126 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Package parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package 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.devtools.artifactregistry.v1beta2.Package parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Package parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Package prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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;
   }
   /**
+   *
+   *
    * 
    * Packages are named collections of versions.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Package} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Package) com.google.devtools.artifactregistry.v1beta2.PackageOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Package.class, com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Package.class, + com.google.devtools.artifactregistry.v1beta2.Package.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Package.newBuilder() @@ -524,16 +575,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +607,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.PackageProto.internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.PackageProto + .internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor; } @java.lang.Override @@ -578,7 +628,8 @@ public com.google.devtools.artifactregistry.v1beta2.Package build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Package result = new com.google.devtools.artifactregistry.v1beta2.Package(this); + com.google.devtools.artifactregistry.v1beta2.Package result = + new com.google.devtools.artifactregistry.v1beta2.Package(this); result.name_ = name_; result.displayName_ = displayName_; if (createTimeBuilder_ == null) { @@ -599,38 +650,39 @@ public com.google.devtools.artifactregistry.v1beta2.Package buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Package) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Package) other); } else { super.mergeFrom(other); return this; @@ -638,7 +690,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Package other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Package.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -672,7 +725,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Package) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -684,19 +738,21 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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; @@ -705,21 +761,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * 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 { @@ -727,57 +784,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the package, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -785,18 +849,20 @@ public Builder setNameBytes( private java.lang.Object displayName_ = ""; /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The displayName. */ public java.lang.String getDisplayName() { java.lang.Object ref = displayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); displayName_ = s; return s; @@ -805,20 +871,21 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - public com.google.protobuf.ByteString - getDisplayNameBytes() { + public com.google.protobuf.ByteString getDisplayNameBytes() { java.lang.Object ref = displayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); displayName_ = b; return b; } else { @@ -826,54 +893,61 @@ public java.lang.String getDisplayName() { } } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The displayName to set. * @return This builder for chaining. */ - public Builder setDisplayName( - java.lang.String value) { + public Builder setDisplayName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + displayName_ = value; onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @return This builder for chaining. */ public Builder clearDisplayName() { - + displayName_ = getDefaultInstance().getDisplayName(); onChanged(); return this; } /** + * + * *
      * The display name of the package.
      * 
* * string display_name = 2; + * * @param value The bytes for displayName to set. * @return This builder for chaining. */ - public Builder setDisplayNameBytes( - com.google.protobuf.ByteString value) { + public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + displayName_ = value; onChanged(); return this; @@ -881,34 +955,47 @@ public Builder setDisplayNameBytes( 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_; /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the package was created.
      * 
@@ -929,14 +1016,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -947,6 +1035,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -957,7 +1047,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -969,6 +1059,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -987,6 +1079,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the package was created.
      * 
@@ -994,11 +1088,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the package was created.
      * 
@@ -1009,11 +1105,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_; } } /** + * + * *
      * The time when the package was created.
      * 
@@ -1021,14 +1120,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1036,36 +1138,49 @@ 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_; /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1087,6 +1202,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1094,8 +1211,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
         onChanged();
@@ -1106,6 +1222,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1117,7 +1235,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
         if (updateTime_ != null) {
           updateTime_ =
-            com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
+              com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial();
         } else {
           updateTime_ = value;
         }
@@ -1129,6 +1247,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1148,6 +1268,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1156,11 +1278,13 @@ public Builder clearUpdateTime() {
      * .google.protobuf.Timestamp update_time = 6;
      */
     public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
-      
+
       onChanged();
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1172,11 +1296,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time when the package was last updated. This includes publishing a new
      * version of the package.
@@ -1185,21 +1312,24 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
     }
+
     @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);
     }
 
@@ -1209,12 +1339,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Package)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Package)
   private static final com.google.devtools.artifactregistry.v1beta2.Package DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Package();
   }
@@ -1223,16 +1353,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Package getDefaultIns
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Package parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new Package(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Package parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new Package(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1247,6 +1377,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.Package getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
index cc9c2140..104cbf12 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageOrBuilder.java
@@ -1,73 +1,107 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/package.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface PackageOrBuilder extends
+public interface PackageOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Package)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the package, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The displayName. */ java.lang.String getDisplayName(); /** + * + * *
    * The display name of the package.
    * 
* * string display_name = 2; + * * @return The bytes for displayName. */ - com.google.protobuf.ByteString - getDisplayNameBytes(); + com.google.protobuf.ByteString getDisplayNameBytes(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the package was created.
    * 
@@ -77,26 +111,34 @@ public interface PackageOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the package was last updated. This includes publishing a new
    * version of the package.
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
new file mode 100644
index 00000000..0a96b6ee
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/PackageProto.java
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/package.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class PackageProto {
+  private PackageProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Package_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/package.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\037google/protobuf/time"
+          + "stamp.proto\032\034google/api/annotations.prot"
+          + "o\"\217\001\n\007Package\022\014\n\004name\030\001 \001(\t\022\024\n\014display_n"
+          + "ame\030\002 \001(\t\022/\n\013create_time\030\005 \001(\0132\032.google."
+          + "protobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132"
+          + "\032.google.protobuf.Timestamp\"L\n\023ListPacka"
+          + "gesRequest\022\016\n\006parent\030\001 \001(\t\022\021\n\tpage_size\030"
+          + "\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"t\n\024ListPackage"
+          + "sResponse\022C\n\010packages\030\001 \003(\01321.google.dev"
+          + "tools.artifactregistry.v1beta2.Package\022\027"
+          + "\n\017next_page_token\030\002 \001(\t\"!\n\021GetPackageReq"
+          + "uest\022\014\n\004name\030\001 \001(\t\"$\n\024DeletePackageReque"
+          + "st\022\014\n\004name\030\001 \001(\tB\223\002\n,com.google.devtools"
+          + ".artifactregistry.v1beta2B\014PackageProtoP"
+          + "\001ZXgoogle.golang.org/genproto/googleapis"
+          + "/devtools/artifactregistry/v1beta2;artif"
+          + "actregistry\252\002%Google.Cloud.ArtifactRegis"
+          + "try.V1Beta2\312\002%Google\\Cloud\\ArtifactRegis"
+          + "try\\V1beta2\352\002(Google::Cloud::ArtifactReg"
+          + "istry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.protobuf.TimestampProto.getDescriptor(),
+              com.google.api.AnnotationsProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Package_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Package_descriptor,
+            new java.lang.String[] {
+              "Name", "DisplayName", "CreateTime", "UpdateTime",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListPackagesResponse_descriptor,
+            new java.lang.String[] {
+              "Packages", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetPackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeletePackageRequest_descriptor,
+            new java.lang.String[] {
+              "Name",
+            });
+    com.google.protobuf.TimestampProto.getDescriptor();
+    com.google.api.AnnotationsProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
index 0fcff33f..30b8d123 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettings.java
@@ -1,24 +1,42 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/settings.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The Artifact Registry settings that apply to a Project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ -public final class ProjectSettings extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProjectSettings extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) ProjectSettingsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProjectSettings.newBuilder() to construct. private ProjectSettings(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProjectSettings() { name_ = ""; legacyRedirectionState_ = 0; @@ -26,16 +44,15 @@ private ProjectSettings() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectSettings(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private ProjectSettings( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,25 +71,27 @@ private ProjectSettings( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - legacyRedirectionState_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + legacyRedirectionState_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -80,36 +99,41 @@ private ProjectSettings( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } /** + * + * *
    * The possible redirection states for legacy repositories.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState} */ - public enum RedirectionState - implements com.google.protobuf.ProtocolMessageEnum { + public enum RedirectionState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * No redirection status has been set.
      * 
@@ -118,6 +142,8 @@ public enum RedirectionState */ REDIRECTION_STATE_UNSPECIFIED(0), /** + * + * *
      * Redirection is disabled.
      * 
@@ -126,6 +152,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_DISABLED(1), /** + * + * *
      * Redirection is enabled.
      * 
@@ -134,6 +162,8 @@ public enum RedirectionState */ REDIRECTION_FROM_GCR_IO_ENABLED(2), /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -145,6 +175,8 @@ public enum RedirectionState ; /** + * + * *
      * No redirection status has been set.
      * 
@@ -153,6 +185,8 @@ public enum RedirectionState */ public static final int REDIRECTION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Redirection is disabled.
      * 
@@ -161,6 +195,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_DISABLED_VALUE = 1; /** + * + * *
      * Redirection is enabled.
      * 
@@ -169,6 +205,8 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_ENABLED_VALUE = 2; /** + * + * *
      * Redirection is enabled, and has been finalized so cannot be reverted.
      * 
@@ -177,7 +215,6 @@ public enum RedirectionState */ public static final int REDIRECTION_FROM_GCR_IO_FINALIZED_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -202,41 +239,47 @@ public static RedirectionState valueOf(int value) { */ public static RedirectionState forNumber(int value) { switch (value) { - case 0: return REDIRECTION_STATE_UNSPECIFIED; - case 1: return REDIRECTION_FROM_GCR_IO_DISABLED; - case 2: return REDIRECTION_FROM_GCR_IO_ENABLED; - case 3: return REDIRECTION_FROM_GCR_IO_FINALIZED; - default: return null; + case 0: + return REDIRECTION_STATE_UNSPECIFIED; + case 1: + return REDIRECTION_FROM_GCR_IO_DISABLED; + case 2: + return REDIRECTION_FROM_GCR_IO_ENABLED; + case 3: + return REDIRECTION_FROM_GCR_IO_FINALIZED; + 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< - RedirectionState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public RedirectionState findValueByNumber(int number) { - return RedirectionState.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 RedirectionState findValueByNumber(int number) { + return RedirectionState.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.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDescriptor() + .getEnumTypes() + .get(0); } private static final RedirectionState[] VALUES = values(); @@ -244,8 +287,7 @@ public RedirectionState findValueByNumber(int number) { public static RedirectionState 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; @@ -265,6 +307,8 @@ private RedirectionState(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -274,6 +318,7 @@ private RedirectionState(int value) {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -282,14 +327,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; } } /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -299,16 +345,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 { @@ -319,31 +364,49 @@ public java.lang.String getName() { public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER = 2; private int legacyRedirectionState_; /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -355,12 +418,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, legacyRedirectionState_); } unknownFields.writeTo(output); @@ -375,9 +440,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (legacyRedirectionState_ != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.REDIRECTION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, legacyRedirectionState_); + if (legacyRedirectionState_ + != com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .REDIRECTION_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, legacyRedirectionState_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -387,15 +454,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.devtools.artifactregistry.v1beta2.ProjectSettings)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings other = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (legacyRedirectionState_ != other.legacyRedirectionState_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -418,117 +485,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings 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.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 Artifact Registry settings that apply to a Project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.ProjectSettings} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.class, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder() @@ -536,16 +613,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -557,13 +633,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance(); } @@ -578,7 +655,8 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial() { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings result = + new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(this); result.name_ = name_; result.legacyRedirectionState_ = legacyRedirectionState_; onBuilt(); @@ -589,38 +667,39 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.ProjectSettings) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.ProjectSettings) other); } else { super.mergeFrom(other); return this; @@ -628,7 +707,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.ProjectSettings other) { - if (other == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -655,7 +736,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.ProjectSettings) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -667,6 +749,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -676,13 +760,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -691,6 +775,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -700,15 +786,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 { @@ -716,6 +801,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -725,20 +812,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -748,15 +837,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the project's settings.
      * Always of the form:
@@ -766,16 +858,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -783,80 +875,113 @@ public Builder setNameBytes( private int legacyRedirectionState_ = 0; /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ - @java.lang.Override public int getLegacyRedirectionStateValue() { + @java.lang.Override + public int getLegacyRedirectionStateValue() { return legacyRedirectionState_; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The enum numeric value on the wire for legacyRedirectionState to set. * @return This builder for chaining. */ public Builder setLegacyRedirectionStateValue(int value) { - + legacyRedirectionState_ = value; onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf(legacyRedirectionState_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState result = + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState.valueOf( + legacyRedirectionState_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + .UNRECOGNIZED + : result; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @param value The legacyRedirectionState to set. * @return This builder for chaining. */ - public Builder setLegacyRedirectionState(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { + public Builder setLegacyRedirectionState( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState value) { if (value == null) { throw new NullPointerException(); } - + legacyRedirectionState_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The redirection state of the legacy repositories in this project.
      * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return This builder for chaining. */ public Builder clearLegacyRedirectionState() { - + legacyRedirectionState_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -866,12 +991,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.ProjectSettings) - private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.ProjectSettings + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.ProjectSettings(); } @@ -880,16 +1006,16 @@ public static com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProjectSettings parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new ProjectSettings(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProjectSettings parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ProjectSettings(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -904,6 +1030,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java similarity index 55% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java index d633ee88..801c80f6 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ProjectSettingsOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface ProjectSettingsOrBuilder extends +public interface ProjectSettingsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.ProjectSettings) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -17,10 +35,13 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the project's settings.
    * Always of the form:
@@ -30,27 +51,38 @@ public interface ProjectSettingsOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The enum numeric value on the wire for legacyRedirectionState. */ int getLegacyRedirectionStateValue(); /** + * + * *
    * The redirection state of the legacy repositories in this project.
    * 
* - * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * .google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState legacy_redirection_state = 2; + * + * * @return The legacyRedirectionState. */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState getLegacyRedirectionState(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.RedirectionState + getLegacyRedirectionState(); } diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java similarity index 66% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java index 6aec32de..a7778a16 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Repository.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A Repository for storing artifacts with a specific format.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ -public final class Repository extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Repository extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository) RepositoryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Repository.newBuilder() to construct. private Repository(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Repository() { name_ = ""; format_ = 0; @@ -28,16 +46,15 @@ private Repository() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Repository(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Repository( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,90 +74,108 @@ private Repository( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - format_ = rawValue; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - description_ = s; - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + format_ = rawValue; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } + case 42: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - kmsKeyName_ = s; - break; - } - case 74: { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder subBuilder = null; - if (formatConfigCase_ == 9) { - subBuilder = ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_).toBuilder(); + kmsKeyName_ = s; + break; } - formatConfig_ = - input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); - formatConfig_ = subBuilder.buildPartial(); + case 74: + { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + subBuilder = null; + if (formatConfigCase_ == 9) { + subBuilder = + ((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_) + .toBuilder(); + } + formatConfig_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); + formatConfig_ = subBuilder.buildPartial(); + } + formatConfigCase_ = 9; + break; } - formatConfigCase_ = 9; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -148,48 +183,52 @@ private Repository( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: return 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } /** + * + * *
    * A package format.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.Format} */ - public enum Format - implements com.google.protobuf.ProtocolMessageEnum { + public enum Format implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified package format.
      * 
@@ -198,6 +237,8 @@ public enum Format */ FORMAT_UNSPECIFIED(0), /** + * + * *
      * Docker package format.
      * 
@@ -206,6 +247,8 @@ public enum Format */ DOCKER(1), /** + * + * *
      * Maven package format.
      * 
@@ -214,6 +257,8 @@ public enum Format */ MAVEN(2), /** + * + * *
      * NPM package format.
      * 
@@ -222,6 +267,8 @@ public enum Format */ NPM(3), /** + * + * *
      * APT package format.
      * 
@@ -230,6 +277,8 @@ public enum Format */ APT(5), /** + * + * *
      * YUM package format.
      * 
@@ -238,6 +287,8 @@ public enum Format */ YUM(6), /** + * + * *
      * Python package format.
      * 
@@ -249,6 +300,8 @@ public enum Format ; /** + * + * *
      * Unspecified package format.
      * 
@@ -257,6 +310,8 @@ public enum Format */ public static final int FORMAT_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Docker package format.
      * 
@@ -265,6 +320,8 @@ public enum Format */ public static final int DOCKER_VALUE = 1; /** + * + * *
      * Maven package format.
      * 
@@ -273,6 +330,8 @@ public enum Format */ public static final int MAVEN_VALUE = 2; /** + * + * *
      * NPM package format.
      * 
@@ -281,6 +340,8 @@ public enum Format */ public static final int NPM_VALUE = 3; /** + * + * *
      * APT package format.
      * 
@@ -289,6 +350,8 @@ public enum Format */ public static final int APT_VALUE = 5; /** + * + * *
      * YUM package format.
      * 
@@ -297,6 +360,8 @@ public enum Format */ public static final int YUM_VALUE = 6; /** + * + * *
      * Python package format.
      * 
@@ -305,7 +370,6 @@ public enum Format */ public static final int PYTHON_VALUE = 8; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,53 +394,59 @@ public static Format valueOf(int value) { */ public static Format forNumber(int value) { switch (value) { - case 0: return FORMAT_UNSPECIFIED; - case 1: return DOCKER; - case 2: return MAVEN; - case 3: return NPM; - case 5: return APT; - case 6: return YUM; - case 8: return PYTHON; - default: return null; + case 0: + return FORMAT_UNSPECIFIED; + case 1: + return DOCKER; + case 2: + return MAVEN; + case 3: + return NPM; + case 5: + return APT; + case 6: + return YUM; + case 8: + return PYTHON; + 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< - Format> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Format findValueByNumber(int number) { - return Format.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 Format findValueByNumber(int number) { + return Format.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.devtools.artifactregistry.v1beta2.Repository.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.getDescriptor() + .getEnumTypes() + .get(0); } private static final Format[] VALUES = values(); - public static Format valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Format 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; @@ -393,41 +463,58 @@ private Format(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.Repository.Format) } - public interface MavenRepositoryConfigOrBuilder extends + public interface MavenRepositoryConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ boolean getAllowSnapshotOverwrites(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ int getVersionPolicyValue(); /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + getVersionPolicy(); } /** + * + * *
    * MavenRepositoryConfig is maven related repository details.
    * Provides additional configuration details for repositories of the maven
@@ -436,31 +523,31 @@ public interface MavenRepositoryConfigOrBuilder extends
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig}
    */
-  public static final class MavenRepositoryConfig extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class MavenRepositoryConfig extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)
       MavenRepositoryConfigOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use MavenRepositoryConfig.newBuilder() to construct.
     private MavenRepositoryConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private MavenRepositoryConfig() {
       versionPolicy_ = 0;
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new MavenRepositoryConfig();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
+
     private MavenRepositoryConfig(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -479,24 +566,25 @@ private MavenRepositoryConfig(
             case 0:
               done = true;
               break;
-            case 8: {
-
-              allowSnapshotOverwrites_ = input.readBool();
-              break;
-            }
-            case 16: {
-              int rawValue = input.readEnum();
+            case 8:
+              {
+                allowSnapshotOverwrites_ = input.readBool();
+                break;
+              }
+            case 16:
+              {
+                int rawValue = input.readEnum();
 
-              versionPolicy_ = rawValue;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                versionPolicy_ = rawValue;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -504,36 +592,43 @@ private MavenRepositoryConfig(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.RepositoryProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class,
+              com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder
+                  .class);
     }
 
     /**
+     *
+     *
      * 
      * VersionPolicy is the version policy for the repository.
      * 
* - * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} + * Protobuf enum {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy} */ - public enum VersionPolicy - implements com.google.protobuf.ProtocolMessageEnum { + public enum VersionPolicy implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -544,6 +639,8 @@ public enum VersionPolicy
        */
       VERSION_POLICY_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -552,6 +649,8 @@ public enum VersionPolicy */ RELEASE(1), /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -563,6 +662,8 @@ public enum VersionPolicy ; /** + * + * *
        * VERSION_POLICY_UNSPECIFIED - the version policy is not defined.
        * When the version policy is not defined, no validation is performed
@@ -573,6 +674,8 @@ public enum VersionPolicy
        */
       public static final int VERSION_POLICY_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * RELEASE - repository will accept only Release versions.
        * 
@@ -581,6 +684,8 @@ public enum VersionPolicy */ public static final int RELEASE_VALUE = 1; /** + * + * *
        * SNAPSHOT - repository will accept only Snapshot versions.
        * 
@@ -589,7 +694,6 @@ public enum VersionPolicy */ public static final int SNAPSHOT_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -614,40 +718,46 @@ public static VersionPolicy valueOf(int value) { */ public static VersionPolicy forNumber(int value) { switch (value) { - case 0: return VERSION_POLICY_UNSPECIFIED; - case 1: return RELEASE; - case 2: return SNAPSHOT; - default: return null; + case 0: + return VERSION_POLICY_UNSPECIFIED; + case 1: + return RELEASE; + case 2: + return SNAPSHOT; + 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< - VersionPolicy> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionPolicy findValueByNumber(int number) { - return VersionPolicy.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 VersionPolicy findValueByNumber(int number) { + return VersionPolicy.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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionPolicy[] VALUES = values(); @@ -655,8 +765,7 @@ public VersionPolicy findValueByNumber(int number) { public static VersionPolicy 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; @@ -676,12 +785,15 @@ private VersionPolicy(int value) { public static final int ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER = 1; private boolean allowSnapshotOverwrites_; /** + * + * *
      * The repository with this flag will allow publishing
      * the same snapshot versions.
      * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -692,31 +804,52 @@ public boolean getAllowSnapshotOverwrites() { public static final int VERSION_POLICY_FIELD_NUMBER = 2; private int versionPolicy_; /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
      * Version policy defines the versions that the registry will accept.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -728,12 +861,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (allowSnapshotOverwrites_ != false) { output.writeBool(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { output.writeEnum(2, versionPolicy_); } unknownFields.writeTo(output); @@ -746,12 +881,13 @@ public int getSerializedSize() { size = 0; if (allowSnapshotOverwrites_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, allowSnapshotOverwrites_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, allowSnapshotOverwrites_); } - if (versionPolicy_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.VERSION_POLICY_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, versionPolicy_); + if (versionPolicy_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.VERSION_POLICY_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, versionPolicy_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -761,15 +897,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.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { + if (!(obj + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) obj; - if (getAllowSnapshotOverwrites() - != other.getAllowSnapshotOverwrites()) return false; + if (getAllowSnapshotOverwrites() != other.getAllowSnapshotOverwrites()) return false; if (versionPolicy_ != other.versionPolicy_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -783,8 +921,7 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ALLOW_SNAPSHOT_OVERWRITES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAllowSnapshotOverwrites()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowSnapshotOverwrites()); hash = (37 * hash) + VERSION_POLICY_FIELD_NUMBER; hash = (53 * hash) + versionPolicy_; hash = (29 * hash) + unknownFields.hashCode(); @@ -792,88 +929,101 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -883,46 +1033,53 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * MavenRepositoryConfig is maven related repository details.
      * Provides additional configuration details for repositories of the maven
      * format type.
      * 
* - * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} + * Protobuf type {@code + * google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.class, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -934,19 +1091,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig build() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -954,8 +1114,10 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig result = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(this); result.allowSnapshotOverwrites_ = allowSnapshotOverwrites_; result.versionPolicy_ = versionPolicy_; onBuilt(); @@ -966,46 +1128,56 @@ public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryCo public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig)other); + if (other + instanceof + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) return this; if (other.getAllowSnapshotOverwrites() != false) { setAllowSnapshotOverwrites(other.getAllowSnapshotOverwrites()); } @@ -1027,11 +1199,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1041,14 +1216,17 @@ public Builder mergeFrom( return this; } - private boolean allowSnapshotOverwrites_ ; + private boolean allowSnapshotOverwrites_; /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return The allowSnapshotOverwrites. */ @java.lang.Override @@ -1056,32 +1234,38 @@ public boolean getAllowSnapshotOverwrites() { return allowSnapshotOverwrites_; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @param value The allowSnapshotOverwrites to set. * @return This builder for chaining. */ public Builder setAllowSnapshotOverwrites(boolean value) { - + allowSnapshotOverwrites_ = value; onChanged(); return this; } /** + * + * *
        * The repository with this flag will allow publishing
        * the same snapshot versions.
        * 
* * bool allow_snapshot_overwrites = 1; + * * @return This builder for chaining. */ public Builder clearAllowSnapshotOverwrites() { - + allowSnapshotOverwrites_ = false; onChanged(); return this; @@ -1089,77 +1273,115 @@ public Builder clearAllowSnapshotOverwrites() { private int versionPolicy_ = 0; /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The enum numeric value on the wire for versionPolicy. */ - @java.lang.Override public int getVersionPolicyValue() { + @java.lang.Override + public int getVersionPolicyValue() { return versionPolicy_; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The enum numeric value on the wire for versionPolicy to set. * @return This builder for chaining. */ public Builder setVersionPolicyValue(int value) { - + versionPolicy_ = value; onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return The versionPolicy. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy getVersionPolicy() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + getVersionPolicy() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy result = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.valueOf(versionPolicy_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy + result = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.valueOf(versionPolicy_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy.UNRECOGNIZED + : result; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @param value The versionPolicy to set. * @return This builder for chaining. */ - public Builder setVersionPolicy(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy value) { + public Builder setVersionPolicy( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .VersionPolicy + value) { if (value == null) { throw new NullPointerException(); } - + versionPolicy_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Version policy defines the versions that the registry will accept.
        * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.VersionPolicy version_policy = 2; + * + * * @return This builder for chaining. */ public Builder clearVersionPolicy() { - + versionPolicy_ = 0; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1172,30 +1394,34 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) - private static final com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig(); } - public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MavenRepositoryConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new MavenRepositoryConfig(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MavenRepositoryConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MavenRepositoryConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1207,20 +1433,23 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; + public enum FormatConfigCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { MAVEN_CONFIG(9), FORMATCONFIG_NOT_SET(0); private final int value; + private FormatConfigCase(int value) { this.value = value; } @@ -1236,30 +1465,37 @@ public static FormatConfigCase valueOf(int value) { public static FormatConfigCase forNumber(int value) { switch (value) { - case 9: return MAVEN_CONFIG; - case 0: return FORMATCONFIG_NOT_SET; - default: return null; + case 9: + return MAVEN_CONFIG; + case 0: + return FORMATCONFIG_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public static final int MAVEN_CONFIG_FIELD_NUMBER = 9; /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -1267,46 +1503,64 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1315,30 +1569,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; } } /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * 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 { @@ -1349,38 +1603,52 @@ public java.lang.String getName() { public static final int FORMAT_FIELD_NUMBER = 2; private int format_; /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -1389,29 +1657,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1420,24 +1688,23 @@ public java.lang.String getDescription() { } 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); - } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + + 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_; } @@ -1446,6 +1713,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1456,22 +1725,22 @@ 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();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1483,11 +1752,12 @@ public java.util.Map getLabels() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
   public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1499,16 +1769,16 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-
-  public java.lang.String getLabelsOrDefault(
-      java.lang.String key,
-      java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrDefault(java.lang.String key, 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;
   }
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -1520,12 +1790,11 @@ public 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();
     }
@@ -1535,11 +1804,14 @@ public java.lang.String getLabelsOrThrow(
   public static final int CREATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp createTime_;
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1547,11 +1819,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -1559,6 +1834,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the repository was created.
    * 
@@ -1573,11 +1850,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1585,11 +1865,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -1597,6 +1880,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -1611,6 +1896,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int KMS_KEY_NAME_FIELD_NUMBER = 8; private volatile java.lang.Object kmsKeyName_; /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1619,6 +1906,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ @java.lang.Override @@ -1627,14 +1915,15 @@ public java.lang.String getKmsKeyName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; } } /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -1643,16 +1932,15 @@ public java.lang.String getKmsKeyName() {
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ @java.lang.Override - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -1661,6 +1949,7 @@ public java.lang.String getKmsKeyName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1672,23 +1961,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { output.writeEnum(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, description_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (createTime_ != null) { output.writeMessage(5, getCreateTime()); } @@ -1699,7 +1985,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 8, kmsKeyName_); } if (formatConfigCase_ == 9) { - output.writeMessage(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + output.writeMessage( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } unknownFields.writeTo(output); } @@ -1713,37 +2002,39 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (format_ != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, format_); + if (format_ + != com.google.devtools.artifactregistry.v1beta2.Repository.Format.FORMAT_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, format_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_); } - 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__); + 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 (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kmsKeyName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, kmsKeyName_); } if (formatConfigCase_ == 9) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(9, (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1753,37 +2044,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Repository)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Repository other = (com.google.devtools.artifactregistry.v1beta2.Repository) obj; + com.google.devtools.artifactregistry.v1beta2.Repository other = + (com.google.devtools.artifactregistry.v1beta2.Repository) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (format_ != other.format_) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getKmsKeyName() - .equals(other.getKmsKeyName())) return false; + if (!getKmsKeyName().equals(other.getKmsKeyName())) return false; if (!getFormatConfigCase().equals(other.getFormatConfigCase())) return false; switch (formatConfigCase_) { case 9: - if (!getMavenConfig() - .equals(other.getMavenConfig())) return false; + if (!getMavenConfig().equals(other.getMavenConfig())) return false; break; case 0: default: @@ -1833,139 +2118,147 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.Repository 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.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Repository parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Repository prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.Repository prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A Repository for storing artifacts with a specific format.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Repository} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Repository) com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { 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.MapField internalGetMutableMapField( - int number) { + protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { 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.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.Repository.class, com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); + com.google.devtools.artifactregistry.v1beta2.Repository.class, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder() @@ -1973,16 +2266,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2013,9 +2305,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor; } @java.lang.Override @@ -2034,7 +2326,8 @@ public com.google.devtools.artifactregistry.v1beta2.Repository build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { - com.google.devtools.artifactregistry.v1beta2.Repository result = new com.google.devtools.artifactregistry.v1beta2.Repository(this); + com.google.devtools.artifactregistry.v1beta2.Repository result = + new com.google.devtools.artifactregistry.v1beta2.Repository(this); int from_bitField0_ = bitField0_; if (formatConfigCase_ == 9) { if (mavenConfigBuilder_ == null) { @@ -2068,38 +2361,39 @@ public com.google.devtools.artifactregistry.v1beta2.Repository buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.Repository) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Repository) other); } else { super.mergeFrom(other); return this; @@ -2107,7 +2401,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository other) { - if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2119,8 +2414,7 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository description_ = other.description_; onChanged(); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -2132,13 +2426,15 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Repository onChanged(); } switch (other.getFormatConfigCase()) { - case MAVEN_CONFIG: { - mergeMavenConfig(other.getMavenConfig()); - break; - } - case FORMATCONFIG_NOT_SET: { - break; - } + case MAVEN_CONFIG: + { + mergeMavenConfig(other.getMavenConfig()); + break; + } + case FORMATCONFIG_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -2159,7 +2455,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.Repository) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2168,12 +2465,12 @@ public Builder mergeFrom( } return this; } + private int formatConfigCase_ = 0; private java.lang.Object formatConfig_; - public FormatConfigCase - getFormatConfigCase() { - return FormatConfigCase.forNumber( - formatConfigCase_); + + public FormatConfigCase getFormatConfigCase() { + return FormatConfigCase.forNumber(formatConfigCase_); } public Builder clearFormatConfig() { @@ -2186,14 +2483,22 @@ public Builder clearFormatConfig() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> mavenConfigBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + mavenConfigBuilder_; /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ @java.lang.Override @@ -2201,37 +2506,51 @@ public boolean hasMavenConfig() { return formatConfigCase_ == 9; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + getMavenConfig() { if (mavenConfigBuilder_ == null) { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } else { if (formatConfigCase_ == 9) { return mavenConfigBuilder_.getMessage(); } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder setMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2245,15 +2564,20 @@ public Builder setMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repos return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder setMavenConfig( - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder builderForValue) { + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + builderForValue) { if (mavenConfigBuilder_ == null) { formatConfig_ = builderForValue.build(); onChanged(); @@ -2264,19 +2588,32 @@ public Builder setMavenConfig( return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { + public Builder mergeMavenConfig( + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig value) { if (mavenConfigBuilder_ == null) { - if (formatConfigCase_ == 9 && - formatConfig_ != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance()) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.newBuilder((com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_) - .mergeFrom(value).buildPartial(); + if (formatConfigCase_ == 9 + && formatConfig_ + != com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance()) { + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .newBuilder( + (com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfig) + formatConfig_) + .mergeFrom(value) + .buildPartial(); } else { formatConfig_ = value; } @@ -2292,12 +2629,16 @@ public Builder mergeMavenConfig(com.google.devtools.artifactregistry.v1beta2.Rep return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ public Builder clearMavenConfig() { if (mavenConfigBuilder_ == null) { @@ -2316,77 +2657,106 @@ public Builder clearMavenConfig() { return this; } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder getMavenConfigBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder + getMavenConfigBuilder() { return getMavenConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder() { if ((formatConfigCase_ == 9) && (mavenConfigBuilder_ != null)) { return mavenConfigBuilder_.getMessageOrBuilder(); } else { if (formatConfigCase_ == 9) { - return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_; + return (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_; } - return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + return com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } } /** + * + * *
      * Maven repository config contains repository level configuration
      * for the repositories of maven type.
      * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder> getMavenConfigFieldBuilder() { if (mavenConfigBuilder_ == null) { if (!(formatConfigCase_ == 9)) { - formatConfig_ = com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.getDefaultInstance(); + formatConfig_ = + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .getDefaultInstance(); } - mavenConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig.Builder, com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder>( - (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) formatConfig_, + mavenConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig, + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig + .Builder, + com.google.devtools.artifactregistry.v1beta2.Repository + .MavenRepositoryConfigOrBuilder>( + (com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig) + formatConfig_, getParentForChildren(), isClean()); formatConfig_ = null; } formatConfigCase_ = 9; - onChanged();; + onChanged(); + ; return mavenConfigBuilder_; } private java.lang.Object name_ = ""; /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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; @@ -2395,21 +2765,22 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * 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 { @@ -2417,57 +2788,64 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the repository, for example:
      * "projects/p1/locations/us-central1/repositories/repo1".
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2475,51 +2853,67 @@ public Builder setNameBytes( private int format_ = 0; /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ - @java.lang.Override public int getFormatValue() { + @java.lang.Override + public int getFormatValue() { return format_; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The enum numeric value on the wire for format to set. * @return This builder for chaining. */ public Builder setFormatValue(int value) { - + format_ = value; onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.Repository.Format result = com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.Repository.Format result = + com.google.devtools.artifactregistry.v1beta2.Repository.Format.valueOf(format_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.Format.UNRECOGNIZED + : result; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @param value The format to set. * @return This builder for chaining. */ @@ -2527,21 +2921,24 @@ public Builder setFormat(com.google.devtools.artifactregistry.v1beta2.Repository if (value == null) { throw new NullPointerException(); } - + format_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * The format of packages that are stored in the repository.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return This builder for chaining. */ public Builder clearFormat() { - + format_ = 0; onChanged(); return this; @@ -2549,18 +2946,20 @@ public Builder clearFormat() { private java.lang.Object description_ = ""; /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2569,20 +2968,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2590,75 +2990,81 @@ public java.lang.String getDescription() { } } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * The user-provided description of the repository.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.protobuf.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() { - onChanged();; + internalGetMutableLabels() { + onChanged(); + ; 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(); @@ -2670,6 +3076,8 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2680,22 +3088,22 @@ 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();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2707,11 +3115,12 @@ public java.util.Map getLabels() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2723,16 +3132,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-
     public java.lang.String getLabelsOrDefault(
-        java.lang.String key,
-        java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String key, 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;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2744,12 +3154,11 @@ public 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();
       }
@@ -2757,11 +3166,12 @@ public java.lang.String getLabelsOrThrow(
     }
 
     public Builder clearLabels() {
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2772,23 +3182,21 @@ public Builder clearLabels() {
      *
      * 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() {
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2799,19 +3207,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    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");
-}
+        throw new NullPointerException("map value");
+      }
 
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+      internalGetMutableLabels().getMutableMap().put(key, value);
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels with user-defined metadata.
      * This field may contain up to 64 entries. Label keys and values may be no
@@ -2822,44 +3231,54 @@ public Builder putLabels(
      *
      * 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);
       return this;
     }
 
     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_;
     /**
+     *
+     *
      * 
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2880,14 +3299,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -2898,6 +3318,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2908,7 +3330,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -2920,6 +3342,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2938,6 +3362,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2945,11 +3371,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2960,11 +3388,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_; } } /** + * + * *
      * The time when the repository was created.
      * 
@@ -2972,14 +3403,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -2987,34 +3421,47 @@ 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_; /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3035,14 +3482,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3053,6 +3501,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3063,7 +3513,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3075,6 +3525,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3093,6 +3545,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3100,11 +3554,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3115,11 +3571,14 @@ 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_; } } /** + * + * *
      * The time when the repository was last updated.
      * 
@@ -3127,14 +3586,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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_; @@ -3142,6 +3604,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { private java.lang.Object kmsKeyName_ = ""; /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3150,13 +3614,13 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ public java.lang.String getKmsKeyName() { java.lang.Object ref = kmsKeyName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kmsKeyName_ = s; return s; @@ -3165,6 +3629,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3173,15 +3639,14 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - public com.google.protobuf.ByteString - getKmsKeyNameBytes() { + public com.google.protobuf.ByteString getKmsKeyNameBytes() { java.lang.Object ref = kmsKeyName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kmsKeyName_ = b; return b; } else { @@ -3189,6 +3654,8 @@ public java.lang.String getKmsKeyName() { } } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3197,20 +3664,22 @@ public java.lang.String getKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyName( - java.lang.String value) { + public Builder setKmsKeyName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + kmsKeyName_ = value; onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3219,15 +3688,18 @@ public Builder setKmsKeyName(
      * 
* * string kms_key_name = 8; + * * @return This builder for chaining. */ public Builder clearKmsKeyName() { - + kmsKeyName_ = getDefaultInstance().getKmsKeyName(); onChanged(); return this; } /** + * + * *
      * The Cloud KMS resource name of the customer managed encryption key that’s
      * used to encrypt the contents of the Repository. Has the form:
@@ -3236,23 +3708,23 @@ public Builder clearKmsKeyName() {
      * 
* * string kms_key_name = 8; + * * @param value The bytes for kmsKeyName to set. * @return This builder for chaining. */ - public Builder setKmsKeyNameBytes( - com.google.protobuf.ByteString value) { + public Builder setKmsKeyNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + kmsKeyName_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3262,12 +3734,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Repository) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Repository) private static final com.google.devtools.artifactregistry.v1beta2.Repository DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Repository(); } @@ -3276,16 +3748,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Repository getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Repository parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Repository(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Repository parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Repository(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3300,6 +3772,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Repository getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryName.java diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java similarity index 77% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java index 1aabc981..56edcd7a 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryOrBuilder.java @@ -1,104 +1,153 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; -public interface RepositoryOrBuilder extends +public interface RepositoryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Repository) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return Whether the mavenConfig field is set. */ boolean hasMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * * @return The mavenConfig. */ com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig getMavenConfig(); /** + * + * *
    * Maven repository config contains repository level configuration
    * for the repositories of maven type.
    * 
* - * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * + * .google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfig maven_config = 9; + * */ - com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder getMavenConfigOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.Repository.MavenRepositoryConfigOrBuilder + getMavenConfigOrBuilder(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the repository, for example:
    * "projects/p1/locations/us-central1/repositories/repo1".
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The enum numeric value on the wire for format. */ int getFormatValue(); /** + * + * *
    * The format of packages that are stored in the repository.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository.Format format = 2; + * * @return The format. */ com.google.devtools.artifactregistry.v1beta2.Repository.Format getFormat(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * The user-provided description of the repository.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -111,6 +160,8 @@ public interface RepositoryOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -121,15 +172,13 @@ public interface RepositoryOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -140,9 +189,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -155,11 +205,13 @@ boolean containsLabels(
    */
 
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels with user-defined metadata.
    * This field may contain up to 64 entries. Label keys and values may be no
@@ -170,29 +222,35 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the repository was created.
    * 
@@ -202,24 +260,32 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the repository was last updated.
    * 
@@ -229,6 +295,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -237,10 +305,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The kmsKeyName. */ java.lang.String getKmsKeyName(); /** + * + * *
    * The Cloud KMS resource name of the customer managed encryption key that’s
    * used to encrypt the contents of the Repository. Has the form:
@@ -249,10 +320,11 @@ java.lang.String getLabelsOrThrow(
    * 
* * string kms_key_name = 8; + * * @return The bytes for kmsKeyName. */ - com.google.protobuf.ByteString - getKmsKeyNameBytes(); + com.google.protobuf.ByteString getKmsKeyNameBytes(); - public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase getFormatConfigCase(); + public com.google.devtools.artifactregistry.v1beta2.Repository.FormatConfigCase + getFormatConfigCase(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java new file mode 100644 index 00000000..0f89810e --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/RepositoryProto.java @@ -0,0 +1,243 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/repository.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class RepositoryProto { + private RepositoryProto() {} + + 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_devtools_artifactregistry_v1beta2_Repository_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/devtools/artifactregistry/v1bet" + + "a2/repository.proto\022(google.devtools.art" + + "ifactregistry.v1beta2\032\034google/api/annota" + + "tions.proto\032\037google/api/field_behavior.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\032\037google/protob" + + "uf/timestamp.proto\"\271\007\n\nRepository\022b\n\014mav" + + "en_config\030\t \001(\0132J.google.devtools.artifa" + + "ctregistry.v1beta2.Repository.MavenRepos" + + "itoryConfigH\000\022\014\n\004name\030\001 \001(\t\022K\n\006format\030\002 " + + "\001(\0162;.google.devtools.artifactregistry.v" + + "1beta2.Repository.Format\022\023\n\013description\030" + + "\003 \001(\t\022P\n\006labels\030\004 \003(\0132@.google.devtools." + + "artifactregistry.v1beta2.Repository.Labe" + + "lsEntry\022/\n\013create_time\030\005 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022/\n\013update_time\030\006 \001(\0132\032." + + "google.protobuf.Timestamp\022\024\n\014kms_key_nam" + + "e\030\010 \001(\t\032\370\001\n\025MavenRepositoryConfig\022!\n\031all" + + "ow_snapshot_overwrites\030\001 \001(\010\022p\n\016version_" + + "policy\030\002 \001(\0162X.google.devtools.artifactr" + + "egistry.v1beta2.Repository.MavenReposito" + + "ryConfig.VersionPolicy\"J\n\rVersionPolicy\022" + + "\036\n\032VERSION_POLICY_UNSPECIFIED\020\000\022\013\n\007RELEA" + + "SE\020\001\022\014\n\010SNAPSHOT\020\002\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"^\n\006Format\022\026\n\022F" + + "ORMAT_UNSPECIFIED\020\000\022\n\n\006DOCKER\020\001\022\t\n\005MAVEN" + + "\020\002\022\007\n\003NPM\020\003\022\007\n\003APT\020\005\022\007\n\003YUM\020\006\022\n\n\006PYTHON\020" + + "\010:r\352Ao\n*artifactregistry.googleapis.com/" + + "Repository\022Aprojects/{project}/locations" + + "/{location}/repositories/{repository}B\017\n" + + "\rformat_config\"\204\001\n\027ListRepositoriesReque" + + "st\022B\n\006parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregi" + + "stry.googleapis.com/Repository\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\030ListRep" + + "ositoriesResponse\022J\n\014repositories\030\001 \003(\0132" + + "4.google.devtools.artifactregistry.v1bet" + + "a2.Repository\022\027\n\017next_page_token\030\002 \001(\t\"X" + + "\n\024GetRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A" + + "\002\372A,\n*artifactregistry.googleapis.com/Re" + + "pository\"\276\001\n\027CreateRepositoryRequest\022B\n\006" + + "parent\030\001 \001(\tB2\340A\002\372A,\022*artifactregistry.g" + + "oogleapis.com/Repository\022\025\n\rrepository_i" + + "d\030\002 \001(\t\022H\n\nrepository\030\003 \001(\01324.google.dev" + + "tools.artifactregistry.v1beta2.Repositor" + + "y\"\224\001\n\027UpdateRepositoryRequest\022H\n\nreposit" + + "ory\030\001 \001(\01324.google.devtools.artifactregi" + + "stry.v1beta2.Repository\022/\n\013update_mask\030\002" + + " \001(\0132\032.google.protobuf.FieldMask\"[\n\027Dele" + + "teRepositoryRequest\022@\n\004name\030\001 \001(\tB2\340A\002\372A" + + ",\n*artifactregistry.googleapis.com/Repos" + + "itoryB\226\002\n,com.google.devtools.artifactre" + + "gistry.v1beta2B\017RepositoryProtoP\001ZXgoogl" + + "e.golang.org/genproto/googleapis/devtool" + + "s/artifactregistry/v1beta2;artifactregis" + + "try\252\002%Google.Cloud.ArtifactRegistry.V1Be" + + "ta2\312\002%Google\\Cloud\\ArtifactRegistry\\V1be" + + "ta2\352\002(Google::Cloud::ArtifactRegistry::V" + + "1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor, + new java.lang.String[] { + "MavenConfig", + "Name", + "Format", + "Description", + "Labels", + "CreateTime", + "UpdateTime", + "KmsKeyName", + "FormatConfig", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_MavenRepositoryConfig_descriptor, + new java.lang.String[] { + "AllowSnapshotOverwrites", "VersionPolicy", + }); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor = + internal_static_google_devtools_artifactregistry_v1beta2_Repository_descriptor + .getNestedTypes() + .get(1); + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Repository_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListRepositoriesResponse_descriptor, + new java.lang.String[] { + "Repositories", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateRepositoryRequest_descriptor, + new java.lang.String[] { + "Parent", "RepositoryId", "Repository", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor, + new java.lang.String[] { + "Repository", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteRepositoryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java new file mode 100644 index 00000000..d1061ad9 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/ServiceProto.java @@ -0,0 +1,275 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/service.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class ServiceProto { + private ServiceProto() {} + + 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_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n6google/devtools/artifactregistry/v1bet" + + "a2/service.proto\022(google.devtools.artifa" + + "ctregistry.v1beta2\032\034google/api/annotatio" + + "ns.proto\032\027google/api/client.proto\032;googl" + + "e/devtools/artifactregistry/v1beta2/apt_" + + "artifact.proto\0323google/devtools/artifact" + + "registry/v1beta2/file.proto\0326google/devt" + + "ools/artifactregistry/v1beta2/package.pr" + + "oto\0329google/devtools/artifactregistry/v1" + + "beta2/repository.proto\0327google/devtools/" + + "artifactregistry/v1beta2/settings.proto\032" + + "2google/devtools/artifactregistry/v1beta" + + "2/tag.proto\0326google/devtools/artifactreg" + + "istry/v1beta2/version.proto\032;google/devt" + + "ools/artifactregistry/v1beta2/yum_artifa" + + "ct.proto\032\036google/iam/v1/iam_policy.proto" + + "\032\032google/iam/v1/policy.proto\032#google/lon" + + "grunning/operations.proto\032\033google/protob" + + "uf/empty.proto\"\023\n\021OperationMetadata2\346/\n\020" + + "ArtifactRegistry\022\337\002\n\022ImportAptArtifacts\022" + + "C.google.devtools.artifactregistry.v1bet" + + "a2.ImportAptArtifactsRequest\032\035.google.lo" + + "ngrunning.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{" + + "parent=projects/*/locations/*/repositori" + + "es/*}/aptArtifacts:import:\001*\312A\212\001\nCgoogle" + + ".devtools.artifactregistry.v1beta2.Impor" + + "tAptArtifactsResponse\022Cgoogle.devtools.a" + + "rtifactregistry.v1beta2.ImportAptArtifac" + + "tsMetadata\022\337\002\n\022ImportYumArtifacts\022C.goog" + + "le.devtools.artifactregistry.v1beta2.Imp" + + "ortYumArtifactsRequest\032\035.google.longrunn" + + "ing.Operation\"\344\001\202\323\344\223\002P\"K/v1beta2/{parent" + + "=projects/*/locations/*/repositories/*}/" + + "yumArtifacts:import:\001*\312A\212\001\nCgoogle.devto" + + "ols.artifactregistry.v1beta2.ImportYumAr" + + "tifactsResponse\022Cgoogle.devtools.artifac" + + "tregistry.v1beta2.ImportYumArtifactsMeta" + + "data\022\341\001\n\020ListRepositories\022A.google.devto" + + "ols.artifactregistry.v1beta2.ListReposit" + + "oriesRequest\032B.google.devtools.artifactr" + + "egistry.v1beta2.ListRepositoriesResponse" + + "\"F\202\323\344\223\0027\0225/v1beta2/{parent=projects/*/lo" + + "cations/*}/repositories\332A\006parent\022\313\001\n\rGet" + + "Repository\022>.google.devtools.artifactreg" + + "istry.v1beta2.GetRepositoryRequest\0324.goo" + + "gle.devtools.artifactregistry.v1beta2.Re" + + "pository\"D\202\323\344\223\0027\0225/v1beta2/{name=project" + + "s/*/locations/*/repositories/*}\332A\004name\022\326" + + "\002\n\020CreateRepository\022A.google.devtools.ar" + + "tifactregistry.v1beta2.CreateRepositoryR" + + "equest\032\035.google.longrunning.Operation\"\337\001" + + "\202\323\344\223\002C\"5/v1beta2/{parent=projects/*/loca" + + "tions/*}/repositories:\nrepository\332A\037pare" + + "nt,repository,repository_id\312Aq\n3google.d" + + "evtools.artifactregistry.v1beta2.Reposit" + + "ory\022:google.devtools.artifactregistry.v1" + + "beta2.OperationMetadata\022\372\001\n\020UpdateReposi" + + "tory\022A.google.devtools.artifactregistry." + + "v1beta2.UpdateRepositoryRequest\0324.google" + + ".devtools.artifactregistry.v1beta2.Repos" + + "itory\"m\202\323\344\223\002N2@/v1beta2/{repository.name" + + "=projects/*/locations/*/repositories/*}:" + + "\nrepository\332A\026repository,update_mask\022\221\002\n" + + "\020DeleteRepository\022A.google.devtools.arti" + + "factregistry.v1beta2.DeleteRepositoryReq" + + "uest\032\035.google.longrunning.Operation\"\232\001\202\323" + + "\344\223\0027*5/v1beta2/{name=projects/*/location" + + "s/*/repositories/*}\332A\004name\312AS\n\025google.pr" + + "otobuf.Empty\022:google.devtools.artifactre" + + "gistry.v1beta2.OperationMetadata\022\340\001\n\014Lis" + + "tPackages\022=.google.devtools.artifactregi" + + "stry.v1beta2.ListPackagesRequest\032>.googl" + + "e.devtools.artifactregistry.v1beta2.List" + + "PackagesResponse\"Q\202\323\344\223\002B\022@/v1beta2/{pare" + + "nt=projects/*/locations/*/repositories/*" + + "}/packages\332A\006parent\022\315\001\n\nGetPackage\022;.goo" + + "gle.devtools.artifactregistry.v1beta2.Ge" + + "tPackageRequest\0321.google.devtools.artifa" + + "ctregistry.v1beta2.Package\"O\202\323\344\223\002B\022@/v1b" + + "eta2/{name=projects/*/locations/*/reposi" + + "tories/*/packages/*}\332A\004name\022\226\002\n\rDeletePa" + + "ckage\022>.google.devtools.artifactregistry" + + ".v1beta2.DeletePackageRequest\032\035.google.l" + + "ongrunning.Operation\"\245\001\202\323\344\223\002B*@/v1beta2/" + + "{name=projects/*/locations/*/repositorie" + + "s/*/packages/*}\332A\004name\312AS\n\025google.protob" + + "uf.Empty\022:google.devtools.artifactregist" + + "ry.v1beta2.OperationMetadata\022\353\001\n\014ListVer" + + "sions\022=.google.devtools.artifactregistry" + + ".v1beta2.ListVersionsRequest\032>.google.de" + + "vtools.artifactregistry.v1beta2.ListVers" + + "ionsResponse\"\\\202\323\344\223\002M\022K/v1beta2/{parent=p" + + "rojects/*/locations/*/repositories/*/pac" + + "kages/*}/versions\332A\006parent\022\330\001\n\nGetVersio" + + "n\022;.google.devtools.artifactregistry.v1b" + + "eta2.GetVersionRequest\0321.google.devtools" + + ".artifactregistry.v1beta2.Version\"Z\202\323\344\223\002" + + "M\022K/v1beta2/{name=projects/*/locations/*" + + "/repositories/*/packages/*/versions/*}\332A" + + "\004name\022\241\002\n\rDeleteVersion\022>.google.devtool" + + "s.artifactregistry.v1beta2.DeleteVersion" + + "Request\032\035.google.longrunning.Operation\"\260" + + "\001\202\323\344\223\002M*K/v1beta2/{name=projects/*/locat" + + "ions/*/repositories/*/packages/*/version" + + "s/*}\332A\004name\312AS\n\025google.protobuf.Empty\022:g" + + "oogle.devtools.artifactregistry.v1beta2." + + "OperationMetadata\022\324\001\n\tListFiles\022:.google" + + ".devtools.artifactregistry.v1beta2.ListF" + + "ilesRequest\032;.google.devtools.artifactre" + + "gistry.v1beta2.ListFilesResponse\"N\202\323\344\223\002?" + + "\022=/v1beta2/{parent=projects/*/locations/" + + "*/repositories/*}/files\332A\006parent\022\302\001\n\007Get" + + "File\0228.google.devtools.artifactregistry." + + "v1beta2.GetFileRequest\032..google.devtools" + + ".artifactregistry.v1beta2.File\"M\202\323\344\223\002@\022>" + + "/v1beta2/{name=projects/*/locations/*/re" + + "positories/*/files/**}\332A\004name\022\333\001\n\010ListTa" + + "gs\0229.google.devtools.artifactregistry.v1" + + "beta2.ListTagsRequest\032:.google.devtools." + + "artifactregistry.v1beta2.ListTagsRespons" + + "e\"X\202\323\344\223\002I\022G/v1beta2/{parent=projects/*/l" + + "ocations/*/repositories/*/packages/*}/ta" + + "gs\332A\006parent\022\310\001\n\006GetTag\0227.google.devtools" + + ".artifactregistry.v1beta2.GetTagRequest\032" + + "-.google.devtools.artifactregistry.v1bet" + + "a2.Tag\"V\202\323\344\223\002I\022G/v1beta2/{name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}\332A\004name\022\340\001\n\tCreateTag\022:.google.de" + + "vtools.artifactregistry.v1beta2.CreateTa" + + "gRequest\032-.google.devtools.artifactregis" + + "try.v1beta2.Tag\"h\202\323\344\223\002N\"G/v1beta2/{paren" + + "t=projects/*/locations/*/repositories/*/" + + "packages/*}/tags:\003tag\332A\021parent,tag,tag_i" + + "d\022\342\001\n\tUpdateTag\022:.google.devtools.artifa" + + "ctregistry.v1beta2.UpdateTagRequest\032-.go" + + "ogle.devtools.artifactregistry.v1beta2.T" + + "ag\"j\202\323\344\223\002R2K/v1beta2/{tag.name=projects/" + + "*/locations/*/repositories/*/packages/*/" + + "tags/*}:\003tag\332A\017tag,update_mask\022\267\001\n\tDelet" + + "eTag\022:.google.devtools.artifactregistry." + + "v1beta2.DeleteTagRequest\032\026.google.protob" + + "uf.Empty\"V\202\323\344\223\002I*G/v1beta2/{name=project" + + "s/*/locations/*/repositories/*/packages/" + + "*/tags/*}\332A\004name\022\234\001\n\014SetIamPolicy\022\".goog" + + "le.iam.v1.SetIamPolicyRequest\032\025.google.i" + + "am.v1.Policy\"Q\202\323\344\223\002K\"F/v1beta2/{resource" + + "=projects/*/locations/*/repositories/*}:" + + "setIamPolicy:\001*\022\231\001\n\014GetIamPolicy\022\".googl" + + "e.iam.v1.GetIamPolicyRequest\032\025.google.ia" + + "m.v1.Policy\"N\202\323\344\223\002H\022F/v1beta2/{resource=" + + "projects/*/locations/*/repositories/*}:g" + + "etIamPolicy\022\302\001\n\022TestIamPermissions\022(.goo" + + "gle.iam.v1.TestIamPermissionsRequest\032).g" + + "oogle.iam.v1.TestIamPermissionsResponse\"" + + "W\202\323\344\223\002Q\"L/v1beta2/{resource=projects/*/l" + + "ocations/*/repositories/*}:testIamPermis" + + "sions:\001*\022\317\001\n\022GetProjectSettings\022C.google" + + ".devtools.artifactregistry.v1beta2.GetPr" + + "ojectSettingsRequest\0329.google.devtools.a" + + "rtifactregistry.v1beta2.ProjectSettings\"" + + "9\202\323\344\223\002,\022*/v1beta2/{name=projects/*/proje" + + "ctSettings}\332A\004name\022\220\002\n\025UpdateProjectSett" + + "ings\022F.google.devtools.artifactregistry." + + "v1beta2.UpdateProjectSettingsRequest\0329.g" + + "oogle.devtools.artifactregistry.v1beta2." + + "ProjectSettings\"t\202\323\344\223\002O2;/v1beta2/{proje" + + "ct_settings.name=projects/*/projectSetti" + + "ngs}:\020project_settings\332A\034project_setting" + + "s,update_mask\032\214\001\312A\037artifactregistry.goog" + + "leapis.com\322Aghttps://www.googleapis.com/" + + "auth/cloud-platform,https://www.googleap" + + "is.com/auth/cloud-platform.read-onlyB\223\002\n" + + ",com.google.devtools.artifactregistry.v1" + + "beta2B\014ServiceProtoP\001ZXgoogle.golang.org" + + "/genproto/googleapis/devtools/artifactre" + + "gistry/v1beta2;artifactregistry\252\002%Google" + + ".Cloud.ArtifactRegistry.V1Beta2\312\002%Google" + + "\\Cloud\\ArtifactRegistry\\V1beta2\352\002(Google" + + "::Cloud::ArtifactRegistry::V1beta2b\006prot" + + "o3" + }; + 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.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(), + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(), + com.google.iam.v1.IamPolicyProto.getDescriptor(), + com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_OperationMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ClientProto.defaultHost); + 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.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.AptArtifactProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.FileProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.PackageProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.RepositoryProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.SettingsProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor(); + com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.getDescriptor(); + com.google.iam.v1.IamPolicyProto.getDescriptor(); + com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java new file mode 100644 index 00000000..45e2471c --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/SettingsProto.java @@ -0,0 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/settings.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class SettingsProto { + private SettingsProto() {} + + 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_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n7google/devtools/artifactregistry/v1bet" + + "a2/settings.proto\022(google.devtools.artif" + + "actregistry.v1beta2\032\034google/api/annotati" + + "ons.proto\032\037google/api/field_behavior.pro" + + "to\032\031google/api/resource.proto\032 google/pr" + + "otobuf/field_mask.proto\"\221\003\n\017ProjectSetti" + + "ngs\022\014\n\004name\030\001 \001(\t\022l\n\030legacy_redirection_" + + "state\030\002 \001(\0162J.google.devtools.artifactre" + + "gistry.v1beta2.ProjectSettings.Redirecti" + + "onState\"\247\001\n\020RedirectionState\022!\n\035REDIRECT" + + "ION_STATE_UNSPECIFIED\020\000\022$\n REDIRECTION_F" + + "ROM_GCR_IO_DISABLED\020\001\022#\n\037REDIRECTION_FRO" + + "M_GCR_IO_ENABLED\020\002\022%\n!REDIRECTION_FROM_G" + + "CR_IO_FINALIZED\020\003:X\352AU\n/artifactregistry" + + ".googleapis.com/ProjectSettings\022\"project" + + "s/{project}/projectSettings\"b\n\031GetProjec" + + "tSettingsRequest\022E\n\004name\030\001 \001(\tB7\340A\002\372A1\n/" + + "artifactregistry.googleapis.com/ProjectS" + + "ettings\"\244\001\n\034UpdateProjectSettingsRequest" + + "\022S\n\020project_settings\030\002 \001(\01329.google.devt" + + "ools.artifactregistry.v1beta2.ProjectSet" + + "tings\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\224\002\n,com.google.devtools.a" + + "rtifactregistry.v1beta2B\rSettingsProtoP\001" + + "ZXgoogle.golang.org/genproto/googleapis/" + + "devtools/artifactregistry/v1beta2;artifa" + + "ctregistry\252\002%Google.Cloud.ArtifactRegist" + + "ry.V1Beta2\312\002%Google\\Cloud\\ArtifactRegist" + + "ry\\V1beta2\352\002(Google::Cloud::ArtifactRegi" + + "stry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ProjectSettings_descriptor, + new java.lang.String[] { + "Name", "LegacyRedirectionState", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetProjectSettingsRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor, + new java.lang.String[] { + "ProjectSettings", "UpdateMask", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java similarity index 74% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java index ec604378..468c4c93 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Tag.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Tags point to a version and represent an alternative name that can be used
  * to access the version.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
  */
-public final class Tag extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Tag extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Tag)
     TagOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Tag.newBuilder() to construct.
   private Tag(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Tag() {
     name_ = "";
     version_ = "";
@@ -27,16 +45,15 @@ private Tag() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Tag();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Tag(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,25 +72,27 @@ private Tag(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            version_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              version_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -81,29 +100,33 @@ private Tag(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.TagProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Tag.class,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -113,6 +136,7 @@ private Tag(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -121,14 +145,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; } } /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -138,16 +163,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 { @@ -158,6 +182,8 @@ public java.lang.String getName() { public static final int VERSION_FIELD_NUMBER = 2; private volatile java.lang.Object version_; /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -166,6 +192,7 @@ public java.lang.String getName() {
    * 
* * string version = 2; + * * @return The version. */ @java.lang.Override @@ -174,14 +201,15 @@ 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; } } /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -190,16 +218,15 @@ public java.lang.String getVersion() {
    * 
* * string version = 2; + * * @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 { @@ -208,6 +235,7 @@ public java.lang.String getVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -219,8 +247,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_); } @@ -250,17 +277,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.devtools.artifactregistry.v1beta2.Tag)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.Tag other = (com.google.devtools.artifactregistry.v1beta2.Tag) obj; + com.google.devtools.artifactregistry.v1beta2.Tag other = + (com.google.devtools.artifactregistry.v1beta2.Tag) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getVersion() - .equals(other.getVersion())) return false; + if (!getName().equals(other.getName())) return false; + if (!getVersion().equals(other.getVersion())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -281,97 +307,104 @@ public int hashCode() { return hash; } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data) + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.Tag parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag 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.devtools.artifactregistry.v1beta2.Tag parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.Tag parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Tag prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Tags point to a version and represent an alternative name that can be used
    * to access the version.
@@ -379,21 +412,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Tag}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Tag)
       com.google.devtools.artifactregistry.v1beta2.TagOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Tag.class, com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Tag.class,
+              com.google.devtools.artifactregistry.v1beta2.Tag.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder()
@@ -401,16 +436,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,9 +456,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.TagProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor;
     }
 
     @java.lang.Override
@@ -443,7 +477,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Tag result = new com.google.devtools.artifactregistry.v1beta2.Tag(this);
+      com.google.devtools.artifactregistry.v1beta2.Tag result =
+          new com.google.devtools.artifactregistry.v1beta2.Tag(this);
       result.name_ = name_;
       result.version_ = version_;
       onBuilt();
@@ -454,38 +489,39 @@ public com.google.devtools.artifactregistry.v1beta2.Tag buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Tag) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Tag) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -493,7 +529,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Tag other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -533,6 +570,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -542,13 +581,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -557,6 +596,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -566,15 +607,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 { @@ -582,6 +622,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -591,20 +633,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -614,15 +658,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the tag, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -632,16 +679,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -649,6 +696,8 @@ public Builder setNameBytes( private java.lang.Object version_ = ""; /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -657,13 +706,13 @@ public Builder setNameBytes(
      * 
* * string version = 2; + * * @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; @@ -672,6 +721,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -680,15 +731,14 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @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 { @@ -696,6 +746,8 @@ public java.lang.String getVersion() { } } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -704,20 +756,22 @@ public java.lang.String getVersion() {
      * 
* * string version = 2; + * * @param value The version to set. * @return This builder for chaining. */ - public Builder setVersion( - java.lang.String value) { + public Builder setVersion(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + version_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -726,15 +780,18 @@ public Builder setVersion(
      * 
* * string version = 2; + * * @return This builder for chaining. */ public Builder clearVersion() { - + version_ = getDefaultInstance().getVersion(); onChanged(); return this; } /** + * + * *
      * The name of the version the tag refers to, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -743,23 +800,23 @@ public Builder clearVersion() {
      * 
* * string version = 2; + * * @param value The bytes for version to set. * @return This builder for chaining. */ - public Builder setVersionBytes( - com.google.protobuf.ByteString value) { + public Builder setVersionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + version_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -769,12 +826,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Tag) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Tag) private static final com.google.devtools.artifactregistry.v1beta2.Tag DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Tag(); } @@ -783,16 +840,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanc return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Tag parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Tag(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Tag parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Tag(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -807,6 +864,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Tag getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java similarity index 70% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java index 3c1dbead..16f0d517 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/tag.proto package com.google.devtools.artifactregistry.v1beta2; -public interface TagOrBuilder extends +public interface TagOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Tag) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -17,10 +35,13 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the tag, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
@@ -30,12 +51,14 @@ public interface TagOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -44,10 +67,13 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The version. */ java.lang.String getVersion(); /** + * + * *
    * The name of the version the tag refers to, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
@@ -56,8 +82,8 @@ public interface TagOrBuilder extends
    * 
* * string version = 2; + * * @return The bytes for version. */ - com.google.protobuf.ByteString - getVersionBytes(); + com.google.protobuf.ByteString getVersionBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java new file mode 100644 index 00000000..117abb8f --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/TagProto.java @@ -0,0 +1,172 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/tag.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class TagProto { + private TagProto() {} + + 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_devtools_artifactregistry_v1beta2_Tag_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n2google/devtools/artifactregistry/v1bet" + + "a2/tag.proto\022(google.devtools.artifactre" + + "gistry.v1beta2\032\034google/api/annotations.p" + + "roto\032\031google/api/resource.proto\032 google/" + + "protobuf/field_mask.proto\"\261\001\n\003Tag\022\014\n\004nam" + + "e\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:\212\001\352A\206\001\n#artifac" + + "tregistry.googleapis.com/Tag\022_projects/{" + + "project}/locations/{location}/repositori" + + "es/{repository}/packages/{package}/tags/" + + "{tag}\"X\n\017ListTagsRequest\022\016\n\006parent\030\001 \001(\t" + + "\022\016\n\006filter\030\004 \001(\t\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" + + "age_token\030\003 \001(\t\"h\n\020ListTagsResponse\022;\n\004t" + + "ags\030\001 \003(\0132-.google.devtools.artifactregi" + + "stry.v1beta2.Tag\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\035\n\rGetTagRequest\022\014\n\004name\030\001 \001(\t\"n\n\020Crea" + + "teTagRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006tag_id\030\002" + + " \001(\t\022:\n\003tag\030\003 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\"\177\n\020UpdateTagReq" + + "uest\022:\n\003tag\030\001 \001(\0132-.google.devtools.arti" + + "factregistry.v1beta2.Tag\022/\n\013update_mask\030" + + "\002 \001(\0132\032.google.protobuf.FieldMask\" \n\020Del" + + "eteTagRequest\022\014\n\004name\030\001 \001(\tB\217\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\010Ta" + + "gProtoP\001ZXgoogle.golang.org/genproto/goo" + + "gleapis/devtools/artifactregistry/v1beta" + + "2;artifactregistry\252\002%Google.Cloud.Artifa" + + "ctRegistry.V1Beta2\312\002%Google\\Cloud\\Artifa" + + "ctRegistry\\V1beta2\352\002(Google::Cloud::Arti" + + "factRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_Tag_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_Tag_descriptor, + new java.lang.String[] { + "Name", "Version", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsRequest_descriptor, + new java.lang.String[] { + "Parent", "Filter", "PageSize", "PageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ListTagsResponse_descriptor, + new java.lang.String[] { + "Tags", "NextPageToken", + }); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_GetTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_CreateTagRequest_descriptor, + new java.lang.String[] { + "Parent", "TagId", "Tag", + }); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor, + new java.lang.String[] { + "Tag", "UpdateMask", + }); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_DeleteTagRequest_descriptor, + new java.lang.String[] { + "Name", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java similarity index 65% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java index d90d410d..bce2f426 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * Sets the settings of the project.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ -public final class UpdateProjectSettingsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateProjectSettingsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) UpdateProjectSettingsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateProjectSettingsRequest.newBuilder() to construct. private UpdateProjectSettingsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateProjectSettingsRequest() { - } + + private UpdateProjectSettingsRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateProjectSettingsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateProjectSettingsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,46 @@ private UpdateProjectSettingsRequest( case 0: done = true; break; - case 18: { - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = null; - if (projectSettings_ != null) { - subBuilder = projectSettings_.toBuilder(); - } - projectSettings_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(projectSettings_); - projectSettings_ = subBuilder.buildPartial(); - } + case 18: + { + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder subBuilder = + null; + if (projectSettings_ != null) { + subBuilder = projectSettings_.toBuilder(); + } + projectSettings_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(projectSettings_); + projectSettings_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +115,40 @@ private UpdateProjectSettingsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } public static final int PROJECT_SETTINGS_FIELD_NUMBER = 2; private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ @java.lang.Override @@ -127,18 +156,25 @@ public boolean hasProjectSettings() { return projectSettings_ != null; } /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } /** + * + * *
    * The project settings.
    * 
@@ -146,18 +182,22 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSe * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { return getProjectSettings(); } public static final int UPDATE_MASK_FIELD_NUMBER = 3; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -165,11 +205,14 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ @java.lang.Override @@ -177,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Field mask to support partial updates.
    * 
@@ -189,6 +234,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +246,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 (projectSettings_ != null) { output.writeMessage(2, getProjectSettings()); } @@ -218,12 +263,10 @@ public int getSerializedSize() { size = 0; if (projectSettings_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProjectSettings()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProjectSettings()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateMask()); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -233,22 +276,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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { + if (!(obj + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) obj; if (hasProjectSettings() != other.hasProjectSettings()) return false; if (hasProjectSettings()) { - if (!getProjectSettings() - .equals(other.getProjectSettings())) return false; + if (!getProjectSettings().equals(other.getProjectSettings())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -275,134 +318,146 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest 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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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; } /** + * + * *
    * Sets the settings of the project.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.Builder + .class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -422,19 +477,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.SettingsProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.SettingsProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateProjectSettingsRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest build() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = buildPartial(); + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -442,8 +500,10 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + buildPartial() { + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(this); if (projectSettingsBuilder_ == null) { result.projectSettings_ = projectSettings_; } else { @@ -462,46 +522,52 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest)other); + if (other + instanceof com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) { + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + .getDefaultInstance()) return this; if (other.hasProjectSettings()) { mergeProjectSettings(other.getProjectSettings()); } @@ -523,11 +589,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = null; + com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -539,41 +608,55 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.ProjectSettings projectSettings_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> projectSettingsBuilder_; + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + projectSettingsBuilder_; /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ public boolean hasProjectSettings() { return projectSettingsBuilder_ != null || projectSettings_ != null; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ public com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings() { if (projectSettingsBuilder_ == null) { - return projectSettings_ == null ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } else { return projectSettingsBuilder_.getMessage(); } } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder setProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -587,6 +670,8 @@ public Builder setProjectSettings(com.google.devtools.artifactregistry.v1beta2.P return this; } /** + * + * *
      * The project settings.
      * 
@@ -605,17 +690,23 @@ public Builder setProjectSettings( return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { + public Builder mergeProjectSettings( + com.google.devtools.artifactregistry.v1beta2.ProjectSettings value) { if (projectSettingsBuilder_ == null) { if (projectSettings_ != null) { projectSettings_ = - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder(projectSettings_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.newBuilder( + projectSettings_) + .mergeFrom(value) + .buildPartial(); } else { projectSettings_ = value; } @@ -627,6 +718,8 @@ public Builder mergeProjectSettings(com.google.devtools.artifactregistry.v1beta2 return this; } /** + * + * *
      * The project settings.
      * 
@@ -645,33 +738,42 @@ public Builder clearProjectSettings() { return this; } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder getProjectSettingsBuilder() { - + public com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder + getProjectSettingsBuilder() { + onChanged(); return getProjectSettingsFieldBuilder().getBuilder(); } /** + * + * *
      * The project settings.
      * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder() { if (projectSettingsBuilder_ != null) { return projectSettingsBuilder_.getMessageOrBuilder(); } else { - return projectSettings_ == null ? - com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() : projectSettings_; + return projectSettings_ == null + ? com.google.devtools.artifactregistry.v1beta2.ProjectSettings.getDefaultInstance() + : projectSettings_; } } /** + * + * *
      * The project settings.
      * 
@@ -679,14 +781,17 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder> getProjectSettingsFieldBuilder() { if (projectSettingsBuilder_ == null) { - projectSettingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.ProjectSettings, com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( - getProjectSettings(), - getParentForChildren(), - isClean()); + projectSettingsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.ProjectSettings, + com.google.devtools.artifactregistry.v1beta2.ProjectSettings.Builder, + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder>( + getProjectSettings(), getParentForChildren(), isClean()); projectSettings_ = null; } return projectSettingsBuilder_; @@ -694,34 +799,47 @@ public com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder get 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_; /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @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(); } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -742,14 +860,15 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
* * .google.protobuf.FieldMask update_mask = 3; */ - public Builder setUpdateMask( - com.google.protobuf.FieldMask.Builder builderForValue) { + public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) { if (updateMaskBuilder_ == null) { updateMask_ = builderForValue.build(); onChanged(); @@ -760,6 +879,8 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -770,7 +891,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { if (updateMaskBuilder_ == null) { if (updateMask_ != null) { updateMask_ = - com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); + com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial(); } else { updateMask_ = value; } @@ -782,6 +903,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -800,6 +923,8 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -807,11 +932,13 @@ public Builder clearUpdateMask() { * .google.protobuf.FieldMask update_mask = 3; */ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { - + onChanged(); return getUpdateMaskFieldBuilder().getBuilder(); } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -822,11 +949,14 @@ 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_; } } /** + * + * *
      * Field mask to support partial updates.
      * 
@@ -834,21 +964,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * .google.protobuf.FieldMask update_mask = 3; */ 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_; } + @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); } @@ -858,30 +991,33 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) - private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest DEFAULT_INSTANCE; + private static final com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); + DEFAULT_INSTANCE = + new com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest(); } - public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstance() { + public static com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateProjectSettingsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new UpdateProjectSettingsRequest(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateProjectSettingsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new UpdateProjectSettingsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -893,9 +1029,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java index 8be1bfe3..4257f596 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateProjectSettingsRequestOrBuilder.java @@ -1,58 +1,91 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/settings.proto package com.google.devtools.artifactregistry.v1beta2; -public interface UpdateProjectSettingsRequestOrBuilder extends +public interface UpdateProjectSettingsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return Whether the projectSettings field is set. */ boolean hasProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; + * * @return The projectSettings. */ com.google.devtools.artifactregistry.v1beta2.ProjectSettings getProjectSettings(); /** + * + * *
    * The project settings.
    * 
* * .google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2; */ - com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder getProjectSettingsOrBuilder(); + com.google.devtools.artifactregistry.v1beta2.ProjectSettingsOrBuilder + getProjectSettingsOrBuilder(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
* * .google.protobuf.FieldMask update_mask = 3; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * Field mask to support partial updates.
    * 
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java index 8d812606..48b1127b 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/repository.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * The request to update a repository.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ -public final class UpdateRepositoryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateRepositoryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) UpdateRepositoryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateRepositoryRequest.newBuilder() to construct. private UpdateRepositoryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateRepositoryRequest() { - } + + private UpdateRepositoryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateRepositoryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateRepositoryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateRepositoryRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; - if (repository_ != null) { - subBuilder = repository_.toBuilder(); - } - repository_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Repository.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(repository_); - repository_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Repository.Builder subBuilder = null; + if (repository_ != null) { + subBuilder = repository_.toBuilder(); + } + repository_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Repository.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(repository_); + repository_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,39 @@ private UpdateRepositoryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } public static final int REPOSITORY_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Repository repository_; /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ @java.lang.Override @@ -127,18 +154,25 @@ public boolean hasRepository() { return repository_ != null; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -153,6 +187,8 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +196,7 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +204,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +213,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +221,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,8 +249,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 (repository_ != null) {
       output.writeMessage(1, getRepository());
     }
@@ -224,12 +266,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (repository_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getRepository());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getRepository());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +279,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.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) obj;
 
     if (hasRepository() != other.hasRepository()) return false;
     if (hasRepository()) {
-      if (!getRepository()
-          .equals(other.getRepository())) return false;
+      if (!getRepository().equals(other.getRepository())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,134 +320,145 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(byte[] data)
-      throws com.google.protobuf.InvalidProtocolBufferException {
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      parseDelimitedFrom(
+          java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+          throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * The request to update a repository.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.Builder.class); } - // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() + // Construct using + // com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +478,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.RepositoryProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.RepositoryProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateRepositoryRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() { - return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance(); + public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + getDefaultInstanceForType() { + return com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance(); } @java.lang.Override @@ -449,7 +501,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest(this); if (repositoryBuilder_ == null) { result.repository_ = repository_; } else { @@ -468,46 +521,51 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)other); + return mergeFrom( + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest other) { + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest + .getDefaultInstance()) return this; if (other.hasRepository()) { mergeRepository(other.getRepository()); } @@ -533,7 +591,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +605,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Repository repository_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> repositoryBuilder_; + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + repositoryBuilder_; /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ public boolean hasRepository() { return repositoryBuilder_ != null || repository_ != null; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ public com.google.devtools.artifactregistry.v1beta2.Repository getRepository() { if (repositoryBuilder_ == null) { - return repository_ == null ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } else { return repositoryBuilder_.getMessage(); } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -593,6 +666,8 @@ public Builder setRepository(com.google.devtools.artifactregistry.v1beta2.Reposi return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -611,6 +686,8 @@ public Builder setRepository( return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -621,7 +698,9 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo if (repositoryBuilder_ == null) { if (repository_ != null) { repository_ = - com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Repository.newBuilder(repository_) + .mergeFrom(value) + .buildPartial(); } else { repository_ = value; } @@ -633,6 +712,8 @@ public Builder mergeRepository(com.google.devtools.artifactregistry.v1beta2.Repo return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -651,6 +732,8 @@ public Builder clearRepository() { return this; } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -658,26 +741,32 @@ public Builder clearRepository() { * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ public com.google.devtools.artifactregistry.v1beta2.Repository.Builder getRepositoryBuilder() { - + onChanged(); return getRepositoryFieldBuilder().getBuilder(); } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ - public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder() { + public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder + getRepositoryOrBuilder() { if (repositoryBuilder_ != null) { return repositoryBuilder_.getMessageOrBuilder(); } else { - return repository_ == null ? - com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() : repository_; + return repository_ == null + ? com.google.devtools.artifactregistry.v1beta2.Repository.getDefaultInstance() + : repository_; } } /** + * + * *
      * The repository that replaces the resource on the server.
      * 
@@ -685,14 +774,17 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder> getRepositoryFieldBuilder() { if (repositoryBuilder_ == null) { - repositoryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Repository, com.google.devtools.artifactregistry.v1beta2.Repository.Builder, com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( - getRepository(), - getParentForChildren(), - isClean()); + repositoryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Repository, + com.google.devtools.artifactregistry.v1beta2.Repository.Builder, + com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder>( + getRepository(), getParentForChildren(), isClean()); repository_ = null; } return repositoryBuilder_; @@ -700,8 +792,13 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +806,15 @@ public com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepos
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +822,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +859,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +869,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +880,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +894,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +906,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +928,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +939,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +958,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +975,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,30 +1002,32 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest();
   }
 
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstance() {
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateRepositoryRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateRepositoryRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateRepositoryRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateRepositoryRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -917,9 +1039,8 @@ public com.google.protobuf.Parser getParserForType() {
   }
 
   @java.lang.Override
-  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest getDefaultInstanceForType() {
+  public com.google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest
+      getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
similarity index 75%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
index ce37b484..2414b1b3 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateRepositoryRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/repository.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateRepositoryRequestOrBuilder extends
+public interface UpdateRepositoryRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateRepositoryRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return Whether the repository field is set. */ boolean hasRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Repository repository = 1; + * * @return The repository. */ com.google.devtools.artifactregistry.v1beta2.Repository getRepository(); /** + * + * *
    * The repository that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateRepositoryRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.RepositoryOrBuilder getRepositoryOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateRepositoryRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
similarity index 70%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
index a3ff1b5c..b88ad1b8 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequest.java
@@ -1,39 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The request to create or update a tag.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ -public final class UpdateTagRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateTagRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) UpdateTagRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateTagRequest.newBuilder() to construct. private UpdateTagRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateTagRequest() { - } + + private UpdateTagRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateTagRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private UpdateTagRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,44 @@ private UpdateTagRequest( case 0: done = true; break; - case 10: { - com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; - if (tag_ != null) { - subBuilder = tag_.toBuilder(); - } - tag_ = input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(tag_); - tag_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.devtools.artifactregistry.v1beta2.Tag.Builder subBuilder = null; + if (tag_ != null) { + subBuilder = tag_.toBuilder(); + } + tag_ = + input.readMessage( + com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(tag_); + tag_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +113,39 @@ private UpdateTagRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } public static final int TAG_FIELD_NUMBER = 1; private com.google.devtools.artifactregistry.v1beta2.Tag tag_; /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ @java.lang.Override @@ -127,18 +153,25 @@ public boolean hasTag() { return tag_ != null; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -153,6 +186,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -160,6 +195,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ @java.lang.Override @@ -167,6 +203,8 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -174,6 +212,7 @@ public boolean hasUpdateMask() {
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ @java.lang.Override @@ -181,6 +220,8 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -195,6 +236,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -206,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 (tag_ != null) {
       output.writeMessage(1, getTag());
     }
@@ -224,12 +265,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (tag_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getTag());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getTag());
     }
     if (updateMask_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getUpdateMask());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -239,22 +278,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.devtools.artifactregistry.v1beta2.UpdateTagRequest)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
+    com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other =
+        (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) obj;
 
     if (hasTag() != other.hasTag()) return false;
     if (hasTag()) {
-      if (!getTag()
-          .equals(other.getTag())) return false;
+      if (!getTag().equals(other.getTag())) return false;
     }
     if (hasUpdateMask() != other.hasUpdateMask()) return false;
     if (hasUpdateMask()) {
-      if (!getUpdateMask()
-          .equals(other.getUpdateMask())) return false;
+      if (!getUpdateMask().equals(other.getUpdateMask())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -281,117 +319,127 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest 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.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-  public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
+
+  public static Builder newBuilder(
+      com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 to create or update a tag.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.UpdateTagRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.UpdateTagRequest) com.google.devtools.artifactregistry.v1beta2.UpdateTagRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.class, + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.newBuilder() @@ -399,16 +447,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +475,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.TagProto.internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.TagProto + .internal_static_google_devtools_artifactregistry_v1beta2_UpdateTagRequest_descriptor; } @java.lang.Override - public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() { + public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest + getDefaultInstanceForType() { return com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance(); } @@ -449,7 +497,8 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartial() { - com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); + com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest result = + new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest(this); if (tagBuilder_ == null) { result.tag_ = tag_; } else { @@ -468,38 +517,39 @@ public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) other); } else { super.mergeFrom(other); return this; @@ -507,7 +557,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest other) { - if (other == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) return this; + if (other + == com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest.getDefaultInstance()) + return this; if (other.hasTag()) { mergeTag(other.getTag()); } @@ -533,7 +585,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,34 +599,47 @@ public Builder mergeFrom( private com.google.devtools.artifactregistry.v1beta2.Tag tag_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> tagBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + tagBuilder_; /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ public boolean hasTag() { return tagBuilder_ != null || tag_ != null; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ public com.google.devtools.artifactregistry.v1beta2.Tag getTag() { if (tagBuilder_ == null) { - return tag_ == null ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } else { return tagBuilder_.getMessage(); } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -593,6 +660,8 @@ public Builder setTag(com.google.devtools.artifactregistry.v1beta2.Tag value) { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -611,6 +680,8 @@ public Builder setTag( return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -621,7 +692,9 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) if (tagBuilder_ == null) { if (tag_ != null) { tag_ = - com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_).mergeFrom(value).buildPartial(); + com.google.devtools.artifactregistry.v1beta2.Tag.newBuilder(tag_) + .mergeFrom(value) + .buildPartial(); } else { tag_ = value; } @@ -633,6 +706,8 @@ public Builder mergeTag(com.google.devtools.artifactregistry.v1beta2.Tag value) return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -651,6 +726,8 @@ public Builder clearTag() { return this; } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -658,11 +735,13 @@ public Builder clearTag() { * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getTagBuilder() { - + onChanged(); return getTagFieldBuilder().getBuilder(); } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -673,11 +752,14 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder if (tagBuilder_ != null) { return tagBuilder_.getMessageOrBuilder(); } else { - return tag_ == null ? - com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() : tag_; + return tag_ == null + ? com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance() + : tag_; } } /** + * + * *
      * The tag that replaces the resource on the server.
      * 
@@ -685,14 +767,17 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> getTagFieldBuilder() { if (tagBuilder_ == null) { - tagBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( - getTag(), - getParentForChildren(), - isClean()); + tagBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>( + getTag(), getParentForChildren(), isClean()); tag_ = null; } return tagBuilder_; @@ -700,8 +785,13 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder 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_; /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -709,12 +799,15 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ public boolean hasUpdateMask() { return updateMaskBuilder_ != null || updateMask_ != null; } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -722,16 +815,21 @@ public boolean hasUpdateMask() {
      * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @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(); } } /** + * + * *
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -754,6 +852,8 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -762,8 +862,7 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      *
      * .google.protobuf.FieldMask update_mask = 2;
      */
-    public Builder setUpdateMask(
-        com.google.protobuf.FieldMask.Builder builderForValue) {
+    public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue) {
       if (updateMaskBuilder_ == null) {
         updateMask_ = builderForValue.build();
         onChanged();
@@ -774,6 +873,8 @@ public Builder setUpdateMask(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -786,7 +887,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       if (updateMaskBuilder_ == null) {
         if (updateMask_ != null) {
           updateMask_ =
-            com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
+              com.google.protobuf.FieldMask.newBuilder(updateMask_).mergeFrom(value).buildPartial();
         } else {
           updateMask_ = value;
         }
@@ -798,6 +899,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -818,6 +921,8 @@ public Builder clearUpdateMask() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -827,11 +932,13 @@ public Builder clearUpdateMask() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
-      
+
       onChanged();
       return getUpdateMaskFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -844,11 +951,14 @@ 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_;
       }
     }
     /**
+     *
+     *
      * 
      * The update mask applies to the resource. For the `FieldMask` definition,
      * see
@@ -858,21 +968,24 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * .google.protobuf.FieldMask update_mask = 2;
      */
     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_;
     }
+
     @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);
     }
 
@@ -882,12 +995,13 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
-  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest DEFAULT_INSTANCE;
+  private static final com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest
+      DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest();
   }
@@ -896,16 +1010,16 @@ public static com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getD
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public UpdateTagRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      return new UpdateTagRequest(input, extensionRegistry);
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public UpdateTagRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          return new UpdateTagRequest(input, extensionRegistry);
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -920,6 +1034,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.devtools.artifactregistry.v1beta2.UpdateTagRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
index 697f83b5..8a19edf0 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/UpdateTagRequestOrBuilder.java
@@ -1,31 +1,55 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/tag.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
-public interface UpdateTagRequestOrBuilder extends
+public interface UpdateTagRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.UpdateTagRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return Whether the tag field is set. */ boolean hasTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
* * .google.devtools.artifactregistry.v1beta2.Tag tag = 1; + * * @return The tag. */ com.google.devtools.artifactregistry.v1beta2.Tag getTag(); /** + * + * *
    * The tag that replaces the resource on the server.
    * 
@@ -35,6 +59,8 @@ public interface UpdateTagRequestOrBuilder extends com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getTagOrBuilder(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -42,10 +68,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return Whether the updateMask field is set. */ boolean hasUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
@@ -53,10 +82,13 @@ public interface UpdateTagRequestOrBuilder extends
    * 
* * .google.protobuf.FieldMask update_mask = 2; + * * @return The updateMask. */ com.google.protobuf.FieldMask getUpdateMask(); /** + * + * *
    * The update mask applies to the resource. For the `FieldMask` definition,
    * see
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
similarity index 76%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
index 90c5af7f..414910c1 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/Version.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The body of a version resource. A version resource represents a
  * collection of components, such as files and other data. This may correspond
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
  */
-public final class Version extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Version extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.Version)
     VersionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Version.newBuilder() to construct.
   private Version(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Version() {
     name_ = "";
     description_ = "";
@@ -29,16 +47,15 @@ private Version() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Version();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Version(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -58,73 +75,84 @@ private Version(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 42: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
-            }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 50: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              description_ = s;
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 42:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          case 58: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              relatedTags_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 50:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-            relatedTags_.add(
-                input.readMessage(com.google.devtools.artifactregistry.v1beta2.Tag.parser(), extensionRegistry));
-            break;
-          }
-          case 66: {
-            com.google.protobuf.Struct.Builder subBuilder = null;
-            if (metadata_ != null) {
-              subBuilder = metadata_.toBuilder();
+          case 58:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                relatedTags_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              relatedTags_.add(
+                  input.readMessage(
+                      com.google.devtools.artifactregistry.v1beta2.Tag.parser(),
+                      extensionRegistry));
+              break;
             }
-            metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(metadata_);
-              metadata_ = subBuilder.buildPartial();
+          case 66:
+            {
+              com.google.protobuf.Struct.Builder subBuilder = null;
+              if (metadata_ != null) {
+                subBuilder = metadata_.toBuilder();
+              }
+              metadata_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(metadata_);
+                metadata_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -132,8 +160,7 @@ private Version(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         relatedTags_ = java.util.Collections.unmodifiableList(relatedTags_);
@@ -142,22 +169,27 @@ private Version(
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+    return com.google.devtools.artifactregistry.v1beta2.VersionProto
+        .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+            com.google.devtools.artifactregistry.v1beta2.Version.class,
+            com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -166,6 +198,7 @@ private Version(
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -174,14 +207,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; } } /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -190,16 +224,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 { @@ -210,11 +243,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 3; private volatile java.lang.Object description_; /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ @java.lang.Override @@ -223,29 +259,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -256,11 +292,14 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -268,11 +307,14 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ @java.lang.Override @@ -280,6 +322,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time when the version was created.
    * 
@@ -294,11 +338,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -306,11 +353,14 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -318,6 +368,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time when the version was last updated.
    * 
@@ -332,6 +384,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { public static final int RELATED_TAGS_FIELD_NUMBER = 7; private java.util.List relatedTags_; /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -344,6 +398,8 @@ public java.util.List getRelat
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -352,11 +408,13 @@ public java.util.List getRelat
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getRelatedTagsOrBuilderList() {
     return relatedTags_;
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -369,6 +427,8 @@ public int getRelatedTagsCount() {
     return relatedTags_.size();
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -381,6 +441,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
     return relatedTags_.get(index);
   }
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -397,6 +459,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
   public static final int METADATA_FIELD_NUMBER = 8;
   private com.google.protobuf.Struct metadata_;
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -405,6 +469,7 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ @java.lang.Override @@ -412,6 +477,8 @@ public boolean hasMetadata() { return metadata_ != null; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -420,6 +487,7 @@ public boolean hasMetadata() {
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ @java.lang.Override @@ -427,6 +495,8 @@ public com.google.protobuf.Struct getMetadata() { return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -442,6 +512,7 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -453,8 +524,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_);
     }
@@ -489,20 +559,16 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, description_);
     }
     if (createTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getCreateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getCreateTime());
     }
     if (updateTime_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, getUpdateTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime());
     }
     for (int i = 0; i < relatedTags_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, relatedTags_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, relatedTags_.get(i));
     }
     if (metadata_ != null) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getMetadata());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getMetadata());
     }
     size += unknownFields.getSerializedSize();
     memoizedSize = size;
@@ -512,33 +578,28 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.devtools.artifactregistry.v1beta2.Version)) {
       return super.equals(obj);
     }
-    com.google.devtools.artifactregistry.v1beta2.Version other = (com.google.devtools.artifactregistry.v1beta2.Version) obj;
+    com.google.devtools.artifactregistry.v1beta2.Version other =
+        (com.google.devtools.artifactregistry.v1beta2.Version) obj;
 
-    if (!getName()
-        .equals(other.getName())) return false;
-    if (!getDescription()
-        .equals(other.getDescription())) return false;
+    if (!getName().equals(other.getName())) return false;
+    if (!getDescription().equals(other.getDescription())) 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 (!getRelatedTagsList()
-        .equals(other.getRelatedTagsList())) return false;
+    if (!getRelatedTagsList().equals(other.getRelatedTagsList())) return false;
     if (hasMetadata() != other.hasMetadata()) return false;
     if (hasMetadata()) {
-      if (!getMetadata()
-          .equals(other.getMetadata())) return false;
+      if (!getMetadata().equals(other.getMetadata())) return false;
     }
     if (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -577,96 +638,103 @@ public int hashCode() {
   }
 
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+
+  public static com.google.devtools.artifactregistry.v1beta2.Version parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version 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.devtools.artifactregistry.v1beta2.Version parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.devtools.artifactregistry.v1beta2.Version parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.Version prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder 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 body of a version resource. A version resource represents a
    * collection of components, such as files and other data. This may correspond
@@ -675,21 +743,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.devtools.artifactregistry.v1beta2.Version}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.Version)
       com.google.devtools.artifactregistry.v1beta2.VersionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.devtools.artifactregistry.v1beta2.Version.class, com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
+              com.google.devtools.artifactregistry.v1beta2.Version.class,
+              com.google.devtools.artifactregistry.v1beta2.Version.Builder.class);
     }
 
     // Construct using com.google.devtools.artifactregistry.v1beta2.Version.newBuilder()
@@ -697,17 +767,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) {
         getRelatedTagsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -743,9 +813,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.devtools.artifactregistry.v1beta2.VersionProto.internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.devtools.artifactregistry.v1beta2.VersionProto
+          .internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor;
     }
 
     @java.lang.Override
@@ -764,7 +834,8 @@ public com.google.devtools.artifactregistry.v1beta2.Version build() {
 
     @java.lang.Override
     public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
-      com.google.devtools.artifactregistry.v1beta2.Version result = new com.google.devtools.artifactregistry.v1beta2.Version(this);
+      com.google.devtools.artifactregistry.v1beta2.Version result =
+          new com.google.devtools.artifactregistry.v1beta2.Version(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       result.description_ = description_;
@@ -800,38 +871,39 @@ public com.google.devtools.artifactregistry.v1beta2.Version buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.devtools.artifactregistry.v1beta2.Version) {
-        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version)other);
+        return mergeFrom((com.google.devtools.artifactregistry.v1beta2.Version) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -839,7 +911,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version other) {
-      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance()) return this;
+      if (other == com.google.devtools.artifactregistry.v1beta2.Version.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -872,9 +945,10 @@ public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.Version ot
             relatedTagsBuilder_ = null;
             relatedTags_ = other.relatedTags_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            relatedTagsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getRelatedTagsFieldBuilder() : null;
+            relatedTagsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getRelatedTagsFieldBuilder()
+                    : null;
           } else {
             relatedTagsBuilder_.addAllMessages(other.relatedTags_);
           }
@@ -902,7 +976,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.devtools.artifactregistry.v1beta2.Version) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -911,10 +986,13 @@ public Builder mergeFrom(
       }
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -923,13 +1001,13 @@ public Builder mergeFrom(
      * 
* * 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; @@ -938,6 +1016,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -946,15 +1026,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 { @@ -962,6 +1041,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -970,20 +1051,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -992,15 +1075,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the version, for example:
      * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -1009,16 +1095,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1026,18 +1112,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1046,20 +1134,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1067,54 +1156,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * Optional. Description of the version, as specified in its metadata.
      * 
* * string description = 3; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1122,34 +1218,47 @@ public Builder setDescriptionBytes( 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_; /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; + * * @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(); } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1170,14 +1279,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
* * .google.protobuf.Timestamp create_time = 5; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1188,6 +1298,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1198,7 +1310,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { if (createTime_ != null) { createTime_ = - com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(createTime_).mergeFrom(value).buildPartial(); } else { createTime_ = value; } @@ -1210,6 +1322,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1228,6 +1342,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time when the version was created.
      * 
@@ -1235,11 +1351,13 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 5; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was created.
      * 
@@ -1250,11 +1368,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_; } } /** + * + * *
      * The time when the version was created.
      * 
@@ -1262,14 +1383,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 5; */ 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_; @@ -1277,34 +1401,47 @@ 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_; /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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(); } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1325,14 +1462,15 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
* * .google.protobuf.Timestamp update_time = 6; */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1343,6 +1481,8 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1353,7 +1493,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1365,6 +1505,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1383,6 +1525,8 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1390,11 +1534,13 @@ public Builder clearUpdateTime() { * .google.protobuf.Timestamp update_time = 6; */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1405,11 +1551,14 @@ 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_; } } /** + * + * *
      * The time when the version was last updated.
      * 
@@ -1417,32 +1566,42 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * .google.protobuf.Timestamp update_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> 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 java.util.List relatedTags_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureRelatedTagsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - relatedTags_ = new java.util.ArrayList(relatedTags_); + relatedTags_ = + new java.util.ArrayList(relatedTags_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> relatedTagsBuilder_; + com.google.devtools.artifactregistry.v1beta2.Tag, + com.google.devtools.artifactregistry.v1beta2.Tag.Builder, + com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> + relatedTagsBuilder_; /** + * + * *
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1458,6 +1617,8 @@ public java.util.List getRelat
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1473,6 +1634,8 @@ public int getRelatedTagsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1488,6 +1651,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1510,6 +1675,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1529,6 +1696,8 @@ public Builder setRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1550,6 +1719,8 @@ public Builder addRelatedTags(com.google.devtools.artifactregistry.v1beta2.Tag v
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1572,6 +1743,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1591,6 +1764,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1610,6 +1785,8 @@ public Builder addRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1621,8 +1798,7 @@ public Builder addAllRelatedTags(
         java.lang.Iterable values) {
       if (relatedTagsBuilder_ == null) {
         ensureRelatedTagsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, relatedTags_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, relatedTags_);
         onChanged();
       } else {
         relatedTagsBuilder_.addAllMessages(values);
@@ -1630,6 +1806,8 @@ public Builder addAllRelatedTags(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1648,6 +1826,8 @@ public Builder clearRelatedTags() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1666,6 +1846,8 @@ public Builder removeRelatedTags(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1678,6 +1860,8 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
       return getRelatedTagsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1688,11 +1872,14 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder getRelatedTagsBu
     public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
         int index) {
       if (relatedTagsBuilder_ == null) {
-        return relatedTags_.get(index);  } else {
+        return relatedTags_.get(index);
+      } else {
         return relatedTagsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1700,8 +1887,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsOrBuilderList() {
+    public java.util.List
+        getRelatedTagsOrBuilderList() {
       if (relatedTagsBuilder_ != null) {
         return relatedTagsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1709,6 +1896,8 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
       }
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1717,10 +1906,12 @@ public com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsO
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder() {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1730,10 +1921,12 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      */
     public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBuilder(
         int index) {
-      return getRelatedTagsFieldBuilder().addBuilder(
-          index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
+      return getRelatedTagsFieldBuilder()
+          .addBuilder(index, com.google.devtools.artifactregistry.v1beta2.Tag.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Output only. A list of related tags. Will contain up to 100 tags that
      * reference this version.
@@ -1741,20 +1934,23 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      *
      * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
      */
-    public java.util.List 
-         getRelatedTagsBuilderList() {
+    public java.util.List
+        getRelatedTagsBuilderList() {
       return getRelatedTagsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder> 
+            com.google.devtools.artifactregistry.v1beta2.Tag,
+            com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+            com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>
         getRelatedTagsFieldBuilder() {
       if (relatedTagsBuilder_ == null) {
-        relatedTagsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.devtools.artifactregistry.v1beta2.Tag, com.google.devtools.artifactregistry.v1beta2.Tag.Builder, com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
-                relatedTags_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        relatedTagsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.devtools.artifactregistry.v1beta2.Tag,
+                com.google.devtools.artifactregistry.v1beta2.Tag.Builder,
+                com.google.devtools.artifactregistry.v1beta2.TagOrBuilder>(
+                relatedTags_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         relatedTags_ = null;
       }
       return relatedTagsBuilder_;
@@ -1762,8 +1958,13 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
 
     private com.google.protobuf.Struct metadata_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> metadataBuilder_;
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
+        metadataBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1771,13 +1972,17 @@ public com.google.devtools.artifactregistry.v1beta2.Tag.Builder addRelatedTagsBu
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the metadata field is set. */ public boolean hasMetadata() { return metadataBuilder_ != null || metadata_ != null; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1785,7 +1990,9 @@ public boolean hasMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The metadata. */ public com.google.protobuf.Struct getMetadata() { @@ -1796,6 +2003,8 @@ public com.google.protobuf.Struct getMetadata() { } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1803,7 +2012,8 @@ public com.google.protobuf.Struct getMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { @@ -1819,6 +2029,8 @@ public Builder setMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1826,10 +2038,10 @@ public Builder setMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setMetadata( - com.google.protobuf.Struct.Builder builderForValue) { + public Builder setMetadata(com.google.protobuf.Struct.Builder builderForValue) { if (metadataBuilder_ == null) { metadata_ = builderForValue.build(); onChanged(); @@ -1840,6 +2052,8 @@ public Builder setMetadata( return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1847,13 +2061,14 @@ public Builder setMetadata(
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeMetadata(com.google.protobuf.Struct value) { if (metadataBuilder_ == null) { if (metadata_ != null) { metadata_ = - com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); + com.google.protobuf.Struct.newBuilder(metadata_).mergeFrom(value).buildPartial(); } else { metadata_ = value; } @@ -1865,6 +2080,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1872,7 +2089,8 @@ public Builder mergeMetadata(com.google.protobuf.Struct value) {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearMetadata() { if (metadataBuilder_ == null) { @@ -1886,6 +2104,8 @@ public Builder clearMetadata() { return this; } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1893,14 +2113,17 @@ public Builder clearMetadata() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Struct.Builder getMetadataBuilder() { - + onChanged(); return getMetadataFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1908,17 +2131,19 @@ public com.google.protobuf.Struct.Builder getMetadataBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilder(); } else { - return metadata_ == null ? - com.google.protobuf.Struct.getDefaultInstance() : metadata_; + return metadata_ == null ? com.google.protobuf.Struct.getDefaultInstance() : metadata_; } } /** + * + * *
      * Output only. Repository-specific Metadata stored against this version.
      * The fields returned are defined by the underlying repository-specific
@@ -1926,24 +2151,28 @@ public com.google.protobuf.StructOrBuilder getMetadataOrBuilder() {
      * [DockerImage][google.devtools.artifactregistry.v1.DockerImage]
      * 
* - * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { - metadataBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>( - getMetadata(), - getParentForChildren(), - isClean()); + metadataBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder>( + getMetadata(), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } + @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); } @@ -1953,12 +2182,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.Version) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.Version) private static final com.google.devtools.artifactregistry.v1beta2.Version DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.Version(); } @@ -1967,16 +2196,16 @@ public static com.google.devtools.artifactregistry.v1beta2.Version getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Version parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new Version(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Version parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new Version(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1991,6 +2220,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.Version getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java similarity index 84% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java index 1fca4549..505534fe 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/version.proto package com.google.devtools.artifactregistry.v1beta2; -public interface VersionOrBuilder extends +public interface VersionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.Version) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -16,10 +34,13 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the version, for example:
    * "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/art1".
@@ -28,50 +49,63 @@ public interface VersionOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * Optional. Description of the version, as specified in its metadata.
    * 
* * string description = 3; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
* * .google.protobuf.Timestamp create_time = 5; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time when the version was created.
    * 
@@ -81,24 +115,32 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time when the version was last updated.
    * 
@@ -108,6 +150,8 @@ public interface VersionOrBuilder extends com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -115,9 +159,10 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
-      getRelatedTagsList();
+  java.util.List getRelatedTagsList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -127,6 +172,8 @@ public interface VersionOrBuilder extends
    */
   com.google.devtools.artifactregistry.v1beta2.Tag getRelatedTags(int index);
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -136,6 +183,8 @@ public interface VersionOrBuilder extends
    */
   int getRelatedTagsCount();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -143,9 +192,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  java.util.List 
+  java.util.List
       getRelatedTagsOrBuilderList();
   /**
+   *
+   *
    * 
    * Output only. A list of related tags. Will contain up to 100 tags that
    * reference this version.
@@ -153,10 +204,11 @@ public interface VersionOrBuilder extends
    *
    * repeated .google.devtools.artifactregistry.v1beta2.Tag related_tags = 7;
    */
-  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(
-      int index);
+  com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -165,10 +217,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the metadata field is set. */ boolean hasMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
@@ -177,10 +232,13 @@ com.google.devtools.artifactregistry.v1beta2.TagOrBuilder getRelatedTagsOrBuilde
    * 
* * .google.protobuf.Struct metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The metadata. */ com.google.protobuf.Struct getMetadata(); /** + * + * *
    * Output only. Repository-specific Metadata stored against this version.
    * The fields returned are defined by the underlying repository-specific
diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
new file mode 100644
index 00000000..5f9a1a41
--- /dev/null
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionProto.java
@@ -0,0 +1,164 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/devtools/artifactregistry/v1beta2/version.proto
+
+package com.google.devtools.artifactregistry.v1beta2;
+
+public final class VersionProto {
+  private VersionProto() {}
+
+  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_devtools_artifactregistry_v1beta2_Version_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable;
+
+  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+    return descriptor;
+  }
+
+  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
+  static {
+    java.lang.String[] descriptorData = {
+      "\n6google/devtools/artifactregistry/v1bet"
+          + "a2/version.proto\022(google.devtools.artifa"
+          + "ctregistry.v1beta2\032\034google/api/annotatio"
+          + "ns.proto\032\037google/api/field_behavior.prot"
+          + "o\032\031google/api/resource.proto\0322google/dev"
+          + "tools/artifactregistry/v1beta2/tag.proto"
+          + "\032\034google/protobuf/struct.proto\032\037google/p"
+          + "rotobuf/timestamp.proto\"\234\003\n\007Version\022\014\n\004n"
+          + "ame\030\001 \001(\t\022\023\n\013description\030\003 \001(\t\022/\n\013create"
+          + "_time\030\005 \001(\0132\032.google.protobuf.Timestamp\022"
+          + "/\n\013update_time\030\006 \001(\0132\032.google.protobuf.T"
+          + "imestamp\022C\n\014related_tags\030\007 \003(\0132-.google."
+          + "devtools.artifactregistry.v1beta2.Tag\022.\n"
+          + "\010metadata\030\010 \001(\0132\027.google.protobuf.Struct"
+          + "B\003\340A\003:\226\001\352A\222\001\n\'artifactregistry.googleapi"
+          + "s.com/Version\022gprojects/{project}/locati"
+          + "ons/{location}/repositories/{repository}"
+          + "/packages/{package}/versions/{version}\"\250"
+          + "\001\n\023ListVersionsRequest\022\016\n\006parent\030\001 \001(\t\022\021"
+          + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022C\n"
+          + "\004view\030\004 \001(\01625.google.devtools.artifactre"
+          + "gistry.v1beta2.VersionView\022\025\n\010order_by\030\005"
+          + " \001(\tB\003\340A\001\"t\n\024ListVersionsResponse\022C\n\010ver"
+          + "sions\030\001 \003(\01321.google.devtools.artifactre"
+          + "gistry.v1beta2.Version\022\027\n\017next_page_toke"
+          + "n\030\002 \001(\t\"f\n\021GetVersionRequest\022\014\n\004name\030\001 \001"
+          + "(\t\022C\n\004view\030\002 \001(\01625.google.devtools.artif"
+          + "actregistry.v1beta2.VersionView\"3\n\024Delet"
+          + "eVersionRequest\022\014\n\004name\030\001 \001(\t\022\r\n\005force\030\002"
+          + " \001(\010*@\n\013VersionView\022\034\n\030VERSION_VIEW_UNSP"
+          + "ECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\223\002\n,com.g"
+          + "oogle.devtools.artifactregistry.v1beta2B"
+          + "\014VersionProtoP\001ZXgoogle.golang.org/genpr"
+          + "oto/googleapis/devtools/artifactregistry"
+          + "/v1beta2;artifactregistry\252\002%Google.Cloud"
+          + ".ArtifactRegistry.V1Beta2\312\002%Google\\Cloud"
+          + "\\ArtifactRegistry\\V1beta2\352\002(Google::Clou"
+          + "d::ArtifactRegistry::V1beta2b\006proto3"
+    };
+    descriptor =
+        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+            descriptorData,
+            new com.google.protobuf.Descriptors.FileDescriptor[] {
+              com.google.api.AnnotationsProto.getDescriptor(),
+              com.google.api.FieldBehaviorProto.getDescriptor(),
+              com.google.api.ResourceProto.getDescriptor(),
+              com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor(),
+              com.google.protobuf.StructProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_devtools_artifactregistry_v1beta2_Version_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_Version_descriptor,
+            new java.lang.String[] {
+              "Name", "Description", "CreateTime", "UpdateTime", "RelatedTags", "Metadata",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsRequest_descriptor,
+            new java.lang.String[] {
+              "Parent", "PageSize", "PageToken", "View", "OrderBy",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_ListVersionsResponse_descriptor,
+            new java.lang.String[] {
+              "Versions", "NextPageToken",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_GetVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "View",
+            });
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_devtools_artifactregistry_v1beta2_DeleteVersionRequest_descriptor,
+            new java.lang.String[] {
+              "Name", "Force",
+            });
+    com.google.protobuf.ExtensionRegistry registry =
+        com.google.protobuf.ExtensionRegistry.newInstance();
+    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
+    registry.add(com.google.api.ResourceProto.resource);
+    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
+        descriptor, registry);
+    com.google.api.AnnotationsProto.getDescriptor();
+    com.google.api.FieldBehaviorProto.getDescriptor();
+    com.google.api.ResourceProto.getDescriptor();
+    com.google.devtools.artifactregistry.v1beta2.TagProto.getDescriptor();
+    com.google.protobuf.StructProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
similarity index 67%
rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
index 92d55120..0621d8af 100644
--- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
+++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/VersionView.java
@@ -1,9 +1,26 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/devtools/artifactregistry/v1beta2/version.proto
 
 package com.google.devtools.artifactregistry.v1beta2;
 
 /**
+ *
+ *
  * 
  * The view, which determines what version information is returned in a
  * response.
@@ -11,9 +28,10 @@
  *
  * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.VersionView}
  */
-public enum VersionView
-    implements com.google.protobuf.ProtocolMessageEnum {
+public enum VersionView implements com.google.protobuf.ProtocolMessageEnum {
   /**
+   *
+   *
    * 
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -23,6 +41,8 @@ public enum VersionView
    */
   VERSION_VIEW_UNSPECIFIED(0),
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -31,6 +51,8 @@ public enum VersionView */ BASIC(1), /** + * + * *
    * Include everything.
    * 
@@ -42,6 +64,8 @@ public enum VersionView ; /** + * + * *
    * The default / unset value.
    * The API will default to the BASIC view.
@@ -51,6 +75,8 @@ public enum VersionView
    */
   public static final int VERSION_VIEW_UNSPECIFIED_VALUE = 0;
   /**
+   *
+   *
    * 
    * Includes basic information about the version, but not any related tags.
    * 
@@ -59,6 +85,8 @@ public enum VersionView */ public static final int BASIC_VALUE = 1; /** + * + * *
    * Include everything.
    * 
@@ -67,7 +95,6 @@ public enum VersionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -92,49 +119,51 @@ public static VersionView valueOf(int value) { */ public static VersionView forNumber(int value) { switch (value) { - case 0: return VERSION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return VERSION_VIEW_UNSPECIFIED; + case 1: + return BASIC; + case 2: + return FULL; + 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< - VersionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public VersionView findValueByNumber(int number) { - return VersionView.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 VersionView findValueByNumber(int number) { + return VersionView.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.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.VersionProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final VersionView[] VALUES = values(); - public static VersionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static VersionView 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; @@ -150,4 +179,3 @@ private VersionView(int value) { // @@protoc_insertion_point(enum_scope:google.devtools.artifactregistry.v1beta2.VersionView) } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java similarity index 69% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java index c0059766..6111a567 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifact.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; /** + * + * *
  * A detailed representation of a Yum artifact.
  * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ -public final class YumArtifact extends - com.google.protobuf.GeneratedMessageV3 implements +public final class YumArtifact extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) YumArtifactOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use YumArtifact.newBuilder() to construct. private YumArtifact(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private YumArtifact() { name_ = ""; packageName_ = ""; @@ -28,16 +46,15 @@ private YumArtifact() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new YumArtifact(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private YumArtifact( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,41 @@ private YumArtifact( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + name_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - packageName_ = s; - break; - } - case 24: { - int rawValue = input.readEnum(); + packageName_ = s; + break; + } + case 24: + { + int rawValue = input.readEnum(); - packageType_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + packageType_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - architecture_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + architecture_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,36 +115,41 @@ private YumArtifact( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } /** + * + * *
    * Package type is either binary or source.
    * 
* * Protobuf enum {@code google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType} */ - public enum PackageType - implements com.google.protobuf.ProtocolMessageEnum { + public enum PackageType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Package type is not specified.
      * 
@@ -132,6 +158,8 @@ public enum PackageType */ PACKAGE_TYPE_UNSPECIFIED(0), /** + * + * *
      * Binary package (.rpm).
      * 
@@ -140,6 +168,8 @@ public enum PackageType */ BINARY(1), /** + * + * *
      * Source package (.srpm).
      * 
@@ -151,6 +181,8 @@ public enum PackageType ; /** + * + * *
      * Package type is not specified.
      * 
@@ -159,6 +191,8 @@ public enum PackageType */ public static final int PACKAGE_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Binary package (.rpm).
      * 
@@ -167,6 +201,8 @@ public enum PackageType */ public static final int BINARY_VALUE = 1; /** + * + * *
      * Source package (.srpm).
      * 
@@ -175,7 +211,6 @@ public enum PackageType */ public static final int SOURCE_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -200,49 +235,51 @@ public static PackageType valueOf(int value) { */ public static PackageType forNumber(int value) { switch (value) { - case 0: return PACKAGE_TYPE_UNSPECIFIED; - case 1: return BINARY; - case 2: return SOURCE; - default: return null; + case 0: + return PACKAGE_TYPE_UNSPECIFIED; + case 1: + return BINARY; + case 2: + return SOURCE; + 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< - PackageType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public PackageType findValueByNumber(int number) { - return PackageType.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 PackageType findValueByNumber(int number) { + return PackageType.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.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDescriptor() + .getEnumTypes() + .get(0); } private static final PackageType[] VALUES = values(); - public static PackageType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static PackageType 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; @@ -262,11 +299,14 @@ private PackageType(int value) { public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -275,29 +315,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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 { @@ -308,11 +348,14 @@ public java.lang.String getName() { public static final int PACKAGE_NAME_FIELD_NUMBER = 2; private volatile java.lang.Object packageName_; /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ @java.lang.Override @@ -321,29 +364,29 @@ public java.lang.String getPackageName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; } } /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ @java.lang.Override - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -354,38 +397,56 @@ public java.lang.String getPackageName() { public static final int PACKAGE_TYPE_FIELD_NUMBER = 3; private int packageType_; /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ - @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { + @java.lang.Override + public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } public static final int ARCHITECTURE_FIELD_NUMBER = 4; private volatile java.lang.Object architecture_; /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ @java.lang.Override @@ -394,29 +455,29 @@ public java.lang.String getArchitecture() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; } } /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ @java.lang.Override - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -425,6 +486,7 @@ public java.lang.String getArchitecture() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -436,15 +498,17 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { @@ -465,9 +529,11 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(packageName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, packageName_); } - if (packageType_ != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.PACKAGE_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, packageType_); + if (packageType_ + != com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType + .PACKAGE_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, packageType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(architecture_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, architecture_); @@ -480,20 +546,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.devtools.artifactregistry.v1beta2.YumArtifact)) { return super.equals(obj); } - com.google.devtools.artifactregistry.v1beta2.YumArtifact other = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; + com.google.devtools.artifactregistry.v1beta2.YumArtifact other = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getPackageName() - .equals(other.getPackageName())) return false; + if (!getName().equals(other.getName())) return false; + if (!getPackageName().equals(other.getPackageName())) return false; if (packageType_ != other.packageType_) return false; - if (!getArchitecture() - .equals(other.getArchitecture())) return false; + if (!getArchitecture().equals(other.getArchitecture())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -519,117 +583,127 @@ public int hashCode() { } public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact 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.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.devtools.artifactregistry.v1beta2.YumArtifact parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { + + public static Builder newBuilder( + com.google.devtools.artifactregistry.v1beta2.YumArtifact prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder 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 detailed representation of a Yum artifact.
    * 
* * Protobuf type {@code google.devtools.artifactregistry.v1beta2.YumArtifact} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.devtools.artifactregistry.v1beta2.YumArtifactOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); + com.google.devtools.artifactregistry.v1beta2.YumArtifact.class, + com.google.devtools.artifactregistry.v1beta2.YumArtifact.Builder.class); } // Construct using com.google.devtools.artifactregistry.v1beta2.YumArtifact.newBuilder() @@ -637,16 +711,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -662,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto.internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.devtools.artifactregistry.v1beta2.YumArtifactProto + .internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; } @java.lang.Override @@ -683,7 +756,8 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact build() { @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { - com.google.devtools.artifactregistry.v1beta2.YumArtifact result = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); + com.google.devtools.artifactregistry.v1beta2.YumArtifact result = + new com.google.devtools.artifactregistry.v1beta2.YumArtifact(this); result.name_ = name_; result.packageName_ = packageName_; result.packageType_ = packageType_; @@ -696,38 +770,39 @@ public com.google.devtools.artifactregistry.v1beta2.YumArtifact buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.devtools.artifactregistry.v1beta2.YumArtifact) { - return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact)other); + return mergeFrom((com.google.devtools.artifactregistry.v1beta2.YumArtifact) other); } else { super.mergeFrom(other); return this; @@ -735,7 +810,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.devtools.artifactregistry.v1beta2.YumArtifact other) { - if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) return this; + if (other == com.google.devtools.artifactregistry.v1beta2.YumArtifact.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -770,7 +846,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); + parsedMessage = + (com.google.devtools.artifactregistry.v1beta2.YumArtifact) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -782,18 +859,20 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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; @@ -802,20 +881,21 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * 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 { @@ -823,54 +903,61 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The Artifact Registry resource name of the artifact.
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -878,18 +965,20 @@ public Builder setNameBytes( private java.lang.Object packageName_ = ""; /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ public java.lang.String getPackageName() { java.lang.Object ref = packageName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); packageName_ = s; return s; @@ -898,20 +987,21 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - public com.google.protobuf.ByteString - getPackageNameBytes() { + public com.google.protobuf.ByteString getPackageNameBytes() { java.lang.Object ref = packageName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); packageName_ = b; return b; } else { @@ -919,54 +1009,61 @@ public java.lang.String getPackageName() { } } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The packageName to set. * @return This builder for chaining. */ - public Builder setPackageName( - java.lang.String value) { + public Builder setPackageName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + packageName_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPackageName() { - + packageName_ = getDefaultInstance().getPackageName(); onChanged(); return this; } /** + * + * *
      * Output only. The yum package name of the artifact.
      * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for packageName to set. * @return This builder for chaining. */ - public Builder setPackageNameBytes( - com.google.protobuf.ByteString value) { + public Builder setPackageNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + packageName_ = value; onChanged(); return this; @@ -974,73 +1071,104 @@ public Builder setPackageNameBytes( private int packageType_ = 0; /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ - @java.lang.Override public int getPackageTypeValue() { + @java.lang.Override + public int getPackageTypeValue() { return packageType_; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for packageType to set. * @return This builder for chaining. */ public Builder setPackageTypeValue(int value) { - + packageType_ = value; onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ @java.lang.Override public com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType() { @SuppressWarnings("deprecation") - com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf(packageType_); - return result == null ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED : result; + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType result = + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.valueOf( + packageType_); + return result == null + ? com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The packageType to set. * @return This builder for chaining. */ - public Builder setPackageType(com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { + public Builder setPackageType( + com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType value) { if (value == null) { throw new NullPointerException(); } - + packageType_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. An artifact is a binary or source package.
      * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearPackageType() { - + packageType_ = 0; onChanged(); return this; @@ -1048,18 +1176,20 @@ public Builder clearPackageType() { private java.lang.Object architecture_ = ""; /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ public java.lang.String getArchitecture() { java.lang.Object ref = architecture_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); architecture_ = s; return s; @@ -1068,20 +1198,21 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - public com.google.protobuf.ByteString - getArchitectureBytes() { + public com.google.protobuf.ByteString getArchitectureBytes() { java.lang.Object ref = architecture_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); architecture_ = b; return b; } else { @@ -1089,61 +1220,68 @@ public java.lang.String getArchitecture() { } } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The architecture to set. * @return This builder for chaining. */ - public Builder setArchitecture( - java.lang.String value) { + public Builder setArchitecture(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + architecture_ = value; onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearArchitecture() { - + architecture_ = getDefaultInstance().getArchitecture(); onChanged(); return this; } /** + * + * *
      * Output only. Operating system architecture of the artifact.
      * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for architecture to set. * @return This builder for chaining. */ - public Builder setArchitectureBytes( - com.google.protobuf.ByteString value) { + public Builder setArchitectureBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + architecture_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1153,12 +1291,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) } // @@protoc_insertion_point(class_scope:google.devtools.artifactregistry.v1beta2.YumArtifact) private static final com.google.devtools.artifactregistry.v1beta2.YumArtifact DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.devtools.artifactregistry.v1beta2.YumArtifact(); } @@ -1167,16 +1305,16 @@ public static com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public YumArtifact parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return new YumArtifact(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public YumArtifact parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new YumArtifact(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1191,6 +1329,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.devtools.artifactregistry.v1beta2.YumArtifact getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java similarity index 63% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java rename to proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java index c61239a2..0be7b093 100644 --- a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactOrBuilder.java @@ -1,88 +1,129 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto package com.google.devtools.artifactregistry.v1beta2; -public interface YumArtifactOrBuilder extends +public interface YumArtifactOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.devtools.artifactregistry.v1beta2.YumArtifact) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The Artifact Registry resource name of the artifact.
    * 
* * 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. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The packageName. */ java.lang.String getPackageName(); /** + * + * *
    * Output only. The yum package name of the artifact.
    * 
* * string package_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for packageName. */ - com.google.protobuf.ByteString - getPackageNameBytes(); + com.google.protobuf.ByteString getPackageNameBytes(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for packageType. */ int getPackageTypeValue(); /** + * + * *
    * Output only. An artifact is a binary or source package.
    * 
* - * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType package_type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The packageType. */ com.google.devtools.artifactregistry.v1beta2.YumArtifact.PackageType getPackageType(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The architecture. */ java.lang.String getArchitecture(); /** + * + * *
    * Output only. Operating system architecture of the artifact.
    * 
* * string architecture = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for architecture. */ - com.google.protobuf.ByteString - getArchitectureBytes(); + com.google.protobuf.ByteString getArchitectureBytes(); } diff --git a/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java new file mode 100644 index 00000000..5efcc8f3 --- /dev/null +++ b/proto-google-cloud-artifact-registry-v1beta2/src/main/java/com/google/devtools/artifactregistry/v1beta2/YumArtifactProto.java @@ -0,0 +1,173 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/devtools/artifactregistry/v1beta2/yum_artifact.proto + +package com.google.devtools.artifactregistry.v1beta2; + +public final class YumArtifactProto { + private YumArtifactProto() {} + + 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_devtools_artifactregistry_v1beta2_YumArtifact_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_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/devtools/artifactregistry/v1bet" + + "a2/yum_artifact.proto\022(google.devtools.a" + + "rtifactregistry.v1beta2\032\034google/api/anno" + + "tations.proto\032\037google/api/field_behavior" + + ".proto\032\031google/api/resource.proto\032#googl" + + "e/longrunning/operations.proto\032\027google/r" + + "pc/status.proto\"\214\003\n\013YumArtifact\022\021\n\004name\030" + + "\001 \001(\tB\003\340A\003\022\031\n\014package_name\030\002 \001(\tB\003\340A\003\022\\\n" + + "\014package_type\030\003 \001(\0162A.google.devtools.ar" + + "tifactregistry.v1beta2.YumArtifact.Packa" + + "geTypeB\003\340A\003\022\031\n\014architecture\030\004 \001(\tB\003\340A\003\"C" + + "\n\013PackageType\022\034\n\030PACKAGE_TYPE_UNSPECIFIE" + + "D\020\000\022\n\n\006BINARY\020\001\022\n\n\006SOURCE\020\002:\220\001\352A\214\001\n+arti" + + "factregistry.googleapis.com/YumArtifact\022" + + "]projects/{project}/locations/{location}" + + "/repositories/{repository}/yumArtifacts/" + + "{yum_artifact}\"B\n\033ImportYumArtifactsGcsS" + + "ource\022\014\n\004uris\030\001 \003(\t\022\025\n\ruse_wildcards\030\002 \001" + + "(\010\"\222\001\n\031ImportYumArtifactsRequest\022[\n\ngcs_" + + "source\030\002 \001(\0132E.google.devtools.artifactr" + + "egistry.v1beta2.ImportYumArtifactsGcsSou" + + "rceH\000\022\016\n\006parent\030\001 \001(\tB\010\n\006source\"\247\001\n\033Impo" + + "rtYumArtifactsErrorInfo\022[\n\ngcs_source\030\001 " + + "\001(\0132E.google.devtools.artifactregistry.v" + + "1beta2.ImportYumArtifactsGcsSourceH\000\022!\n\005" + + "error\030\002 \001(\0132\022.google.rpc.StatusB\010\n\006sourc" + + "e\"\301\001\n\032ImportYumArtifactsResponse\022L\n\ryum_" + + "artifacts\030\001 \003(\01325.google.devtools.artifa" + + "ctregistry.v1beta2.YumArtifact\022U\n\006errors" + + "\030\002 \003(\0132E.google.devtools.artifactregistr" + + "y.v1beta2.ImportYumArtifactsErrorInfo\"\034\n" + + "\032ImportYumArtifactsMetadataB\227\002\n,com.goog" + + "le.devtools.artifactregistry.v1beta2B\020Yu" + + "mArtifactProtoP\001ZXgoogle.golang.org/genp" + + "roto/googleapis/devtools/artifactregistr" + + "y/v1beta2;artifactregistry\252\002%Google.Clou" + + "d.ArtifactRegistry.V1Beta2\312\002%Google\\Clou" + + "d\\ArtifactRegistry\\V1beta2\352\002(Google::Clo" + + "ud::ArtifactRegistry::V1beta2b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.rpc.StatusProto.getDescriptor(), + }); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_YumArtifact_descriptor, + new java.lang.String[] { + "Name", "PackageName", "PackageType", "Architecture", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsGcsSource_descriptor, + new java.lang.String[] { + "Uris", "UseWildcards", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsRequest_descriptor, + new java.lang.String[] { + "GcsSource", "Parent", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsErrorInfo_descriptor, + new java.lang.String[] { + "GcsSource", "Error", "Source", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsResponse_descriptor, + new java.lang.String[] { + "YumArtifacts", "Errors", + }); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_devtools_artifactregistry_v1beta2_ImportYumArtifactsMetadata_descriptor, + new java.lang.String[] {}); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.rpc.StatusProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/apt_artifact.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/file.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/package.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/repository.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/service.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/settings.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/tag.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/version.proto diff --git a/owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto b/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto similarity index 100% rename from owl-bot-staging/v1beta2/proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto rename to proto-google-cloud-artifact-registry-v1beta2/src/main/proto/google/devtools/artifactregistry/v1beta2/yum_artifact.proto